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?: booleanWhether to get portal data as well
readonly layout?: stringFileMaker Layout Name. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getLayouts"}
readonly limit?: numberMax number of results to return Default: 100 Type options: {"minValue":1}
readonly mod Id?: numberThe last modification ID. When you use modId, a record is edited only when the modId matches.
readonly offset?: numberThe record number of the first record in the range of records Default: 1
readonly portals?: stringThe 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?: numberInternal Record ID returned by get (recordid)
readonly response Layout?: stringChoose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getResponseLayouts"}
readonly script?: stringThe 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?: stringThe 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?: stringA parameter for the FileMaker script
readonly script Before?: stringThe 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?: stringA parameter for the FileMaker script
readonly script Param?: stringA parameter for the FileMaker script
readonly script Sort?: stringThe 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?: stringA parameter for the FileMaker script
readonly set Script After?: booleanWhether to define a script to be run after the action specified by the API call but before the subsequent sort
readonly set Script Before?: booleanWhether to define a script to be run before the action specified by the API call and after the subsequent sort
readonly set Script Sort?: booleanWhether to define a script to be run after the action specified by the API call but before the subsequent sort
readonly set Sort?: booleanWhether to sort data
readonly sort Parameters Ui?: { ... }Sort rules Default: {} Type options: {"multipleValues":true}
Default: "record"