How to use it?
Hi DevCrmUser
There are entities named environmentvariabledefinitions and environmentvariablevalues, you can retrieve those entities using xrm.webApi.retrieve() functions to get and use those values from there.
https://crmchap.co.uk/retrieving-environment-variable-values-via-javascript-microsoft-dataverse-power-apps/
Please refer the above link
If you found this answer useful, just like and mark as verified
Thanks,
Tamilarasu Arunachalam
Hi Aruna,
thanks I have used it and its working fine but I am not able to use it in other sync function
Can u please see this link
community.dynamics.com/.../use-async-function-in-sync-function-in-javascript
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 117 Super User 2025 Season 2
MVP-Daniyal Khaleel 115
Erin Lubben 66