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!