wecom_smartsheet_setup_fields
Initialize a smartsheet's column schema by renaming the default field and adding specified columns. Must be called before adding records to a new sheet to ensure correct field structure.
Instructions
Initialize a smartsheet's column schema. Renames the default field and adds remaining fields. Must be called before adding records to a new sheet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Smartsheet URL (or use docid) | |
| docid | No | Smartsheet docid (or use url) | |
| sheet_id | Yes | Sheet ID from wecom_smartsheet_get_sheet | |
| field_names | Yes | Column names in order |