interface FileMakerNodeParameters {
action?:
| "create"
| "delete"
| "record"
| "edit"
| "find"
| "duplicate"
| "records"
| "performscript";
fieldsParametersUi?: {
fields: { name?: string; value?: string }[];
};
getPortals?: boolean;
layout?: string;
limit?: number;
modId?: number;
offset?: number;
portals?: string;
queries?: {
query: {
fields?: {
field: { name?: string; value?: string }[];
};
omit?: boolean;
}[];
};
recid?: number;
responseLayout?: string;
script?: string;
scriptAfter?: string;
scriptAfterParam?: string;
scriptBefore?: string;
scriptBeforeParam?: string;
scriptParam?: string;
scriptSort?: string;
scriptSortParam?: string;
setScriptAfter?: boolean;
setScriptBefore?: boolean;
setScriptSort?: boolean;
setSort?: boolean;
sortParametersUi?: {
rules: {
name?: string;
value?: "ascend"
| "descend";
}[];
};
}
Properties§
Source§readonly action?:
| "create"
| "delete"
| "record"
| "edit"
| "find"
| "duplicate"
| "records"
| "performscript"
readonly action?:
| "create"
| "delete"
| "record"
| "edit"
| "find"
| "duplicate"
| "records"
| "performscript"
Source§readonly fields Parameters Ui?: { fields: { name?: string; value?: string }[] }
readonly fields Parameters Ui?: { fields: { name?: string; value?: string }[] }
Fields to define Default: {} Type options: {"multipleValues":true}
Source§readonly layout?: string
readonly layout?: string
FileMaker Layout Name. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getLayouts"}
Source§readonly limit?: number
readonly limit?: number
Max number of results to return Default: 100 Type options: {"minValue":1}
Source§readonly mod Id?: number
readonly mod Id?: number
The last modification ID. When you use modId, a record is edited only when the modId matches.
Source§readonly offset?: number
readonly offset?: number
The record number of the first record in the range of records Default: 1
Source§readonly portals?: string
readonly portals?: string
The portal result set to return. Use the portal object name or portal table name. If this parameter is omitted, the API will return all portal objects and records in the layout. For best performance, pass the portal object name or portal table name. Choose from the list, or specify an ID using an expression. Default: [] Type options: {"multipleValues":true,"multipleValueButtonText":"Add portal","loadOptionsMethod":"getPortals"}
Source§readonly queries?: {
query: {
fields?: {
field: { name?: string; value?: string }[];
};
omit?: boolean;
}[];
}
readonly queries?: {
query: {
fields?: {
field: { name?: string; value?: string }[];
};
omit?: boolean;
}[];
}
Default: {} Type options: {"multipleValues":true}
Source§readonly response Layout?: string
readonly response Layout?: string
Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getResponseLayouts"}
Source§readonly script?: string
readonly script?: string
The name of the FileMaker script to be run. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getScripts"}
Source§readonly script After?: string
readonly script After?: string
The name of the FileMaker script to be run after the action specified by the API call and after the subsequent sort. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getScripts"}
Source§readonly script Before?: string
readonly script Before?: string
The name of the FileMaker script to be run after the action specified by the API call and after the subsequent sort. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getScripts"}
Source§readonly script Sort?: string
readonly script Sort?: string
The name of the FileMaker script to be run after the action specified by the API call but before the subsequent sort. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getScripts"}
Source§readonly set Script After?: boolean
readonly set Script After?: boolean
Whether to define a script to be run after the action specified by the API call but before the subsequent sort
Source§readonly set Script Before?: boolean
readonly set Script Before?: boolean
Whether to define a script to be run before the action specified by the API call and after the subsequent sort
Default: "record"