Dynamic URL

To create dynamic URL in MS CRM use following format

organisationUrl + “/main.aspx?etc=” + ObjectTypeCode + “&id=” + GUID + “&pagetype=entityrecord”;

To get organisation URL in JS use ‘Xrm.Page.context.getClientUrl()’

Here you will get the ObjetTypeCode of CRM’s default entities.

For more info go here

Also to insert dynamics URL in email template, there is option to add it with ‘RecordDynamicURL’ in drop down, by adding it will add current record URL.

Also to add dynamic URL link for related record from Global email template follow this steps.

 

Hope it helps someone !! 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s