Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Audit.SetIgnoredFieldNames

Sets the ignored field names.

Component Version macOS Windows Linux Server iOS SDK
Audit 2.8 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Audit.SetIgnoredFieldNames"; Fields... )   More

Parameters

Parameter Description Example
Fields... The field name to ignore. Pass one parameter per field.
Version 7.3 or newer accepts a list of names here.
"MyField"

Result

Returns OK on success.

Description

Sets the ignored field names.
Default is "AuditState" and "AuditTimeStamp".
Best you call it once at startup of your solution.
With plugin version 4.4 you can use * on the end of the name to match all names starting with same text.
This list is not limited. You can make a list as long as stuff fit in memory.

Only for Audit.Changed and similar, which detect the field list automatically. Not used for Audit.Changed2 and others, which take a field list.

With plugin version 7.3 this can be a list of field names in each fields parameter.

You may best call this in start script of the solution to setup Audit as needed.

This function takes variable number of parameters. Pass as much parameters as needed separated by the semicolon in FileMaker.
Please repeat Fields parameter as often as you need.

Examples

Set ignored field names:

MBS( "Audit.SetIgnoredFieldNames"; "sAuditState"; "sAuditTimeStamp" )

Set ignored field names with a list of names:

MBS( "Audit.SetIgnoredFieldNames"; "sAuditState¶sAuditTimeStamp" )

See also

Release notes

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 11st November 2022


Audit.SetIgnoreUnderscoreFieldNames - Audit.SetLogAccess