Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Suggested answer

Where can I find the GUID of the entities

(0) ShareShare
ReportReport
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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,431 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans