XML.Import.SetBaseFields
------------------------

Sets the names of the base fields per record.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [XML](component_XML.md) | [7.1](newinversion71.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "XML.Import.SetBaseFields"; RecordUUIDFieldName; CreationTimeStampFieldName; ParentRecordUUIDFieldName ) 

**MBS**( **"XML.Import.SetBaseFields";** /\* Sets the names of the base fields per record. \*/  
**$RecordUUIDFieldName**; /\* The field name for the record UUID field.e.g. "\_RecordUUID" \*/   
**$CreationTimeStampFieldName**; /\* The name for the time stamp field.e.g. "\_CreationTimeStamp" \*/   
**$ParentRecordUUIDFieldName**) /\* The name for the parent record UUID field.e.g. "\_ParentRecordUUID" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| RecordUUIDFieldName | The field name for the record UUID field. | "\_RecordUUID" |
| CreationTimeStampFieldName | The name for the time stamp field. | "\_CreationTimeStamp" |
| ParentRecordUUIDFieldName | The name for the parent record UUID field. | "\_ParentRecordUUID" |

### Result

Returns OK or error.

### Description

Sets the names of the base fields per record.  
If the names are empty, the field is not created.  
### Examples

Disable all fields:

 MBS ("XML.Import.SetBaseFields"; ""; ""; "")  
Set default names:

 MBS ("XML.Import.SetBaseFields"; "\_RecordUUID"; "\_CreationTimeStamp"; "\_ParentRecordUUID")  
### See also

- [JSON.Import](JSONImport.md)
- [JSON.Import.SetBaseFields](JSONImportSetBaseFields.md)
- [XML.Import](XMLImport.md)
- [XML.Import.SetExtraField](XMLImportSetExtraField.md)

### Release notes

- **Version 7.1**
    - Added [XML.Import.SetBaseFields](http://www.mbsplugins.eu/XMLImportSetBaseFields.shtml) and [XML.Import.SetExtraField](http://www.mbsplugins.eu/XMLImportSetExtraField.shtml).

### Blog Entries

- [MBS FileMaker Plugin, version 7.1pr1](https://www.mbsplugins.de/archive/2017-02-04/MBS_FileMaker_Plugin_version_7/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 2nd February 2017 , last changed 5th December 2022

  
[XML.Import.GetExtraFieldDefinitions](XMLImportGetExtraFieldDefinitions.md) - [XML.Import.SetExtraField](XMLImportSetExtraField.md)

[HTML Version](XMLImportSetBaseFields.shtml)