Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Each record in ConfiForms has the following associated metadata:

Panel
  • id - the record id, unique for every saved record
  • ownedBy - the username of the user who owns the record (and can fully control it)
  • ownedByName - the full name of the user who owns the recordUse ownedBy.fullName
  • 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)

 

 

Info

ownedBy and createdBy are now User objects and you can access all user object properties! See here: Accessing field values and properties

...