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:

  1. 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.

  2. Navigate to the CommerceAccelerator project.

  3. Navigate to the Web Content/tools/ directory.

  4. Create a custom folder.

  5. Copy the target file from the appropriate component folder to your custom folder.

  6. Double-click the new file in the custom folder to open it in the editor window.

  7. Update the file as necessary.

  8. 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:

  1. Create a new directory in which you will store your custom XML files.

  2. Copy the XML file from your /WCDE_installdir/xml/tools/campaigns directory, into your custom directory.

  3. Open the file in an editor and make any necessary changes.

  4. 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