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

Open a form using JScript

$
0
0

Hello, I am trying to open a new form for a custom entity in CRM 2011. Was following the MSDN url "http://msdn.microsoft.com/en-us/library/gg334375.aspx" and changed the code there with the below one.

var parameters = {}; parameters["regardingobjectid"] = <GUID Value here>; parameters["regardingobjectidname"] = <Record Name>; parameters["regardingobjectidtype"] = <Entity Name here>; Xrm.Utility.openEntityForm(<customentityname>, null, parameters);

When the page gets loaded its redirected to an error page. Without the parameters its all working fine. I have checked the GUID value, Record Name and Entity Name all are as expected.

I am still not understanding where I am doing it wrong. Can anyone of you please help me to figure this out?

Thanks in advance.


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>