web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Extracting field data from entity and passing to a HTML web resource

(0) ShareShare
ReportReport
Posted on by 10

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.

I have the same question (0)
  • erhan.keskin Profile Picture
    2,253 on at
  • Suggested answer
    miguelbeja Profile Picture
    on at
    RE: Extracting field data from entity and passing to a HTML web resource

    Hi,

    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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 125

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 110 Super User 2025 Season 2

#3
Erin Lubben Profile Picture

Erin Lubben 73

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans