Use the Model and Messages Console in the Repo Admin Console to manage models (see Repository Admin Console).
- Open the Admin Console (http://{host}:{port}/alfresco/service/enterprise/admin).
-
In the Consoles section, click Model and Messages
Console.
You see the Model and Messages Console page.
-
Perform the following as required for administering models:
- To list all deployed models that are stored in the repository data dictionary, type show models.
-
To upload model to repository and load into runtime data dictionary,
type deploy model. This command also sets the repository model as
active. If a model is already deployed, then it will be updated and
re-deployed.
deploy model alfresco/extension/exampleModel.xml
-
To permanently delete model from repository (all versions) and unload
from runtime data dictionary, type undeploy model.
undeploy model exampleModel.xml
-
To set repository model to active and load into runtime data
dictionary, type activate model.
activate model exampleModel.xml
-
To set repository model to inactive and unload from runtime data
dictionary, type deactivate model.
deactivate model exampleModel.xml
-
Perform the following as required for administering message resource bundles:
- To list all deployed message resource bundles that are stored in the repository data dictionary, type show messages.
-
To upload message resource bundle to repository and runtime message
service, type deploy messages.
deploy messages alfresco/extension/lifecycle-messages
-
To remove message resource bundle from repository and from runtime
message service, type undeploy messages.
undeploy messages lifecycle-messages
-
To reload message resource bundle from repository into runtime message
service, type reload messages.
reload messages lifecycle-messages