Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

Changer order of dataverse choices in managed solution

Posted on by 270
Hello,
I have reordered the dataverse choices so they are in alphabetical order in UAT but when I upgrade this version to the managed solution the choices don't appear in alphabetical order.
 
I thought I couldn't edit the Choices in a managed solution or if I did then I would create an unmanaged layer that might cause an issue.
 
Can anyone advise the best method for updating the sort order?
 
Thanks
Rosie
Categories:
  • Suggested answer
    Abdul Wahab Profile Picture
    Abdul Wahab 8 on at
    Changer order of dataverse choices in managed solution
    Understanding the Issue:
    1. Choices in a managed solution are not editable in the target environment.
    2. Reordering the choices in your development or UAT environment does not directly update their order in a managed solution unless the sort order is explicitly part of the solution.
    3. Manually editing the sort order in the target environment creates an unmanaged layer, which can conflict with future updates.
    Best Methods for Updating Sort Order: Ensure Proper Ordering in Development: The sort order of choices in Dataverse is determined by their Display Order. To ensure the sort order is correct in your managed solution:
    1. Edit Choices in Development:
      1. Go to Tables in your dev environment.
      2. Open the choice column (global or local choice) and reorder the choices in the desired alphabetical order.
    2. Publish Changes:
      1. Save and publish the changes in the dev environment.
    3. Export the Solution:
      1. Export the updated solution (as a managed solution if needed) and import it into UAT/Production.
    Note: If the sorting doesn't seem to apply, explicitly reorder the choices even if they already appear in alphabetical order.
     
    Abdul Wahab
    +923323281237
    abdulwahabubit@outlook.com
    LinkedIn: https://www.linkedin.com/in/abdul-wahab-a5b8b011a/
    Twitter: https://twitter.com/Abdulwahabubit
    GitHub: https://github.com/AbdulWahabWarind
    Youtube: https://www.youtube.com/channel/UCBjgLqLK_2kU-3bwo4McrTw

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,487

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,014

Leaderboard