generate-guid-client
Mobile icon

Generate Guid Client Action

Stable version 1.0.10 (Compatible with OutSystems 11)
Uploaded
 on 26 Oct
 by 
0.0
 (0 ratings)
generate-guid-client

Generate Guid Client Action

Details
This is a GUID generator to use on client actions, it generates v4 or v7 (timestamped) UUID unique identifiers. It's similar to the server action 'GenerateGuid', but usable in client actions (which means it can be used while offline!). Tested on mobile apps, on both Android and iOS devices. Example of generated GUID: "635844f6-0856-42a2-a832-4b9d3b775bd2" (UUID v4) "018b39a2-049f-745a-a03d-a25ce8da06b4" (UUID v7)
Read more

This client action generates a unique GUID. It uses the JavaScript randomUUID() method of the Crypto interface. It generates a v4 UUID using a cryptographically secure random number generator.

Update: now supporting optional sequencial and timestamped UUID v7

Example of a generated GUID: "635844f6-0856-42a2-a832-4b9d3b775bd2"

Browser compatibility:

(source: developer.mozilla.org)


For more information check the following links:

https://w3c.github.io/webcrypto/#Crypto-method-randomUUID

https://developer.mozilla.org/en-US/docs/Web/API/Crypto/randomUUID

https://buildkite.com/blog/goodbye-integers-hello-uuids

Release notes (1.0.10)

Code update for UUiD v7

License (1.0.10)
Reviews (0)
Team
Other assets in this category