Hey guys,
I'm trying to get a TinyMCE rich text editor as a popup in my email form (the Alexander Development.net solution) working. Unfortunately I'm having trouble with catching the value of the email description (/body) into a variable this way:
var emailBody = parent.frames[0].Xrm.Page.getAttribute("description").getValue();
It returns this nice "Cannot read property 'Page' of undefined" error, while I was pretty sure this was the 2016 way of getting it done.
Since I'm not much of a javascript developer (obviously), I'm kind of stuck.
Anybody got a better idea or anyone knows how to get the description into the variable? It's building even before the popup is called, so I figured 'parent' would do the job (being the parent of the html web resource).. but clearly I'm wrong.
Any ideas?
thanks in advance!
Regards,
Jeroen
*This post is locked for comments
I have the same question (0)