Hello,
I am trying to set the foreign key of type Customer using following way.
parameters["new_customer"] = "D6EDEADA-EED4-E711-A949-000D3A308373";
parameters["new_customertype"] = "account";
parameters["new_customername"] = "test";
Xrm.Utility.openEntityForm("new_test", null, parameters, null);
While the same code works fine for System entities, it throws following error for Custom entities.
"System.InvalidOperationException: CRM Parameter Filter - Invalid parameter 'new_customertype=account'"
Did anyone else faced the same?
*This post is locked for comments