Bhubaneswar, Odisha, India
+91-8328865778
support@softchief.com

How to Open Entity or View using URL

How to Open Entity or View using URL

We can use URLs to open specific entities and views whenever we requires in our custom applications. The below are the scenarios to open entity forms and views using URLs.

NOTE : Use Xrm.Utility.openEntityForm when you open entity forms programmatically within the application by using web resources. Do not use window.open.Outside the application, where pages do not have access to the Xrm.Utility.openEntityForm function, use window.open or a link to open a specific record or form for an entity.

Open a new Entity Record:

http://crmurl/Org/main.aspx?etn=&pagetype=entityrecord

E.g. : FOR new  contact :  http://crmurl/Org/main.aspx?etn=contact&pagetype=entityrecord

open a contact entity record form where the id is {81330924-802A-4B0D-A900-34FD9D790829}:

http://myorg.crm.dynamics.com/main.aspx?etn=contact&pagetype=entityrecord&id=%7B81330924-802A-4B0D-A900-34FD9D790829%7D

open the Active Contacts view for Microsoft Dynamics 365 (online) with no navigation bar or command bar

http://myorg.crm.dynamics.com/main.aspx?etn=contact&pagetype=entitylist&viewid={00000000-0000-0000-00AA-000010001004}&viewtype=1039&navbar=off&cmdbar=false

Click here to read more.