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§
readonly action?:
| "create"
| "delete"
| "record"
| "edit"
| "find"
| "duplicate"
| "records"
| "performscript"
readonly fields Parameters Ui?: { ... }
Fields to define Default: {} Type options: {"multipleValues":true}
readonly get Portals?: boolean
Whether to get portal data as well
readonly layout?: string
FileMaker Layout Name. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getLayouts"}
readonly limit?: number
Max number of results to return Default: 100 Type options: {"minValue":1}
readonly mod Id?: number
The last modification ID. When you use modId, a record is edited only when the modId matches.
readonly offset?: number
The record number of the first record in the range of records Default: 1
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"}
readonly queries?: { ... }
Default: {} Type options: {"multipleValues":true}
readonly recid?: number
Internal Record ID returned by get (recordid)
readonly response Layout?: string
Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getResponseLayouts"}
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"}
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"}
readonly script After Param?: string
A parameter for the FileMaker script
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"}
readonly script Before Param?: string
A parameter for the FileMaker script
readonly script Param?: string
A parameter for the FileMaker script
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"}
readonly script Sort Param?: string
A parameter for the FileMaker script
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
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
readonly set Script Sort?: boolean
Whether to define a script to be run after the action specified by the API call but before the subsequent sort
readonly set Sort?: boolean
Whether to sort data
readonly sort Parameters Ui?: { ... }
Sort rules Default: {} Type options: {"multipleValues":true}
Default: "record"