Data Model setup options
You can either configure your Data Model as part of the Editor (recommended for smaller Data Models), or set it up as a standalone item with its own configuration (recommended for more elaborate Data Models).
Depending on the complexity of your Data Model, you can do one of the following:
- Add your Data Model to the configuration of your Editor
-
For modest Data Models, add your Data Model to the configuration of the custom Editor you created. Your Data Model extensions go in a new
<ext:modelextensions>element that you insert below the<ext:dataextenders>element. This puts the Data Model and the various extensions, custom controls, and so on, all in the same file. - Set up, register and configure a standalone Data Model
- If your Data Model involves lots of interaction with your custom data, or if you simply prefer keeping your controls and your model separate, set your Data Model up separately from your custom Editor. Setting up a Data Model involves creating a configuration and registering your Data Model.