Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

get filed value of another entity

Posted on by Microsoft Employee

Hello, I have in a form inserted a sub-grid, which has a field 'Table1' from another entity 'Tables', in menu bar I built a button, by clicking, it opens a web resource and shows the field value of 'Name': Test1, using the script: 

window.parent.opener.Xrm.Page.getAttribute("new_name").getValue();

could any one help me to show the field value 'TableA' in this web resource? Thanks a lot.

5621.Test.png

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: get filed value of another entity

    Hello, thanks a lot. It works!

  • Verified answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: get filed value of another entity

    Hi ,

    Please check below reference , make sure when you are calling Xrm dont forget to add "window.parent.opener" before Xrm.

    https://debajmecrm.com/2016/02/04/dynamics-crm-sub-grid-column-values-client-javascript/

     

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