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

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Added a choice option ...
Power Apps
Unanswered

Added a choice option to a system column in one environment not transferring to another environment

(0) ShareShare
ReportReport
Posted on by 17
We build solutions in individual sandbox environments, and when we're done with a task we move it to a shared dev environment via the pac cli using a series of steps:
 
pac solution export
pac solution unpack
Review the metadata retrieved from the sandbox environment, prepare a PR with updates we want to make, when the PR is completed a pipeline runs that packs, imports, and publishes the solution:
pac solution pack
pac solution import
pac solution publish

We want to add a choice value to the OwnershipCode column on the Account table. The field we want to add is "Government", it is showing up in the metadata, the solution packs, imports, and publishes successfully, but the choice value is not showing up in the shared dev environment. Both of these environments are unmanaged. Once testing is done in the shared dev we move it to stage and then ultimately prod which are managed environments, but not part of the problem here. Right now the issue is that the choice we want to add to Account.OwnershipCode is not showing up in the shared dev environment despite that choice being in the metadata on the Account entity and the commands and pipelines all running successfully. Can anybody tell me why?
I have the same question (0)
  • stum Profile Picture
    99 on at
    Added a choice option to a system column in one environment not transferring to another environment
    Hi,
     
    Try checking the solution layers and make sure there is no other active solution layer sitting on top of your solution. See below.
     
     
    --------------------
     
  • kport2 Profile Picture
    17 on at
    Added a choice option to a system column in one environment not transferring to another environment
    Hi, thanks for the reply. I have checked the solution layers. There's not a layer sitting on top of my solution layer, in fact this is a good thing to point out, the solution layer isn't present at all. So my solution is packing, importing, and publishing successfully, the choice value is in the metadata, and it's still not showing up. I have tried importing with a stage and upgrade, and checking solution versioning but none of that has made a difference either.
  • Suggested answer
    Ram Prakash Profile Picture
    5,576 Super User 2025 Season 2 on at
    Added a choice option to a system column in one environment not transferring to another environment
     
    There are multiple issues available
     
    1. if it is an Unmnaged Environment, make sure you publish the Solution once after import
    2. There may be Unmanged Layer on top of the Field
     
    How to remove it
     
    1. Navigate to make.powerapps.com
    2. Click Solutions
    3. Open Default or custom solutions
    4. Expand Tables
    5. Click Columns
    6. Select the respective columns which you cannot see the new Values
    7. Now Click three dots and Click on Solution Layers
    8. Delete if any Unmanged Layer availabler
     
    That's it :)
     
    Please mark as answer if my suggestion helps.
    Subscribe here for More Useful videos : https://www.youtube.com/@rampprakash3991
  • stum Profile Picture
    99 on at
    Added a choice option to a system column in one environment not transferring to another environment
    @KP-15101531-0, I would check the customizations.xml file to see OwnershipCode field has the value that you added and also when you import the solution try adding --force-overwrite at the end of import line and see if it will add the value to your target environment.
  • Verified answer
    kport2 Profile Picture
    17 on at
    Added a choice option to a system column in one environment not transferring to another environment
    Thanks @Ram Prakash and @stum, those were both things that I tried but were not the issue. I eventually did figure out the issue, which was that in the Entity.xml file for the Account table, the OwnershipCode <Attribute> tag had an attribute added to it that said unmodified="1": 
    <attribute PhysicalName="OwnershipCode" unmodified="1">
     
    When I was reviewing the PR I didn't catch this because it didn't show up as a changed line of code so it wasn't something I was looking at, but I did catch it at some point reviewing the metadata. When I removed the unmodified attribute from the OwnershipCode tag the importer recognized to pick up the change on that attribute and it worked.
  • Ram Prakash Profile Picture
    5,576 Super User 2025 Season 2 on at
    Added a choice option to a system column in one environment not transferring to another environment
     
    Thanks for tagging us and provided your solution, that helps

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard