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

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
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (4,108)