Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Set value on parent form from child form

$
0
0

Hi all,

I need to set the value on a text field on the parent form. This value should come from the child form.

I used the following syntax but it doesn't seem to work 2013 onwards

Need help on what syntax to use instead.  Currently using the following code

window.top.opener.parent.Xrm.Page.getAttribute("new_text").setValue(val);

parent.Xrm.Page.data.entity.save();

new_text is a text field on parent form.

val is a value obtained from child form.


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images