| name | recipe-discover-and-modify-datatype |
| description | Search for a data type, inspect it, and update its configuration. |
| metadata | {"version":"0.4.8","requires":{"bins":["umbraco"],"skills":["umbraco-datatype"]}} |
Discover and Modify a Data Type
PREREQUISITE: Load the following skills: umbraco-datatype
Search for a data type, inspect it, and update its configuration.
Steps
umbraco datatype search --query "rich text" --output json
umbraco datatype get <id> --output json
umbraco datatype extensions <id> --output json
umbraco datatype add-extension <id> My.Custom.Extension --dry-run --output json
umbraco datatype add-extension <id> My.Custom.Extension --output json
Tips
- Use
datatype extensions to see the current extension list before modifying.
- add-extension and remove-extension handle fetch-merge-write automatically.