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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to get and view GUID in CRM Dynamics forms and view

(0) ShareShare
ReportReport
Posted on by

Hi all,

How to view account entity guid in forms and column views.

I tried this link but didn't work for me

www.powerobjects.com/.../how-to-derive-and-expose-a-record-guid-on-your-forms-using-oob-functionality

Please suggest me

Thanks in advance

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hello

    try this

    Xrm.Page.data.entity.getId() in javascript code. and create a custom single line text box field.

    "onload" of your form get Guid with this code and set in created field

    Hope you can understand what I mean!

  • Community Member Profile Picture
    on at

    How to set onload function in custom created text box field

  • Suggested answer
    Community Member Profile Picture
    on at

    function GetGuid(fieldName) {

       var guid= Xrm.Page.data.entity.getId();

       Xrm.Page.getAttribute("CUSTOMFIELDNAME").setValue(guid);

    }

    call this method on "Onload" of your form

  • Community Member Profile Picture
    on at

    Thank you

    But my requirement is Export to excel with GUID for all records in account entity, its possible..?

  • Verified answer
    Shahbaaz Ansari Profile Picture
    6,211 on at

    Hi Alriyan,

    You can go to any view lets say Account, there will be option of download in excel, Download that file---open it and unhide first 3 field in that. 1st field will be the guid of the record.

    Hope this helps,

    Best Regards,

    Shahbaaz

  • Suggested answer
    Temmy Wahyu Raharjo Profile Picture
    2,916 on at

    You can used advance find. Construct the column you need, and then export it to excel to get the data.

  • Community Member Profile Picture
    on at

    Thanks Shahbaaz

    It's Work for me

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans