Audit.SetIgnoredFieldNames
--------------------------

Sets the ignored field names.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Audit](component_Audit.md) | [2.8](newinversion28.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Audit.SetIgnoredFieldNames"; Fields... ) 

**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" \*/ 

### 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](AuditChanged.md) and similar, which detect the field list automatically. Not used for [Audit.Changed2](AuditChanged2.md) 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

- [Audit.Backup](AuditBackup.md)
- [Audit.Changed](AuditChanged.md)
- [Audit.Changed2](AuditChanged2.md)
- [Audit.Delete](AuditDelete.md)
- [Audit.GetIgnoredFieldNames](AuditGetIgnoredFieldNames.md)

### Release notes

- **Version 7.3**
    - Changed [Audit.SetIgnoredFieldNames](http://www.mbsplugins.eu/AuditSetIgnoredFieldNames.shtml) to accept list of field names.

### Blog Entries

- [Configure Audit functions in MBS Plugin](https://www.mbsplugins.de/archive/2022-06-10/Configure_Audit_functions_in_M/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 7.3pr1](https://www.mbsplugins.de/archive/2017-06-05/MBS_FileMaker_Plugin_version_7/monkeybreadsoftware_blog_filemaker)
- [Audit with MBS FileMaker Plugin](https://www.mbsplugins.de/archive/2017-01-07/Audit_with_MBS_FileMaker_Plugi/monkeybreadsoftware_blog_filemaker)
- [Introducing Audit Plugin Functions for Filemaker](https://www.mbsplugins.de/archive/2012-08-01/Introducing_Audit_Plugin_Funct/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin, version 2.8pr9](https://www.mbsplugins.de/archive/2012-07-26/MBS_Filemaker_Plugin_version_2/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

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

  
[Audit.SetIgnoreUnderscoreFieldNames](AuditSetIgnoreUnderscoreFieldNames.md) - [Audit.SetLogAccess](AuditSetLogAccess.md)

[HTML Version](AuditSetIgnoredFieldNames.shtml)