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 :
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.
I have the same question (0)
  • Suggested answer
    KasparsSemjonovs Profile Picture
    4,764 Super User 2025 Season 2 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,698 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,764 Super User 2025 Season 2 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
    95,329 Super User 2025 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

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,229

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,867 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,153 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans