Skip to Content (Press Enter)
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Home
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Platforms
OutSystems.com
Personal Edition
Community
Resources
Support
Search in OutSystems
Log in
Get Started
Back to Ideas
21
Like
Follow Idea
Robert Chanphakeo
Add built-in GUID function
5406
Views
19
Comments
Implemented
Service Studio
OutSystems 8.0
Add Built-in GUID function for GUID generation into Agile Platform, without needing to add an extension to auto generate GUID.
Kilian Hekhuis
Â
MVP
If you use a SQL Server database, you can use the NEWID() function to generate a GUID. An advanced query is then all you need, no extension needed. On Oracle, it is called SYS_GUID(), if my Google-fu serves me well.
Gonçalo Borrêga
In version 8 this is a function available in the System actions
Robert Chanphakeo
GUID function should be built into the agile platform.
In addition to this, there should be a "Is Auto GUID" option to allow an entity record to be created with an auto assigned GUID.
Merged from
'Entity: "Is AutoGUID" (built in GUID function)' (idea created on 2011-12-25 07:28:20 by Robert Chanphakeo)
, on 2013-05-15 11:21:34 by Gonçalo Borrêga
Robert Chanphakeo
Just like you can select "CurrDateTime()" "CurrDate()"
There should be a built in function for "GetNewGuid()"
Merged from
'Entity: "Is AutoGUID" (built in GUID function)' (idea created on 2011-12-25 07:28:20 by Robert Chanphakeo)
, on 2013-05-15 11:21:34 by Gonçalo Borrêga
Kilian Hekhuis
Â
MVP
"In version 8 this is a function available in the System actions" - Yeah, I noticed at NextStep, that's great.
Robert Chanphakeo
Finally! outsystems 8.0 is doing what I want it to do :)
Robert Chanphakeo
What about built in action for "GenerateGuidEntityId" ?
Kilian Hekhuis
Â
MVP
A GUID is just a text string, so you could use TextToEntityRefText().
Robert Chanphakeo
It would be good to have entity GUID datatype identifiers. so we dont have to assign GUID values manually
Kilian Hekhuis
Â
MVP
Well, I don't have a use for that personally, but I can see someone else would. Perhaps Gonçalo didn't understand your request and merged it wrongly with this one.
Robert Chanphakeo
Gonçalo
"In version 8 this is a function available in the System actions"
I mean add it as an entity "data type". We have text, integer, then we should have GUID for entities.
Gonçalo Borrêga
Hi guys,
I'm tracking the GUID datatype on this idea instead:
Native support for UNIQUEIDENTIFIER data type
Left this one to be just for the builtin function (which already helps in some of the integration scenarios)
Robert Chanphakeo
@Goncalo
GUID implementation method was added but currently there is still no native GUID data type support.
Why do we need it? see GUID discussion here
https://www.outsystems.com/forums/discussion/13832/entity-with-guid-primary-key-identifier/
Gonçalo Borrêga
Merged this idea with
'Entity: "Is AutoGUID" (built in GUID function)' (created on 2011-12-25 07:28:20 by - -)
Hugo Gonçalves
Staff
Merged this idea with
'Integration Studio GUID Conversion' (created on 21 Aug 2013 10:32:30 by Carlos Henriques)
Carlos Henriques
When importing entities from SQL Server database with Integration Studio, it leaves the data type empty for GUID columns because Outsystems does not support this type.
Instead of leaving it blank, why not at least assume the text or entity reference text types?
Merged from
'Integration Studio GUID Conversion' (idea created on 21 Aug 2013 10:32:30 by Carlos Henriques)
, on 18 Jul 2018 17:11:57 by Hugo Gonçalves
J.
Â
MVP
Or have GUID as a outsystems type (which has been proposed before)
Merged from
'Integration Studio GUID Conversion' (idea created on 21 Aug 2013 10:32:30 by Carlos Henriques)
, on 18 Jul 2018 17:11:57 by Hugo Gonçalves
Robert Chanphakeo
Correct behaviour would be to detect column is a GUID datatype, and set it to outsystems datatype "text".
Merged from
'Integration Studio GUID Conversion' (idea created on 21 Aug 2013 10:32:30 by Carlos Henriques)
, on 18 Jul 2018 17:11:57 by Hugo Gonçalves
Robert Chanphakeo
this idea is related to
https://www.outsystems.com/ideas/936/add-built-in-guid-function
Merged from
'Integration Studio GUID Conversion' (idea created on 21 Aug 2013 10:32:30 by Carlos Henriques)
, on 18 Jul 2018 17:11:57 by Hugo Gonçalves
Log in to comment
 Loading...