Hallo,
i have a form (new form) with a field Person or Group.
I want it to allow multiple values so i made the changes in SP and Powerapps settings.
I am not sure on what the Items, DefaultSelectedItems and Update of the datacard must be in order to submit the form successfully in SharePoint.
I noticed in the Items Property of the combo box i am getting a Table. (Choices([@Contracts].ContractCoordinator))
DatacardValue.SelectedItems in the update property is giving me an error (Expected Record Value).
Same in the Edit mode of the form
Any ideas?
Solved! Go to Solution.
Hi@marial16,
Based on the issue that you mentioned, do you want to make the ComboBox allow multiple values?
Could you please share a bit more about your scenario, how do you set the DefaultSelectedItems of the ComboBox?
Please provide the above details so that we can figure it out.
You can try to set the Update property of the Data Card as below:
{Value:DataCardValue1.SelectedItems}
Best Regards,
Qi
hi there
with sharepoint list being a person or group column and allowing multiple selections, when the combobox in a form will by default allow for multiple values.
Here is a form with datasource being the list in sharepoint. when the save button is clicked, it updates the list with both selected users. Save is SubmitForm(form).
Hi@marial16,
Based on the issue that you mentioned, do you want to make the ComboBox allow multiple values?
Could you please share a bit more about your scenario, how do you set the DefaultSelectedItems of the ComboBox?
Please provide the above details so that we can figure it out.
You can try to set the Update property of the Data Card as below:
{Value:DataCardValue1.SelectedItems}
Best Regards,
Qi
Seemed like i had to remove and re add the person/group field in order for the changes to take place.
It is working now correctly with SelectedItems.
Hi@marial16,
Have you solved your problem?
If you have solved your problem, please Mark an appropriate solution as an Answer.
Best Regards,
Qi
User | Count |
---|---|
262 | |
110 | |
92 | |
55 | |
41 |