How would I extract data from an entity's field and then pass this data into an HTML web resource?
This resource would then be used to update another record.
Hi,
Are these helpful what you are looking for?
https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/sample-pass-multiple-values-web-resource-through-data-parameter
https://www.c-sharpcorner.com/article/dynamics-crm-passing-dynamic-value-as-parameter-to-web-resource-from-entity-for/
Regards,
I also would suggest to check this:
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/GetGlobalContext-ClientGlobalContext.js.aspx
This explains that you need to add to you HTML:
<script src="ClientGlobalContext.js.aspx" type="text/javascript" ></scrip
And you can then call parent.Xrm.* but this needs to be a html web resource inside the form. Out side of the form or sitemap won't work like this.
Please also refer to:
https://docs.microsoft.com/en-us/power-platform/important-changes-coming#some-client-apis-are-deprecated
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.
MVP-Daniyal Khaleel 125
Tom_Gioielli 110 Super User 2025 Season 2
Erin Lubben 73