Good afternoon all,
I seem to be getting an error when calling a dialogue window in the opportunity form.
ReferenceError: 'openDialogProcess' is undefined
at eval code (eval code:1:1)
at RunHandlerInternal (/.../ClientApiWrapper.aspx)
at RunHandlers (.../ClientApiWrapper.aspx)
at OnScriptTagLoaded (/.../ClientApiWrapper.aspx)
at Anonymous function (/.../ClientApiWrapper.aspx)
JScript is as follows:
function openDialogProcess() {
var stage = Xrm.Page.getAttribute("new_salesstage".getText();
var url = Xrm.Page.context.getClientUrl() +
"/cs/dialog/rundialog.aspx?DialogId=073CEBFA-5D78-424E-9ED2-957A2840DFB7" +
"&EntityName=opportunity" +
"&ObjectId=";
{
window.open(url);
}
}
Using Dynamics 365 Online.
Thanks in advance,
Chris
*This post is locked for comments
I have the same question (0)