web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Where can I find the GUID of the entities

(0) ShareShare
ReportReport
Posted on by

HI,

Where can I find the GUID of the entities?

Regards,

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Atis,

    Many ways can get the GUID of the entity records.

    1.Url:

    If you are using UCI, you can get the GUID directly in the URL.

    pastedimage1606441945345v2.png

    2..js

     

    function getId(executionContext) {
        var formContext = executionContext.getFormContext();
        var incidentId = formContext.data.entity.getId().replace('{', '').replace('}', '');
        alert("incident id is:"   incidentId);
    }

    pastedimage1606441933524v1.png

    3.Export excel.

    pastedimage1606443233043v1.png

    But when you open the excel, you will find that the top three columns were hidden, you need unhide them because the first column stores the GUID of the entity.

    How to unhide columns?

    Select all data and expand ‘Format’ under ‘cells’ group to click ‘Unhide’ option.

    pastedimage1606443247924v2.png

    pastedimage1606443260352v3.png

    For more ways, you can refer following link:

    https://arunpotti.com/2016/07/10/how-to-get-guid-of-the-record-in-crm-online/

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Syed Aqib Raza Profile Picture

Syed Aqib Raza 42

#2
11manish Profile Picture

11manish 19 Super User 2026 Season 2

#2
Travis South Profile Picture

Travis South 19

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans