Specifying the Deployment Path from SAP NetWeaver Development Studio
Use
Deploying models of portal content from Visual Composer creates the content to a predetermined path, located it in the Content Created for SAP folder. Likewise, a developer deploying content from SAP NetWeaver Development Studio (NWDS), by right-clicking the DC containing the relevant models and choosing Deploy, also places the content in the Content Created for SAP folder.
However, it is possible for the developer working in NWDS to specify the deployment path in the Portal Catalog by means of an XML file.
Procedure
Configuring DeploymentPath.XML
-
In the Visual Composer perspective, go to the Model Browser view.
-
In the context menu of the DC, choose . The Deployment.XML file of the DC opens.
-
Edit the XML file as shown in the following example:
<DeployPath dcName="test_dc"> <PortalContent>folder_a/folder_b/folder_c</PortalContent> <BusinessObjects>BOfolder/Bofolder_a</BusinessObjects> </DeployPath>
Exposing DeploymentPath.XML to Dependent DCs
-
In the Development Infrastructure perspective, go to the Component Properties view.
If the Component Properties view does not appear, double-click dcdef .
-
In the Public Parts tab, click Add to open the New Public Part dialog box.
The values of the Name , Caption , and Description fields are optional.
-
In the Purpose field, choose Compilation .
-
Choose Finish . This returns an empty public part.
-
Right-click the public part and choose Manage Entities , which displays the contents of the DC.
-
In the Manage Entities wizard, navigate to the DeploymentPath.xml file you created and click Finish to expose the XML file to dependent DCs.
Result
Upon deployment (from NWDS only), the portal content contained in the DC is created in the location specified by DeploymentPath.xml .

