Du visar hjälpinnehåll för version:
- 6.4
- Äldre versioner
Obs!
Adobe recommends using the SPA Editor for projects that require single page application framework-based client-side rendering (e.g. React). Learn more.
A model describes a type of content and denotes what will be information will be available to the native application. This section explains the creation of new models.
Viktigt:
Prerequisites for creating a model
Models can only be created under nodes that have been enabled by the Configuration Browser. The Configuration Browser also allows permissions to be defined so different users may only have access to the creation of models under certain configurations.
See, Enabling Data Models in Administering Content Services for detailed steps.
Obs!
To get started creating models a model type must exist. A model type defines the default state for each model created from it as well as the data types available to that model.
Once you have defined the configurations in the Configuration Browser, you can create and manage your models in the application dashborad. The following steps describe the model creation flow:
-
Obs!
Once you create a model, click Done to open the Data Model Editor to add the data types and set properties to the editor.
If you created your model using the Entity Group as the template, you will only view options such as Properties, Copy and Delete for that created model.
If you created your model using the Primitives Model Type as the template, you will only view options such as Edit, Properties, Copy and Delete for that created model.
-
If you choose the template as Primitive Models type, click Edit to add the data types using the Data Model Editor.
Or, if you are using the Entity Template for your model, then click on view properties to upload an image or get more information on the defined model.
Obs!
Alternatively, you can create your own custom models. See Models in Repository to create your own models and define data types.
Viewing a Model
The following steps are required for reading/viewing a model:
- Navigate to the Model Console
- Select the model from the list by clicking on its icon
- Choose Properties from the toolbar icons
- Click Save & Close or Save when done
Editing a Model
The following steps are required for editing a model:
- Navigate to the Model Console
- Select the model from the list by clicking on its icon
- Choose Edit from the toolbar icons to open the Data Model Editor.
- Make changes to the model
- Click Save when done
Obs!
You can only edit a Primitive Model Type.
Reading a Model
The following steps are required for editing a model:
- Navigate to the Model Console
- Select the model from the list by clicking on its icon
- Choose Properties from the toolbar icons
- Make changes to the model
- Click Save when done
Deleting a Model
The following steps are required for deleting a model:
- Navigate to the Model Console
- Select the model from the list by clicking on its icon
- Click Delete
Deleting a model will not delete entities generated from that model.