Official Content

Automatically generates values for an attribute or variable whose data type is GUID.




Generators: .NET, .NET Framework, Android, Apple, Java
Level: Attribute, Variable

Runtime/Design time

This property applies only at design time.


In the example below, the primary keys of the Customer and Invoice Transactions are defined based on the GUID data type because several disconnected company branches, as well as the head office, need to always generate unique values for those primary keys.

GUID Data Type Example 1 - GX 18

Note that the Autogenerate GUID property of both attributes is set to True in order to always obtain a Global Unique Identifier automatically when an insertion is performed.

See Also

Initial value property

Last update: November 2023 | © GeneXus. All rights reserved. GeneXus Powered by Globant