Change or remove a field
change_fieldModify a Sameway content type: add pick-list choices, rename labels, hide or show fields, or delete a field or whole type and its records.
Instructions
Change a content type the person already has: add_choice gives a pick-list (enum) another choice (value, and label for how it reads); label renames how a field, or with value one of its choices, is shown (its name and what is stored stay); hide takes a field, or with no field the whole type, off the pages and out of your hands while keeping everything it holds; show brings it back; delete removes a field, or with no field the whole type and its records, on every computer that hosts the workspace. Delete is always put to the person as a question with hiding offered first; nothing is deleted until they choose. When someone asks to remove something, offer hiding.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The content type. | |
| field | No | The field; leave out to hide, show or delete the whole type. | |
| label | No | How it reads: the new label, or the new choice's label. | |
| value | No | add_choice: the choice. label: the choice to rename, when renaming a choice. | |
| change | Yes |