Skip to main content

Hi all, I want to save a step in my workspace by using AttributeManager to generate an ESRI Global ID (aka, a UUID with "{}" in the string value) with the @UUID() function. I do this with the @TImestamp() function, but I don't quite understand the syntax...

 

@UUID(SIMPLE,UUID_FORMAT,,GLOBAL_ID|UUID_ONLY])

 

I've tried a bunch of different options, but how would I skip the "SIMPLE,UUID_FORMAT," options? All I want to stipulate is the GLOBAL_ID option.... thanks!

All you need to do is wrap the @UUID() function in "{}"

image


heh, that's what I was contemplating but shouldn't FME Function should do that with the GLOBAL ID option?


Hi @arcvancouver​ 

Try this syntax

@UUID(SIMPLE,UUID_FORMAT,GLOBAL_ID)

In addition, in FME 2023, traditional UUIDGenerator has been promoted into UniqueIdentifierGenerator which has an option to generate GUID.


Hi @arcvancouver​ 

Try this syntax

@UUID(SIMPLE,UUID_FORMAT,GLOBAL_ID)

In addition, in FME 2023, traditional UUIDGenerator has been promoted into UniqueIdentifierGenerator which has an option to generate GUID.

That works, thanks @Takashi Iijima​ - kudos for making sense of the support documentation for this! Gotta say though... the solution posed by @hkingsbury​ involves a lot less writing, ha!  😉 


Reply