Assets used by the Campaigns component
The campaign component is based upon the following assets.
JSP assets
The campaign JSP assets listed in the following table should be modified using the following procedure:
- Open the WebSphere Commerce development environment (Start > Programs > IBM WebSphere Commerce development environment) and switch to the
J2EE Perspective Project Navigator view
Express Project Navigator view.- Navigate to the CommerceAccelerator project.
- Navigate to the Web Content/tools/ directory.
- Create a custom folder.
- Copy the target file from the appropriate component folder to your custom folder.
- Double-click the new file in the custom folder to open it in the editor window.
- Update the file as necessary.
- Update the Struts configuration file to point to the customized version of the file.
The following table lists all of the campaign JSP files.
Campaign JSP Assets Page JSP file Properties file Campaign List CampaignList.jsp /WCDE_installdir/properties/runtime/com/ibm /commerce/tools/campaigns/properties /CampaignsRB_locale.properties Campaign Properties CampaignPanel.jsp Campaign Summary CampaignSummaryPanel.jsp Campaign Delete Dialog CampaignsDeletedPanel.jsp Processes Results of Campaign Deletion CampaignDeleteRedirect.jsp
XML assets
The campaign XML assets listed in the following table should be modified using the following procedure:
- Create a new directory in which you will store your custom XML files.
- Copy the XML file from your /WCDE_installdir/xml/tools/campaigns directory, into your custom directory.
- Open the file in an editor and make any necessary changes.
- Update the XMLPath value in the instance.xml file such that you prepend the custom directory path to the existing list of paths.
The following table lists all of the campaign XML files that may require updates.
Campaign XML files XML filename Description CampaignList.xml Defines the framework for the Campaign List page. This includes navigation, and action buttons, but the content in the primary frame originates in the CampaignList.jsp file. CampaignsDeletedDialog.xml Defines the framework and content for the Campaign Deleted dialog. CampaignSummaryDialog.xml Defines the framework and content for the Campaign Summary dialog. CampaignDialog.xml Defines the framework for the Campaign Properties page. This includes navigation, and action buttons, but the content in the primary frame originates in the CampaignGeneralPanel.jsp and CampaignBusinessPanel.jsp files.
Database assets
The campaign component makes use of data stored in the database table described in the following table.
Campaign database tables Table name Column name Additional information Campaign CAMPAIGN_ID System generated. DESCRIPTION Entered by a business user on the General page. FIELD1 Available for custom information. LASTUPDATE System generated. LASTUPDATEDBY System generated. NAME Entered by a business user on the General page. OBJECTIVE Entered by a business user on the Business Objectives page. OWNER Entered by a business user on the Business Objectives page. STATUS Updated according to action buttons on the Campaigns list page. STOREENT_ID Reference to STOREENT table. TYPE Available for custom information. Related concepts
Related reference