Hello,
I have a gallery that when clicking on the "Arrow" it takes me to an edit screen.
This edit screen has a few dropdowns where i get options to be selected from a Sharepoint List.
For example, my function Item has the formula:
Distinct('SharePointList';Collumn)
My Default Function is empty.
My problem is that every time i go to edit screen there are some fixed values in the dropdowns that are not the ones from the Item i have select. So imagine that my Item has a field value equals "MyField2", but in my edit screen it shows always "MyField1", then if the user saves the edit screen it changes this value incorrectly.
What i need is to be able to go to edit screen and in the dropdown the data displayed is from the select item. Besides i need the dropdowns options in case the user changes this value.
If someone could help me i would appreciate.
Best regards,
Solved! Go to Solution.
Hi, try doing this
onselect property of arrow give => select(parent)
then in the item property of form give => gallery. selected
You will need to set the default property on your control to do this. If it is empty, then it will just show what was there before.
IF these are truly Dropdown controls (and not CobmoBoxes), then you can first make sure that the Default property of your DataCard is still set to ThisItem.yourColumnName and then set the Default property of the Dropdown to Parent.Default
This assumes that your column is a Text column. If it is some other type of column like a choice column, then there is more to do, but since you mentioned Dropdowns, I will assume they are text based dropdowns.
I hope this is helpful for you.
Hi, try doing this
onselect property of arrow give => select(parent)
then in the item property of form give => gallery. selected
You will need to set the default property on your control to do this. If it is empty, then it will just show what was there before.
IF these are truly Dropdown controls (and not CobmoBoxes), then you can first make sure that the Default property of your DataCard is still set to ThisItem.yourColumnName and then set the Default property of the Dropdown to Parent.Default
This assumes that your column is a Text column. If it is some other type of column like a choice column, then there is more to do, but since you mentioned Dropdowns, I will assume they are text based dropdowns.
I hope this is helpful for you.
Hi @RandyHayes and @Krishna98 ,
My problem was in the SharePoint List.
It was not set as text. After solving it the dropdown is working perfectly setting his Default Property as mentioned.
Thanks!
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 |
---|---|
180 | |
52 | |
41 | |
38 | |
28 |
User | Count |
---|---|
255 | |
81 | |
71 | |
68 | |
66 |