GlideGuid - Client API - g_guid not defined

Lee Epps
Tera Guru

I have a need to generate a unique ID for a record on load of a Record Producer, and g_guid.generate() seemed to be a perfect solution according to the docs (GlideGuid - Client). However, when I try to use it I just get this error in the console: "Error while running Client Script "g_guid": ReferenceError: g_guid is not defined"

 

Has anyone ever used this successfully or know another way to generate a unique ID in a Catalog Client Script?

0 REPLIES 0