Have you been struggling to find out how to open a CRM form from another form or from a custom page?
Here is the solution:
Use window.open("/main.aspx?etn=entityname&pagetype=entityrecord&id=" + recordGUID");
or simply:
window.open("/main.aspx?etn=entityname&pagetype=entityrecord");
to create a new record.
You can also pass custom parameters using the extraqs parameter and encodeURIComponent. You can find out more from the Crm SDK.
Cheers.
No comments:
Post a Comment