As per title, I have a Power App form where one of the data-cards is bound to a SharePoint CHOICE field. However, this is a multi-select field where more than one item can be chosen
From this community, I 've managed to set the default value for a single choice (https://powerusers.microsoft.com/t5/Using-PowerApps/Set-a-default-value-for-a-Sharepoint-Choice-fiel...)
{'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference", Id:0, Value:"ChoiceA"}
...but I want to be able to set MULTIPLE choices from the start
In other words... all the values are ON and then the user turns OFF the ones they don't want.
TYIA
Solved! Go to Solution.
You could do it several ways - if there is some criteria you can use to choose them, then you could use a Filter
Filter(Choices(yourList.yourColumn), Value=yourCriteria)
Or, you could set them hard-coded (ex.):
["choice1", "choice2", "choice4"]
In this case you would be looking at the DefaultSelectedItems property of your ComboBox control.
If you set that property to:
Choices(YourList.YourColumn)
That will give you all the choices for that column selected by default.
I hope that helps you out.
Thanks @RandyHayes
What about default selection of say 4 out 6 options
@RandyHayes wrote:
In this case you would be looking at the DefaultSelectedItems property of your ComboBox control.
If you set that property to:
Choices(YourList.YourColumn)
That will give you all the choices for that column selected by default.
I hope that helps you out.
You could do it several ways - if there is some criteria you can use to choose them, then you could use a Filter
Filter(Choices(yourList.yourColumn), Value=yourCriteria)
Or, you could set them hard-coded (ex.):
["choice1", "choice2", "choice4"]
@RandyHayes wrote:
You could do it several ways - if there is some criteria you can use to choose them, then you could use a Filter
Filter(Choices(yourList.yourColumn), Value=yourCriteria)
Or, you could set them hard-coded (ex.):
["choice1", "choice2", "choice4"]
So easy when you know how ... Thanks.
User | Count |
---|---|
183 | |
105 | |
89 | |
44 | |
44 |
User | Count |
---|---|
226 | |
107 | |
106 | |
68 | |
67 |