interface CodaNodeParameters {
columnId?: string;
controlId?: string;
docId?: string;
formulaId?: string;
keyName?: string;
limit?: number;
operation?:
| "get"
| "getAll"
| "createRow"
| "deleteRow"
| "getAllColumns"
| "getAllRows"
| "getColumn"
| "getRow"
| "pushButton"
| "deleteViewRow"
| "getAllViewColumns"
| "getAllViewRows"
| "pushViewButton"
| "updateViewRow";
options?: | {
disableParsing?: boolean;
keyColumns?: string;
}
| {
rawData?: boolean;
useColumnNames?: boolean;
valueFormat?: "simple"
| "simpleWithArrays"
| "rich";
}
| {
query?: string;
rawData?: boolean;
sortBy?: "createdAt"
| "natural";
useColumnNames?: boolean;
valueFormat?: "simple" | "simpleWithArrays" | "rich";
visibleOnly?: boolean;
}
| {
query?: string;
rawData?: boolean;
sortBy?: "createdAt"
| "natural";
useColumnNames?: boolean;
valueFormat?: "simple" | "simpleWithArrays" | "rich";
}
| { disableParsing?: boolean };
resource?: "view" | "control" | "formula" | "table";
returnAll?: boolean;
rowId?: string;
tableId?: string;
viewId?: string;
}Properties§
readonly column Id?: stringreadonly control Id?: stringThe control to get the row from
readonly doc Id?: stringID of the doc. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getDocs"}
readonly formula Id?: stringThe formula to get the row from
readonly key Name?: stringThe view to get the row from Default: "columns"
readonly limit?: numberMax number of results to return Default: 50 Type options: {"minValue":1,"maxValue":100}
readonly operation?:
| "get"
| "getAll"
| "createRow"
| "deleteRow"
| "getAllColumns"
| "getAllRows"
| "getColumn"
| "getRow"
| "pushButton"
| "deleteViewRow"
| "getAllViewColumns"
| "getAllViewRows"
| "pushViewButton"
| "updateViewRow"Default: "createRow"
readonly options?:
| { disableParsing?: boolean; keyColumns?: string }
| {
rawData?: boolean;
useColumnNames?: boolean;
valueFormat?: "simple" | "simpleWithArrays" | "rich";
}
| {
query?: string;
rawData?: boolean;
sortBy?: "createdAt"
| "natural";
useColumnNames?: boolean;
valueFormat?: "simple" | "simpleWithArrays" | "rich";
visibleOnly?: boolean;
}
| {
query?: string;
rawData?: boolean;
sortBy?: "createdAt"
| "natural";
useColumnNames?: boolean;
valueFormat?: "simple" | "simpleWithArrays" | "rich";
}
| { disableParsing?: boolean }Default: {}
readonly resource?: "view" | "control" | "formula" | "table"Default: "table"
readonly return All?: booleanWhether to return all results or only up to a given limit
readonly row Id?: stringID or name of the row. Names are discouraged because they're easily prone to being changed by users. If you're using a name, be sure to URI-encode it. If there are multiple rows with the same value in the identifying column, an arbitrary one will be selected
readonly table Id?: stringThe table to create the row in. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsDependsOn":["docId"],"loadOptionsMethod":"getTables"}
readonly view Id?: stringThe view to get the row from
Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["docId","tableId"]}