Announcements
You can’t directly plug environment variables into a web resource URL, but you can work around it via using JavaScript.
Store your appId in an environment variable, then use JavaScript (Xrm.WebApi) to fetch it and set the iframe URL dynamically. That way it changes automatically across environments.
Yes, environment variables are accessible via the Web API.
📩 Need more help? Just mention @Kalathiya and I’ll be happy to assist.
✔️ If this answer helped you, please tick “Does this answer your question?” so it can be marked as the Verified Answer.
💛 A Like always motivates me to keep contributing!
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 424
WarrenBelz 355 Most Valuable Professional
11manish 290