Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
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
MBS(
"Audit.SetIgnoredFieldNames"; /* Sets the ignored field names. */
$Fields...) /* The field name to ignore. Pass one parameter per field.
Version 7.3 or newer accepts a list of names here.e.g. "MyField" */
Less
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