Show TOC

Procedure documentationDeploy the Model Locate this document in the navigation structure

 

The models that you build in Visual Composer are generated in Generic Modeling Language (GML) code. To deploy your application to a portal, the GML code must be compiled into a language supported by the portal. During compilation, warnings and possible errors may be discovered, enabling you to check the model validity. The compiled content is deployed directly to the portal.

Prerequisites

You are connected to a portal for which you have VC Role permissions.

Caution Caution

If you are deploying to a production portal, you must have Administrator permissions to deploy the model.

End of the caution.

Procedure

  1. On the Design board and using the navigation path above it, navigate up or down to the level of the model you want to deploy. For example, at the top level of your model, you may have a package containing pages and iViews, so you may want to drill down to a specific iView that you want to deploy.

  2. Click the Deploy button in the task-panel toolbar to display the Deploy to Portal task panel.

    Note Note

    • To deploy the entire model (regardless of the level displayed on the Design board), select the Deploy entire model check box. To deploy only the part of the model currently displayed, deselect the check box.

    • To compile only those iViews that have been changed in the model, select the Compile changed iViews only checkbox to enhance performance. (Available only with Flex 2.0.)

    End of the note.
  3. Click Deploy. The model is compiled and upon completion, a Deployed Successfully message is displayed. If errors occur or potential problems are discovered, the appropriate messages and warnings are displayed along with the source code. For the types of messages displayed, see Logging and Tracing.

Result

The contents of the model are packaged into PAR files, one file per iView. To view the deployed file in runtime, click the Run "<filename>" message displayed in the task panel.

Note Note

  • If you have deployed to a Flash runtime, you can also preview the application by clicking the Preview "<filename>" message. The application is displayed in a faster manner, showing the portal content area only (without the masthead and the navigation panel).

  • If you have previously deployed the model, a link to the runtime component from the last deployment remains in the task panel under the Last Deployment header. When you click this link, all relevant pages and primary iViews that were previously deployed are retrieved from the portal PCD automatically, with a time stamp.

End of the note.