web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dataverse choice colum...
Power Apps
Unanswered

Dataverse choice column pointing to different OptionSets in different environments

(0) ShareShare
ReportReport
Posted on by 524

Another day, another Dataverse puzzle ! 

 

I have a solution that exists as unmanaged in DEV and managed in TEST and PROD environments. There is a custom option set that is used in a table and also in a powerapps combo box using the choices function. There is another option set in the environments that is named almost the same but it is not included in the solution. In DEV and PROD the table column points towards the correct option set, but in test the column points towards the wrong one.

I recently changed the options and noticed that in the DEV application the options changed, but not in the test version. The option set itself has updated the values but the application shows the wrong ones. The patch function which updates the choice column works in the app. This makes me believe the test app is also pointing to the wrong option set, although I have no idea how when the code clearly points to the correct one. 

 

What I believe could have happened is the following : 
1) Creation of new table column in dev pointing towards the wrong option set

2) Solution pushed to test environment with the wrong option set

3) Deletion of column in DEV and recreation pointing towards the correct option set

4) Solution pushed to Test again but because the options were the same in the two option sets it wasn't noticed that it hadn't updated

5) Solution pushed to PROD where the column was created using the correct option set 

 

This is all just a theory, but I don't see how else there could be a column pointing to two different option sets in different environments.

Now I need to sort this mess out and am at a loss as to how...help please ! 

I tried deleting the column in test to then reimport the solution, but as it is managed I am unable to delete the column. I don't want to delete the column in dev, reimport to test to delete the column then readd again in dev in case it blocks when I move to production or worse, deletes the column and readds it and we lose all the data ! 

 

I suppose I could just leave it since the production version is correct, but I obviously I would rather the test solution was a correct reflection of what will be seen in prod. 

 

Any thoughts ? 

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 481

#2
WarrenBelz Profile Picture

WarrenBelz 379 Most Valuable Professional

#3
11manish Profile Picture

11manish 291

Last 30 days Overall leaderboard