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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Difference between Parent.Xrm.Page.GetAttrinute(...) and Xrm.Page.GetAttribute(...)

(0) ShareShare
ReportReport
Posted on by 805

Hello,

What is the difference between Parent.Xrm.Page.GetAttrinute(...) and Xrm.Page.GetAttribute(...).

Regards,

*This post is locked for comments

I have the same question (0)
  • Verified answer
    naresh babu Profile Picture
    425 on at

    Hi  Jaret,
    parent.Xrm.Page.getAttribute()  works in case of HTML web resources embedded in forms as this is the only way to access the form context from the HTML web resource.

    Xrm.Page.getAttribute()  an entity object that provides collections and methods to manage data within the entity form.


    for your reference, Please check the below links.
    https://community.dynamics.com/365/b/d365demystified/archive/2014/08/05/understanding-xrm-page-object-model
    https://crmbook.powerobjects.com/extending-crm/javascript/javascript-crm-model/

  • Verified answer
    gdas Profile Picture
    50,091 Moderator on at

    In addition to that parent is window property . The parent property returns the parent window object from the  window where you are firing event. Each Microsoft Dynamics CRM forms having XRM.Page name space. To get the XRM.Page  object from external or embedded web page we generally use parent keywords.

  • ist Profile Picture
    805 on at

    Thank you!

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans