Documentation Center

Web Tool Installation and Setup

  • Each tool should be assigned a unique CW Web application id. The id should be in the following format cw_xxx (e.g. cw_di). This id is different than the tool name that is defined in pcmadmin. It is used to register the tool within the CW framework.
  • Web tools will be installed on the web server. Tools can be set up on the web server in one of two ways:
    • As a separate web application. This allows the tool to have its own session. Setting up a web application varies depending on the web server. Once the web application is setup on the web server, additional entries need to be made for the tool in the registry as well. The following registry entries need to be added when a new web tool is added as a separate web application:
      • Urls/appid_standardCodeURL
      • Urls/appid_customURL
      • Urls/appid_testURL
      • Settings/appid_debugLevel
    • The tool can be put in a subdirectory of cw_common/custom. In this case, the tools will share a session with other tools under the cw_common name space. The following registry entry needs to be added when a new web tool is in cw_common/code
      • Settings/appid_debugLevel
  • The tool must be set up in pcmadmin as a web tool. The command line should contain the URL for the tool (for example, for Content Fetch the command line is: prog cw_co/standard/code/mainCo.jsp?readonly=true). Show on Toolbar should be set to Yes if the tool should be displayed on the right-click menu in Contenta Web.