Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Audit.SetUUIDField
Sets the UUID field name.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Audit | 7.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "Audit.SetUUIDField"; FieldName ) More
Parameters
Parameter | Description | Example |
---|---|---|
FieldName | The field name. | "UUID" |
Result
Returns OK or error.
Description
Sets the UUID field name.If set, we use UUIDs for Record IDs. The name given here should be used in all tables for the unique ID field.
If no field with that name is in a table, we fall back to the normal RecordID.
Please add a field named UUID to the AuditLog table (and layout), so the plugin can fill and query this field.
You may best call this in start script of the solution to setup Audit as needed.
Examples
Defines UUID to be the field where we store unique redord IDs:
MBS( "Audit.SetUUIDField"; "UUID" )
See also
Release notes
- Version 7.3
- Added UUID mode for Audit. Call Audit.SetUUIDField please to enable.
Blog Entries
This function checks for a license.
Created 15th May 2017, last changed 3th June 2021