Skip to content

{{createGuid}}

Creates a new random GUID each time the template is rendered. The value is emitted in lowercase, without braces.

Because a fresh GUID is produced on every run, use this only where repeatability doesn’t matter. When regenerating metadata that should keep stable identifiers, use createDeterministicGuid instead.

{{createGuid}}
"id": "{{createGuid}}"

This results in something like:

"id": "3f2b8c1d-9e47-4a06-b1c2-7d5e9f0a4b21"