I'm having a column called year (which is a single line of text) but from powerapps I've added it as dropdown as shown below
and updated the items property, update field of the data card and everything is working fine
but when i save the form and try to edit the form in edit mode. the value was not showing in the dropdown as shown below
it is only fetching the title value but not the year value in the edit form mode. how can we handle this ?
Hi @Anonymous ,
If it's a vanilla form then it's unlikely copying it would create this issue - but perhaps try with a native edit form to test in case your original has some overrides you're copying over? You might find the copied control is still pointing at an overridden value instead of being created as default.
DataCardName.Default and Parent.Default would be the same value in a normal situation - provided the control that is using Parent.Default is actually a child of DataCardName. If they are not, then something somewhere is awry 🙂
Hi @Sharuk / @Anonymous
in default value, use [ ThisItem.something ] , here something should be your column name
keep the value inside the array braces.
The filter produced an error as well. It did not recognize Parent.AllowedValues. The column is a single line of text.
I do think that making a copy of the form caused the issue, to prove this I created another form, and tied it to a gallery and it worked. Just so I don't run into issues in the future, I'll re-create the form from scratch.
Thank you for all your help
This worked for me.
Before editing the Default value, I had this:
After editing, the choices from the SharePoint were displaying:
Thank you for your assistance! 😁