cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Raynuna
Level: Power Up

Displaying and Patching Choices to SP List From Powerapps

Greetings.

 

I have created a SharePoint list with a column named "NewHireChecklist" which contains multiple choices, and allows multiple selections.

 

I have connected this SharePoint list to a custom Powerapp. A gallery is being used to display the values of the SharePoint list.

 

Problem 1: I have added a Dropdown menu to the Powerapp that is pulling from the SharePoint column, however, all of the values in the column are not displaying in the Dropdown menu. 

 

Problem 2: I am wanting to patch single or mulitple selections from the Dropdown to the SharePoint list. I am able to do this with Date Pickers, TextInputs, etc, but I cannot seem to get patching to work for any changes made to the Dropdown box. I receive the following error when trying to add the NewHireChecklist dropdown values to the patch command: "The type of this argument does not match the expected type "Table". Found type "Text""

 

I have provided screenshots of the SharePoint list choices column, the patch command, and the Powerapps dropdown part. Any assistance would be great! I know I could use a form instead, but I prefer having the gallery view in this case since we will have numerous entries that need to be edited in bulk. 

 nhcheck.PNGCapture.PNGCapture2.PNG

1 REPLY 1
Community Support Team
Community Support Team

Re: Displaying and Patching Choices to SP List From Powerapps

Hi @Raynuna,

 

Did you mean that you want to have the options inside the Choice column's setting? If so, then you should use below formula in the Items property of the combo box control:

Choices(NewStaffITChecklist.NewHireChecklist)

For the Patch the choice column, the formula should be:

Patch(NewStaffITChecklist,Defaults(NewStaffITChecklist),{Title:TextInput1.Text,..........,........,ComboBox1.SelectedItems})

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Platform 24

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors
Users online (4,949)