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 365 | Integration, Dataverse...
Suggested Answer

How to include Contact GUID as related field in Cases Advanced Find

(0) ShareShare
ReportReport
Posted on by 25

Is it possible to include the Contact GUID (primary key) in a related entity view in Advanced Find? For example, if I am pulling a list in Advanced Find for Cases, and want to include the Contact GUID primary key for the related Contact. I am able to see the Contact name as a related column in Advanced Find, but not the actual GUID.

Is this possible to accomplish without creating a free text field, mapping/importing the Contact GUID to that free text field, and including that free text field in the Case Advanced Find view?

I have the same question (0)
  • Suggested answer
    Nya Profile Picture
    29,064 on at

    Hi,

    The GUID cannot be input directly into the Advanced Find.

    But you can achieve it by downloading fetchXML from the Advanced Find and then inputting the GUID into it.

    Here is an example.

    pastedimage1654245279951v2.png

    pastedimage1654245294418v3.jpeg

    Then you can use the fetchXML to query data.

    Use FetchXML to query data (Microsoft Dataverse) - Power Apps | Microsoft Docs

    There is a tool in XMLToolBox called FexchXML Builder which helps a lot on it.

    FetchXML Builder for XrmToolBox - empower yourself to achieve more.

  • tattmardiff Profile Picture
    25 on at

    Nya - I am looking to have the Contact ID GUID as a column in the view, not as a filter as I see it in your XML example. Is that possible?

  • Suggested answer
    Bipin D365 Profile Picture
    28,985 Moderator on at

    Hi,

    With advanced find export to excel you will only get related lookup field name only.

    I have since learnt of a very easy technique using Power Apps - https://make.powerapps.com/ there you can choose an Entity such as Phone Calls, click 'Edit data in Excel' - this produces a spreadsheet full of data for each field of each record including the GUIDs of the associated regarding records which is exactly what is was after.

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 May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Subra Profile Picture

Subra 124

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 98 Super User 2026 Season 1

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 85 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans