Dynamics CRM Redirect to Entity Page

1 Comment

To redirect a Dynamics CRM page to an entity page, you can use:

Xrm.Utility.openEntityForm(name,id,parameters,windowOptions)

For example, this would redirect the user to the lead page if you included this in JavaScript in CRM:

Xrm.Utility.openEntityForm( "lead" );

If we add the ID parameter, it will open the actual record, e.g.

Xrm.Utility.openEntityForm( "account", "{AFF47933-3FD8-E611-80F0-C4346BAC8930}" );

 

ABOUT CARL DE SOUZA

Carl de Souza is a developer and architect focusing on Microsoft Dynamics 365, BI, Web, Cloud and Data Science.

carldesouza.comLinkedIn Twitter | YouTube

 

One Response to Dynamics CRM Redirect to Entity Page

  1. How do you get the Record ID if the you are creating this record through a quick create form? I want to be able to “quick create” a lead and when I hit save, I get redirected to that newly created lead.

Leave a Reply

Your email address will not be published. Required fields are marked *