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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

How to Implement Feature Toggles (Configuration Keys) in D365 CRM Similar to D365 F&O?

(0) ShareShare
ReportReport
Posted on by 61

Hi everyone,

In D365 Finance and Operations, we have Configuration Keys that allow us to enable or disable specific features at runtime. I'm trying to implement a similar concept in D365 CRM (Dataverse).

My idea is to create a custom table (e.g., "Feature Toggles") with Yes/No fields for each feature. I plan to create a single record in this table and use JavaScript, plugins, or Power Automate to check if a feature is enabled before showing certain sections or running logic.

For example:

  • On form load, retrieve the toggle record via JavaScript.

  • Show or hide sections, tabs, or fields based on the toggle values.

Has anyone used a similar approach?

  • Is there a better or more standard way to manage feature toggles in D365 CRM?

  • Any performance considerations or best practices I should follow?

  • Would using environment variables be more suitable in some cases

Thanks in advance for your suggestions and insights!

Categories:
I have the same question (0)
  • Suggested answer
    Jonas "Jones" Melgaard Profile Picture
    5,010 Most Valuable Professional on at
    Configuration keys aren't really run-time. You have to set the environment into maintenance mode, flip the configuration, and then go out of maintenance mode. This will trigger a synchronization of the data base. I'm more thinking feature management, this is more run-time.
     
    But I digress.. There is no equal functionality in Power Platform (CRM).
     
    You can use business rules to sort-of achieve this if you want a low-code solution.
    But otherwise, as you said, you are looking into creating Javascript in the forms. I've seen it done a few times.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 172

#2
ManoVerse Profile Picture

ManoVerse 58 Super User 2026 Season 1

#3
Niki Patel Profile Picture

Niki Patel 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans