Featured Post

Web API Requests Series

Web API Series:  Create and Retrieve , Update and Delete , Retrieve Multiple , Associate/Disassociate , Impersonation , Run Workflows

03 April 2012

Open CRM form via JavaScript

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:

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.


No comments:

Post a Comment