Skip to content

UUIDs and Get/SetCampaign functions

Is there a reason UUIDs are 36 characters and Get/Set Campaign variable functions only permit a maximum of 32 characters in the sVarName field? Can UUIDs be shortened to 32 characters or sVarName expanded to (at minimum but hopefully more than) 36 characters?

Comments

  • SherincallSherincall Member Posts: 387
    Unfortunately, neither of those things are simple. UUIDs are a standard thing and their representation is 36 hex characters. The database needs to truncate at 32 characters to preserve previous behavior. If it was extended to 36, then old modules that rely on only the 32 characters being meaningful might break.

    However, you can freely strip the dashes from your UUID and you'll get a 32 character string that you can store that is still unique.
Sign In or Register to comment.