Home > Data Model Assistant

Publish model

Access

This service is reachable by:

Publication fundamentals

A model in the data model assistant is not usable by data instances, as such. A step is necessary to make the model available for data instances: the publication.

Publishing a model consists in exporting the data model in the form of an XML schema. After publication, it is possible to create a data instance from the published model. After that, the instance is linked to the published model (and not directly to the data model).

As a consequence, it is possible to update a data model in the data model assistant without updating existing data instances. For updating the existing data instances, it is necessary to publish once again. Indeed, after generating model, the service refreshes the existing data instances which use the published model.

Publication service

Deployment modes

The publication service is tailored depending on the deployment mode (development or not). In development mode, technical informations are displayed in the service. In the other modes, they are masked.

Publication steps

  1. Validates the model adaptation. If errors have been found, a link to the report is displayed. In this case, publishing is impossible.

  2. Asks for a confirmation if data instances are linked to the published model (they will be refreshed). If publication is not confirmed, the service stops.

  3. Generates the schema and compiles it. For generating the schema, the model configuration is used. If the configuration is defined, the schema is generated in the specified model and location. Else, the schema is generated in ebxRepository/schemas , with the name of the model adaptation name (DmaAdaptationName.xsd). If compilation errors have been found, the schema is removed and publication stops. In this case, an error report is displayed.

  4. Refreshes data instances (if instances linked to the published model have been found).

  5. Displays a confirmation message. If instances linked to the published model have been found, a link to their content is displayed.

  6. If no instance is already linked to the published model, a wizard helps user to create an instance of the published model. For the instance creation, a default branch is always available: ebx-dma-instances . If the user selects this branch and it doesn't exist, it will be created just before the instance creation.

Home > Data Model Assistant