cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MPayne-94
Level: Powered On

PowerApp Custom DropDown Card Resetting in Edit

I am creating a custom PowerApp form for a Share Point List. This form is used to create new items and to edit existing items.

 

I have a custom drop down field that pulls from a second SharePoint list that I am having issues with. I am pulling a Supplier name and have them sorted to be A-Z and defaults with the first alphabetical supplier.

 

When the SharePoint item is being edited it is changing the Supplier name to the Default Supplier not the selected Supplier. 

 

What is the work around on this?

Annotation 2019-08-19 140533.pngShowing how the items look in the SharePoint List with correct Supplier HighlightedAnnotation 2019-08-19 140522.pngShowing Form in edit that highlights incorrect Supplier shownAnnotation 2019-08-19 140512.pngPowerApp Studio screen that shows the edit screen and wrong supplier in form but correct Supplier in the Default box on the right side

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: PowerApp Custom DropDown Card Resetting in Edit

Hi @MPayne-94 ,

Currently, I could not reproduce your issue on my side. Please consider set the Items property of the Corp Supplier Name dropdown box to following:

Distinct('Supplier Assignments', Title)         /* <-- I assume that you want to displat Title column value from 'Supplier Assignments' within this ComboBox*/

Set the Default proprety of the Corp Supplier Name dropdown box to following:

SharePointIntegration.Selected.'Supplier Name'

or

ThisItem.'Supplier Name'

 

Please take a try with above solution, then check if the issue is solved.

 

Best regards,

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

View solution in original post

4 REPLIES 4
shailendra74
Level 10

Re: PowerApp Custom DropDown Card Resetting in Edit

Hi @MPayne-94 

 

Set the default value of the dropdown to 

 

ThisItem.SupplierName.Value . // check the field name

 

 

Thanks.

Community Support Team
Community Support Team

Re: PowerApp Custom DropDown Card Resetting in Edit

Hi @MPayne-94 ,

Could you please share a bit more about the 'Supplier Name' column in your SP List? Is it a Single text type column or a Choice type column?

Could you please share a bit more about the formula you typed within the Items property of Dropdown box?

 

If the 'Supplier Name' column is a Single text type column in your SP list:

Set the Default proprety of the Supplier Name Dropdown box to following:

SharePointIntegration.Selected.'Supplier Name'

or

ThisItem.'Supplier Name'

2. If the 'Supplier Name' column is a Choice type column in your SP list:

Set the Default proprety of the Supplier Name Dropdown box to following:

SharePointIntegration.Selected.'Supplier Name'.Value

or

ThisItem.'Supplier Name'.Value

set the Update property of the Corp Supplier Name data card to following:

{
   Value: SupplierNameDropdownBox.Selected.Value
}

Please take a try with above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
MPayne-94
Level: Powered On

Re: PowerApp Custom DropDown Card Resetting in Edit

The Supplier Name column is single text.

 

The formula I am using in Items is Sort('Supplier Assignments',Title)

 

The fixes below havent seemed to work

Community Support Team
Community Support Team

Re: PowerApp Custom DropDown Card Resetting in Edit

Hi @MPayne-94 ,

Currently, I could not reproduce your issue on my side. Please consider set the Items property of the Corp Supplier Name dropdown box to following:

Distinct('Supplier Assignments', Title)         /* <-- I assume that you want to displat Title column value from 'Supplier Assignments' within this ComboBox*/

Set the Default proprety of the Corp Supplier Name dropdown box to following:

SharePointIntegration.Selected.'Supplier Name'

or

ThisItem.'Supplier Name'

 

Please take a try with above solution, then check if the issue is solved.

 

Best regards,

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

View solution in original post

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,119)