All,
I have been struggling to code the following scenario. I consider myself a newbie and my knowledge of powerapps is very limited. So, any hint is appreciated.
I followed the following posts - which helped me, however requirements chagned.
https://powerusers.microsoft.com/t5/General-Discussion/How-to-get-value-of-selected-checkbox/m-p/246723/highlight/false#M72413
https://powerusers.microsoft.com/t5/General-Discussion/Checkbox-or-Toggle-edited-by-and-when/td-p/156676
I have a galllery that is coneccted to a SP table with 2 columns
Taks Name, Task Ticket.
1) I need to findout which toggles are true representing each task and Task Ticket (if i am using ForAll). How can I identify those toggled items (Toggles dont seem to have "name" property associated with them) and couldn't identify them.
2) how can I concenate them to make a single long string Outside of the gallery that can be displayed in a text box. I tried to use Collection in case, one of the toggles are unselected, however my collection keeps increasing. Couldn't get remove working.
Any hint / example is greatly appreciated.
thanks
on OnSelect of the toggle within the gallery
If( Toggle4.Value = true,
Collect(CheckCollection,
{
TaskName: ThisItem.Name
}
))I also have
ForAll(
Filter(Gallery1.AllItems, Toggle4.Value = true),
Collect(CheckCollection,
'Task Name'
)
);