I have a PowerApp based on a SharePoint list I have a number of choice columns and those with a single selection display without a problem. However I have two multi-select fields and while they display when editing the PowerApp, they remain blank in the published app.
How can I set the field to display the selections in the published app?
@RandyHayes -Thanks for you help and apologies for the delay in replying but I have been doing some more testing...
I am moving between environments, using a managed solution to package and export the canvas app and environment variables.
The app works fine in the dev environment. All the fields display and behave correctly, but when I import it into the production environment it appears that although I can set the environment variables to the production Lists and this is the data displayed in the app, when you edit the app in production the test data sources are still connected and not the production.
This seems to be the root cause of the issues
It therefore appears that the environment variables are not working correctly?
So when you mentioned "they remain blank in the published app" does this mean after you have moved this from environ to environ, or just simply are publishing and testing in the dev environment? In other words, if you publish in your dev environment and then play the published app on the dev environ, do you see the issue then?
This is in PowerApps not Teams. It was working in Dev but is not working in Production environment.
I am using a solution to move from dev to prod and environment variables to switch from test to live lists. The Test SharePoint List is a duplicate of the live list so all columns are formatted the same and have the same choices.
What is your environment? Are you doing this in Teams or just in a canvas app?
I have found the Default Selected Items. It is set to Parent.Default
The datacard has been unlocked but this value has not been changed.
It is a combobox within a Form
It displays fine in Preview (see attached) but when viewing the published version it is blank (see attached).
The box is set to multiselect and the Items set to Choices([@TestReferralList].Referral_x0020_reason)
How do I check the DSI?
The selections of the combobox will depend on your DefaultSelectedItems (DSI) property. What is the DSI property and what is the context of the control - is it in an EditForm or standalone?
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
Super User 2025 Season 2
mmbr1606
275
Super User 2025 Season 2