Hello,
I am looking to create a basic queue using a PowerApp. The queue will have a list of 30 names and each name will be allocated a job (if they're on shift) so...... Name1 is in Queue position 1 and when they are allocated a job they move to queue position 30 and all of the others move up one queue position.
If Name4 is in Queue position 4 and he is allocated a job (Names 1 to 3 are not on shift) I need Name4 to move to queue position 30, all of the others move up 1 queue position apart from Names 1 to 3 as they need to remain where they are due to not being on shift.
Does anyone have any idea how I can do this as my PowerApp design skills are not the best
Thanks in advance
Solved! Go to Solution.
Hi @Station1901 ,
The easiest way is to create a same gallery.They have the same line spacing and number of lines.
Then you could use scrollscreen to make the height of the card large enough.
Notes: The gallery should be high enough that it has no scrollbar and the card's height should > gallery's height.
Best Regards,
Wearsky
Hi @Station1901 ,
I did a sample for you.
ClearCollect(Col,{Name:"Name1"},{Name:"Name2"},{Name:"Name3"},{Name:"Name4"},{Name:"Name5"},{Name:"Name6"})
Set(var,ThisItem.Name);Remove(Col,LookUp(Col,Name=var));Collect(Col,{Name:var})
Result:
Best Regards,
Wearsky
Thanks for this it works perfectly but i'd like if possible for it to show the 'queue' position. Can this be done ?
Hi @Station1901 ,
The easiest way is to create a same gallery.They have the same line spacing and number of lines.
Then you could use scrollscreen to make the height of the card large enough.
Notes: The gallery should be high enough that it has no scrollbar and the card's height should > gallery's height.
Best Regards,
Wearsky
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
178 | |
52 | |
50 | |
36 | |
34 |
User | Count |
---|---|
270 | |
91 | |
82 | |
76 | |
75 |