Customization > Deploying Code and Configuration Package > Customization Examples with CCD > Use Case 3: CCD package for Visualization Configuration Administration
Use Case 3: CCD package for Visualization Configuration Administration
1. Create, use, and run a deployment build using Code and Configuration Deployment (CCD). Refer the article CS393554 for more details.
2. Add the supported content for Visualization Configuration Administration in CCD Package at the following location:\ccd_package\configurations\loadFiles\custom\wvs\configurationTemplates
3. Create a loadFile.xml in the same folder where you added the supported content. Add the following content as reference.
<?xml version="1.0"?>
<!DOCTYPE NmLoader SYSTEM "standardX24.dtd">
<NmLoader>
<csvWVSConfigurationTemplate handler="wt.viewmarkup.LoadWVSConfigurationTemplate.loadTemplate">
<csvWVSConfigurationTemplateName> PublishRules_organization </csvWVSConfigurationTemplateName>
<csvWVSConfigurationTemplateReplace> true </csvWVSConfigurationTemplateReplace>
<csvWVSConfigurationTemplateReplaceExistingFiles> true </csvWVSConfigurationTemplateReplaceExistingFiles>
<csvWVSConfigurationTemplateFiles> {Add list of comma-separated configuration files like PublishRules-Multi-fidelity_org.xml,
PROE_configuration.zip,publish_overlayrecipefile_fortype_PROE_prt.rcp,PrinterConfig.xml,Groups_org.zip,watermark_org.zip,
LiveCycleServerTemplate_org.ddx etc} </csvWVSConfigurationTemplateFiles>
</csvWVSConfigurationTemplate>
</NmLoader>

4. Create loadFileSet.xml at the following location with content to be loaded in Visualization Configuration Administration for Site, Organization, and Product context. It should point to the loadFile.xml
Location: \ccd_package\configurations\loadFiles\custom
Following is an example of descriptor.xml :
<?xml version="1.0"?>
<!DOCTYPE loadFileList SYSTEM "/wt/load/windchillLoad.dtd">
<loadFileList>
<loadFile filename = "custom/wvs/configurationTemplates/loadFile_site.xml"
title = "Loading file at Site level Visualization Configuration Administration UI" containerPath = "/"/>
<loadFile filename = "custom/wvs/configurationTemplates/loadFile_org.xml"
title = "Loading file at Organization level Visualization Configuration Administration UI"
containerPath = "/wt.inf.container.OrgContainer = wvs"/>
<loadFile filename = "custom/wvs/configurationTemplates/loadFile_prod.xml"
title = "Loading file at Product level Visualization Configuration Administration UI"
containerPath = "/wt.inf.container.OrgContainer = wvs/wt.pdmlink.PDMLinkProduct = product1"/>
</loadFileList>
5. Update the deploy.xml which is available at the following location pointing to loadFileSet.xml as shown below.
Location: \ccd_package\configurations
<deploy>
<loadFileSet>custom/loadFileSet.xml</loadFileSet>
</deploy>
6. Create or update the custom.site.xconf at below location with the following property.
Location: \ccd_package\configurations\xconf.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configuration SYSTEM "xconf.dtd">
<Configuration xmlns:xlink="http://www.w3.org/1999/xlink">
<Property name="wt.wvs.configurationTemplateLoadDirectory"
overridable="true"
targetFile="codebase/wt.properties"
value="$(wt.home)$(dir.sep)loadFiles$(dir.sep)custom$(dir.sep)wvs$(dir.sep)configurationTemplates$(dir.sep)"/>
</Configuration>
7. Run the package.
Was this helpful?