cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
peter_c
Helper I
Helper I

GUID function fails to convert to string

Recently the conversion of the value from a GUID function to a string has stopped working. 

 

For example, if you add a Label to a form and set its Text property to: "Text " & GUID(), it now reports the error: "Invalid argument type. Expecting one of the following: Text, Number, Boolean."

1 ACCEPTED SOLUTION

Accepted Solutions
CarlosFigueira
Power Apps
Power Apps

You can use the Text function to convert from the GUID value to a string in this case:

"Text " & Text(GUID())

https://docs.microsoft.com/powerapps/maker/canvas-apps/functions/function-text 

View solution in original post

2 REPLIES 2
CarlosFigueira
Power Apps
Power Apps

You can use the Text function to convert from the GUID value to a string in this case:

"Text " & Text(GUID())

https://docs.microsoft.com/powerapps/maker/canvas-apps/functions/function-text 

View solution in original post

Thanks Carlos.  This does resolve the issue, however, my main reason for raising it is because it's a breaking change and the documentation also doesn't reflect this change yet (https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-guid).

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,040)