Skip to main content
Asked a question 10 months ago

How do I generate a UUID/GUID in a SemQL formula and/or in an Enricher so I can use it as a default in a record attribute (this is not for a PRIMARY key generated by Semarchy for an entity...I want to populate a field during record authoring).

Where am I?

In Semarchy Community you can ask and answer questions and share your experience with others!

I am going to answer my own question here. The solution was to declare the extensions.uuid_generate_v4() function ALREADY required by Semarchy as a custom database function. Then I involk that in an enricher with a 'None" scope and fire that enricher on Form load...essentially creating "default" functionality where there was none.