Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Set Web resource fields value to MS CRM 2013 Entity

Posted on by 1,430

Hi Team,
In the CRM entity we have one button. When we clicked on that button one HTML popup page will be opened.
In the HTML page we have one Text box. I need set this text box value into CRM entity text box.
I am using below code:
window.parent.Xrm.Page.getAttribute('mscrmfieldname').setValue(value);
but this code not working.
I am using MS CRM 2013 version.
Please help me.

*This post is locked for comments

  • Abhishek.Srivastava Profile Picture
    Abhishek.Srivastava 1,430 on at
    RE: Set Web resource fields value to MS CRM 2013 Entity

    Hi Aric,

    It is a HTML page just open from MS CRM using window.open when user click on button.

  • Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: Set Web resource fields value to MS CRM 2013 Entity

    How are you displaying the popup? Is it a dialog, or just popup window?

    You should return the values to the main form that called the popup, and not try to do this from the parent.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans