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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Handle different Choic...
Power Apps
Unanswered

Handle different Choice options for different customer same App

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I have around 10 choice columns and the status reason which needs to be custom for different customer using same model driven app.

 

how to best handle a solution in Dataverse, with different Choice options per customer on the same App

 

i.e

Status Reason list needs to be A, B for Customer X

Status Reason list needs to be B, C, D for Customer Y

Status Reason list needs to be A, F, H for Customer Z

 

Users should not see other customer options.

 

Is the only way to manage this, to create unmanaged layer in Customer environments?

 

 

I have the same question (0)
  • MarioRing Profile Picture
    541 Super User 2024 Season 1 on at

    One option is to use JavaScript which can hide specific options of your choice from the picklist depending on the user. This is the best solution, however, it requires some coding skills. Please note the options will be hidden during editing the record on the form, but all options can be accessible through search features.

    removeOption (Client API reference) in model-driven apps - Power Apps | Microsoft Learn

     

    You can also create different picklist fields for specific users, and then create multiple forms for the same table. Then you can assign form availability depending on the current user's security role (and create a dedicated security role per customer). In your scenario, every customer (I assume the customer is the user of the app, not the record of type Account) will have a dedicated form with a specific set of fields.

  • ivan_apps Profile Picture
    2,189 Moderator on at

    An unmanaged layer is probably the easiest way to handle this. Just remember to re-apply the unmanaged layer after solution upgrades.

     

    you can also create a custom security role in your base solution for each customer. Then assign the role and check for it on form load via javascript. Use RemoveOption javascript code to adjust accordingly based on the logged in user’s security roles. This option makes your solution deployment and upgrade simpler but now you’re also adding technical debt to your core solution.

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 393

#2
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 271 Super User 2025 Season 2

Last 30 days Overall leaderboard