Hi,
I have a multi-value list box where the end-user can select one/many items. When my form is saved, I can load, or view the saved data on all other fields except for the multi-value ones.
For example if I select Option A and Option B in a list of 5 choices, on save (via SubmitForm) these are saved to the SharePoint list but on the screen, they are cleared down/reset.
I have tried to get around this by using the below (in the Items property of my ListBox), however all this does is return what was selected rather than all items and selecting the ones that are saved. It feels like there's a 'SelectedItems' property or similar that I'm missing here?
If(IsBlank(record), Choices(data.RiskFactors), record.RiskFactors)
What I want to happen on save is that I see all of the items but the ones I selected pre-save to still be highlighted... Am I missing something obvious here?
I'll keep plugging away, but any help would be greatly appreciated.
Solved! Go to Solution.
Hi @BMarsh4 ,
Combobox: DefaultSelectedItems: Parent.Default
Items: Choices(data.RiskFactors)
DataCard: Update: ComboBox1.SelectedItems
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Hi @BMarsh4 ,
Combobox: DefaultSelectedItems: Parent.Default
Items: Choices(data.RiskFactors)
DataCard: Update: ComboBox1.SelectedItems
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Thanks @yashag2255!
I had noticed that I had a combobox working as I'd hoped shortly after posting so have been experimenting with that and does the trick, just as you've said below.
Thanks for taking the time to look.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
195 | |
45 | |
45 | |
39 | |
35 |
User | Count |
---|---|
269 | |
83 | |
81 | |
73 | |
70 |