Skip to main content

Notifications

Dynamics 365 Community / Forums / Field Service forum / Where can I find the G...
Field Service forum
Suggested answer

Where can I find the GUID of the entities

Posted on by Microsoft Employee

HI,

Where can I find the GUID of the entities?

Regards,

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Where can I find the GUID of the entities

    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

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,802 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,129 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,154

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans