I'm trying to open a new form and pass values to use in new form JS code, the new form open but I get a CRM general error, can't find my prob...
I have 2 questions:
1. What am I missing, why do I get an error....?
2. How to get my params in my new from js?
That's my error:
Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #65B23809Detail:
My code:
function openNewRec(){ var parameters={}; parameters["gamenumber"] = Xrm.Page.getAttribute("new_gamenum").getValue(); var windowOptions = { openInNewWindow: true }; Xrm.Utility.openEntityForm("new_scores",null,parameters,windowOptions); }
*This post is locked for comments