A SERVICE OF

logo

SAP Online Help 07.09.2004
SAP NetWeaver Visual Composer: User Guide 180
Deploying the Model
Use
When you build a model, Generic Modeling Language (GML) code is automatically
generated. To deploy your application to a portal, the GML code must be compiled into a
language supported by the portal. The Visual Composer compiler lets you generate a portal
business package to assist you in checking your model for errors, and deploys the compiled
content directly to the portal.
In order to prevent upload (and deployment) of content created by Visual
Composer to a portal production server, the portal administrator should perform
the following procedure:
...
1. Open the com.sap.portal.guimachine.portalconnector.par file found in the
PORTAL-INF folder.
2. Change the value of the allowOnProduction parameter to False (default is True). This
parameter is found in the following part of the file:
.
.
.
<command name="parupload" type="Command-Handler"
handler="com.sap.portal.guimachine.portalconnector.CommandHandle
r">
<param name="allowOnProduction" value="true"/>
</command>
.
.
.
Procedure
...
1. Choose Build Deployer to display the Deployer task panel.
2. If you are not already connected to a portal, connect to one now.
3. In the Design workspace, indicate the part of the model that is to be deployed to the
portal:
{ If you select nothing, Visual Composer will deploy every component in the model
from the current level (module, page or iView) on down through the model.
{ If you select a page or an iView, only that component will be deployed.
4. Select one of the following compiler options:
Delete entire existing model
first
If there is another model of the same name, this
option causes the original target folder to be deleted
before deployment, in order to create the new folder
of the same name. Note that this overwrite can result
in the loss of other content existing on the portal,
which should be saved.
Include source in PAR files
If selected, the Java source code generated when the
model is compiled will also be included in the PAR
file.
5. To check the actual code, you can click Check. A list of generated files will be displayed
in the Package Viewer window. Click any file in the Package Files list at the right to
view the compiled code. When done, click Close.