Child pages
  • How to get UUID or record internal id in ConfiForms

This is the documentation for ConfiForms Server/Data Center app

However, this might also work for ConfiForms cloud and in most cases it does. But please see this page to understand the differences between server and cloud versions of the ConfiForms app.

Each and every record in ConfiForms has set of metadata fields that are there automatically and managed for you by ConfiForms

From Documentation

  • id - record internal id (UUID), unique for every saved record within dataset
  • ownedBy - the username(s) of the users who own the record (and can fully control it) - multi-value field! Multiple users can own a record!
  • ownedByName - the full name of the user who owns the record   Use ownedBy.transform(fullName).asList
  • createdBy - the username of the user who has created the record (admin users can create records for other users)
  • createdByName - the full name of the user who has created the record  Use createdBy.fullName
  • created - the timestamp when the record was created
  • dateCreatedFormatted - a more readable way to see created timestamp (Uses "yyyy-MM-dd HH:mm" format, if you need "created" date in another format, use Virtual functions, created.formatDate(PATTERN) to get it in the format you want)
  • recordId - numeric ID of the record, unique within the form. If you want to reference the record always use "id" field instead

These fields could be queries the same way as you do with other, user defined fields.

To access and id (or UUID of the record) you can use the following methods

Using [entry.field_name] notation

[entry.id]

Or by Using ConfiForms Field macro, setting "Field name" parameter as follows


  • No labels