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

Announcements

News and Announcements icon
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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans