Hello Guys,
Unable to pass lookup parameter using openEntityForm . When I passed text field it is redirecting the entity and show me the value, but passing lookup parameter getting generic error .
I checked the lookup id , name value and also all field name are correct.
I followed below link and every blogs are written same , but could not help ,I am redirecting generic error.
https://msdn.microsoft.com/en-us/library/gg334375.aspx?f=255&MSPPError=-2147217396
var parameters = {}; parameters["poc_testlookupfield"] = "2888888E-94D6-E111-9B1D-00155D9D700B"; parameters["poc_testlookupfieldname"] = "Goutam Das"; parameters["poc_testlookupfieldtype"] = "contact"; parameters["poc_testtextfield"] = "test text"; // Open the window. Xrm.Utility.openEntityForm("poc_testentity", null, parameters);
Any help will be appreciated.