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?
Showing how the items look in the SharePoint List with correct Supplier Highlighted
Showing Form in edit that highlights incorrect Supplier shown
PowerApp Studio screen that shows the edit screen and wrong supplier in form but correct Supplier in the Default box on the right side
Solved! Go to Solution.
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,
Hi @MPayne-94
Set the default value of the dropdown to
ThisItem.SupplierName.Value . // check the field name
Thanks.
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,
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
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,
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
181 | |
52 | |
41 | |
38 | |
32 |
User | Count |
---|---|
257 | |
81 | |
71 | |
69 | |
66 |