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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

How to Convert GUID data type to Text in business central

(1) ShareShare
ReportReport
Posted on by 153
Hi Guys,
 
How to Convert GUID data type to Text in business central?
Is any way to do this? Please provide the sample example.
  • Suggested answer
    KasparsSemjonovs Profile Picture
    4,851 Super User 2026 Season 1 on at
    No, GUID doesn't convert to text as it is just a string on letters and numbers in specific format.
    You can search by GUID for a specific record and then get the name of it - if that is something You were trying
  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at
    Hi,
    You can try with Format(GUIDfieldhere)
     
  • Nilam Bhor Profile Picture
    153 on at
    actually, I have created one excel report using excel buffer.
    I want to display System created by field on my report. so how to display only name on my report? because its data type is GUID.
    Like below is the output of my excel sheet.
     
  • Nilam Bhor Profile Picture
    153 on at
     
    I have already tried format method, but it not gets the correct result.
  • Suggested answer
    KasparsSemjonovs Profile Picture
    4,851 Super User 2026 Season 1 on at
    Copy this GUID, and use this value to search table User (2000000120) by the field User Security ID (field ID 1). 
    Then from the record You find, take the User Name (Field ID 2) and add this value to the Excel.
     
    Quite simple. And this was already suggested in other topic before You created this.
  • Suggested answer
    YUN ZHU Profile Picture
    103,644 Super User 2026 Season 2 on at
    Hi, If you mean User Security Id (SID) and User Id (Name), hope the following helps.
    User Security Id (SID) and User Id (Name): https://yzhums.com/25881/
     
    Thanks.
    ZHU
  • Nilam Bhor Profile Picture
    153 on at
    Hi KasparsSemjonovs,
    Is any way to get GUID for a specific record and then get the name of it?
    Can you please provide the sample example?
  • HS-30042052-0 Profile Picture
    10 on at
    You can convert a GUID data type to text in Business Central by using the "FORMAT" function. Here's a sample example: FORMAT(MyGUIDField, 'N0') where MyGUIDField is the name of the field containing the GUID you want to convert to text.

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 750 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 534 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 287 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans