Hi Reader,
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 ?
One more thing I should add is that I copied the original form which is in New Mode, that could have caused the issue.
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 🙂
Kind regards,
RT
Hi @Sharuk / @Anonymous
in default value, use [ ThisItem.something ] , here something should be your column name
keep the value inside the array braces.
This is what I get when adding [ThisItem.'Requestor_Position']
@Anonymous
what is the type of column. can you try like this ?
Filter(Parent.AllowedValues, Value = ThisItem.'Requestor_Position').Value
Hi Krishna_R,
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
Digidot
Hi Russel,
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! 😁
User | Count |
---|---|
254 | |
106 | |
96 | |
50 | |
39 |