Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1    Statistic  

XML.Import.SetExtraField

Sets the extra field to add to all tables.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
XML 7.1 Yes Yes Yes Yes Yes
MBS( "XML.Import.SetExtraField"; FieldName; FieldValue { ; FieldType } )   More

Parameters

Parameter Description Example value
FieldName The name of the extra field. "ImportID"
FieldValue The value for this field.
Can be any data type, but must match field type.
1
FieldType Optional
The SQL field type.
Default is "VARCHAR" for a text field.
"VARCHAR"

Result

Returns OK or error.

Description

Sets the extra field to add to all tables.
Please call before XML.Import.
You can call it again when import loop is done and pass in empty name and value to clear it.
Only one extra field and only added when table is created.

Examples

Set extra field:

Set Variable [ $r ; Value: MBS( "XML.Import.SetExtraField"; "test"; "Hello"; "VARCHAR") ]

See also

Blog Entries

Release notes

Created 2nd February 2017, last changed 19th June 2019


XML.Import.SetBaseFields   -   XML.Import.Status

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos