---
sourceDocument: Xanadu API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/api-reference

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# GlideGuid - Client

# GlideGuid - Client {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

The GlideGuid API provides methods to create a globally unique identifier.

You access the GlideGuidV3 methods using the `g_guid` global object.

## GlideGuid - generate(Number stringLength) {#ariaid-title2}

Creates a globally unique identifier 32 characters long, or as specified with the
optional length argument.
{#r_GGV3-generate_N__table_zjn_bwb_mv__entry__3}

| Name | Type | Description |
|-|-|-|
| stringLength | Number | The desired string length, must be between 1 and 32 inclusive. This parameter is optional. If not specified, the returned string will be 32 characters long. |
[Table 1. Parameters]

{#r_GGV3-generate_N__table_zjn_bwb_mv} {#r_GGV3-generate_N__table_akn_bwb_mv__entry__2}

| Type | Description |
|-|-|
| String | The globally unique identifier. |
[Table 2. Returns]

{#r_GGV3-generate_N__table_akn_bwb_mv}

