Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

How to use the environment variable in Javascript

(0) ShareShare
ReportReport
Posted on by 60

How to use it?

  • DevCrmUser Profile Picture
    DevCrmUser 60 on at
    RE: How to use the environment variable in Javascript

    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

  • Suggested answer
    RE: How to use the environment variable in Javascript

    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

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans