popnoire/site/OFF_plugins/field-engineer/docs/templates-snippets.md
2026-02-12 15:22:46 +01:00

11 lines
No EOL
556 B
Markdown

# Templates and snippets
Engineer saved the data similar to the [structure](https://getkirby.com/docs/cheatsheet/panel-fields/structure) field.
### toStructure
If you only use one level in depth and don't use multiple fieldsets you should be fine using [toStructure](https://getkirby.com/docs/cheatsheet/field-methods/toStructure).
### yaml
If you use a more complex structure you can use [yaml as a custom field method](https://getkirby.com/docs/cheatsheet/field-methods/yaml) or the [yaml method](https://getkirby.com/docs/toolkit/api/helpers/yaml).