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 :
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 11

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
    4,893 Super User 2025 Season 2 on at
    How to Implement Feature Toggles (Configuration Keys) in D365 CRM Similar to D365 F&O?
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 394

#2
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 123

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 102 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans