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
Hi Aric,
It is a HTML page just open from MS CRM using window.open when user click on button.
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156