Skip to main content

Notifications

Announcements

No record found.

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.

  • Suggested answer
    miguelbeja Profile Picture
    miguelbeja 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

  • erhan.keskin Profile Picture
    erhan.keskin 2,247 on at

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans