How to get GUID of the record in CRM Online?

Follow the below methods to get GUID of the record in Microsoft Dynamics CRM,

Method 1:

Open any record and Click on EMAIL A LINK Ribbon button.

Record URL will be opened in Outlook Email and record GUID will be identified easily with Query String parameter id and look likes below,

id=%7b<32 bit GUID>%7d

EMAIL A LINK

Method 2:

Open the required record, and click on Pop Out Symbol.

Pop Out

The Record will be opened in a new Tab/ Window.

Record GUID will be identified in the URL as shown below,

Pop Out - 1

Method 3:

This method is totally Interesting, you will feel easy to get CRM record GUID on a single click using Google Chrome.

Follow the below steps,

  1. Open CRM Page in Google Chrome. Will create a Bookmark for the CRM Page. Click on Star Icon as shown below.
  2. Give Name for the Bookmark.
  3. Click on Edit.

Book Mark

4. Copy & Paste the below JS Code under URL,

javascript: if (window.prompt(“CRM Record GUID is :”, $(“iframe”).filter(function () { return ($(this).css(‘visibility’) == ‘visible’) })[0].contentWindow.Xrm.Page.data.entity.getId().slice(1, -1))) { }

Note: Before Copy and Paste the above code, replace Double Quotations and Single Quotations properly.

Save the Bookmark.

Edit Book Mark

5. Click on Bookmark, you created “CRM Record GUID“. Pop Up will be displayed with CRM Record Id of the Record you opened.

Js Record Id

Method 3 information is from Blog CRMBlocks.

Please leave your valuable feedback on this article.

Microsoft Dynamics CRM 2013 SDK & UII Download Links

Download Microsoft Dynamics CRM 2013 SDK and UII from the below links,

Name Size Download Link Description
MicrosoftDynamicsCRM2013SDK.exe 95.9 MB Click Here Microsoft Dynamics CRM 2013 updated for Service Pack 1 Update Rollup 1 (on-premises)
MicrosoftDynamicsCRM2013UII.exe 47.1 MB Click Here User Interface Integration (UII) solution framework, which includes a deployment guide, development guide and api reference for Unified Service Desk.

Auto Number generation using Real Time Workflow in MS CRM 2013

Auto Number generation using Real Time Workflow in MS CRM 2013

Hi All,

I am going to show you the example of Real Time Workflow for Auto Number generation.Follow the below steps to create Auto Number for Contact entity,

Step 1: Create a Custom Entity “Counter” with the following Fields

Counter Value: Whole Number (Range as required)

Step 2: Create One Record in Counter entity as follows,

Counter Entity

Step 3: Create N:1 relationship between Contact to Counter entity as follows,

Contact to Counter realtionship

Step 4: Create “Contact ID” field in Contact entity as follows,

Contact Id field creation in Contact Entity

Step 5: Place “Contact ID” and “Counter_Contact” fields on the Contact entity form and hide them,

Contact Form

Step 6: Create a Real time workflow as follows,

Workflow Wizard
Workflow Creation

Step 7: Create a step to Update “Counter-Contact” record in Contact entity as follows,

Workflow Step 1
Workflow Step 1.1

Step 8: Update Counter Value from Counter entity as follows,

Workflow Step 2
Workflow Step 2.1

Step 9: Update Counter Value by 1 in Counter entity

Workflow Step 3
Workflow Step 3.1

Step 10: Activate the Process and Create Contact Record

Auto Number Generation

Please provide your valuable comments.