
Announcements
Hi Guys,
I want to change an existing SharePoint list column from text input to a dropdown list but the column is referred to in a power app.
What do I need to do to the app to get it to use it as a dropdown or is it just as simple as changing the list column?
Or can I create another list and point the app to that?
Thanks
John.
Hi @jbrines
The best option is probably just to create a new choice column in SPO and leave the existing text field there so the app continues to work in the interim while you incrementally go through and make the adjustments in the app to switch the fields across where necessary.
Within forms, once you add the new field in SPO and refresh the data in Power Apps, you can then simply add that new choice field to your form and it will work out of the box.
In a gallery, the code would change from 'ThisItem.TextField' to 'ThisItem.ChoiceField.Value'
Once you are confident it's replace, the text field can then be deleted.
Hope this helps