cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RamKan2021
Helper I
Helper I

How to save/edit combo box values in Standalone Canvas App and we have created Sharepoint as a Datasource

We have created Standalone Canvas  app. We have  designed combo box and taking the value from Sharepoint list items.

In Sharepoint list we are saving values in Single line of Text column.

Step 1 : User selecting combo box values and saved successfully. we used variable to pass the value to Sharepoint to save.

Step 2 : Data saved successfully in Sharepoint

Step 3: While user is trying to editing item from the gallery.

Step 4: User able to see the saved values in the combo box control

Step 5: We have added edit icon in the end of the control. while user clicking the control already saved values are going to empty/null in the control.

 

Kindly suggest where we are facing issue and If anyone did similar implementation kindly provide the reference link. 

App type : Stand alone app

Data source : Sharepoint

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-qiaqi-msft
Community Support
Community Support

Hi @RamKan2021,

You mean you could not see the save the values from Combo Box when you click the edit icon?

Could you please tell me how you configure the Combo Box within the Gallery, is it a edit grid?

 

Generally, this issue cause by the DefaultSelectedItems property of the Combo Box, you should set the DefaultSelectedItems of the Combo Box as below:

[ThisItem.TextColumn]

 

If you have this Combo Box outside the Gallery, you should set the DefaultSelectedItems property of the Combo Box as below:

[LookUp(List, ID=Gallery.Selected.ID).TextColumn]​

 

Best Regards,
Qi

View solution in original post

1 REPLY 1
v-qiaqi-msft
Community Support
Community Support

Hi @RamKan2021,

You mean you could not see the save the values from Combo Box when you click the edit icon?

Could you please tell me how you configure the Combo Box within the Gallery, is it a edit grid?

 

Generally, this issue cause by the DefaultSelectedItems property of the Combo Box, you should set the DefaultSelectedItems of the Combo Box as below:

[ThisItem.TextColumn]

 

If you have this Combo Box outside the Gallery, you should set the DefaultSelectedItems property of the Combo Box as below:

[LookUp(List, ID=Gallery.Selected.ID).TextColumn]​

 

Best Regards,
Qi

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (2,554)