Develop > Presentation layer > Customize marketing > Marketing customization: Management Center > Customizing triggers, targets, and actions > Add a new trigger, target or action


Add the campaign element to the element palette in the Activity Builder

You must include the new campaign element in the element palette so that business users can drag the new element from the palette into the work area.


Before you begin

Review the following topic to ensure that you understand how the element palette works:


Procedure

  1. Open WebSphere Commerce Developer and switch to the Enterprise Explorer view.

  2. In the Enterprise Explorer view, expand LOBTools > WebContent > WEB-INF > src > lzx > commerce > marketing > propertiesViews.

  3. Open the properties view file for the version of the Activity Builder that contains the palette that to add the campaign element to. For example, if you are adding an action element to the palette for Dialog activities, then open the properties view for Dialog activites.

    To add the campaign element to the palette in more than one properties view, perform the remaining steps in this procedure in each applicable properties view.

    The properties view files are:

    WebActivityBuilder.lzx

    This properties view contains the palette for Web activites.

    WebActivityTemplateBuilder.lzx

    This properties view contains the palette for Web activity templates.

    DialogActivityBuilder.lzx

    This properties view contains the palette for Dialog activites.

    DialogActivityTemplateBuilder.lzx

    This properties view contains the palette for Dialog activity templates.

  4. In the properties view file, locate the dataset named palette. Here is an example of the dataset for the Dialog activity palette:

    <dataset name="palette">     <Group resourceBundle="mktMarketingResources" name="triggers">         <Element objectType="wait"/>         <Element objectType="registers"/>         <Element objectType="purchases"/>         <Element objectType="customerIsInSegment"/>         <Element objectType="customerParticipatesInSocialCommerce"/>                
        </Group>     <Group resourceBundle="mktMarketingResources" name="targets">         <Element objectType="customerSegmentIdList"/>         <Element objectType="shoppingCart"/>         <Element objectType="purchaseHistory"/>         <Element objectType="catalogBrowsingBehavior"/>         <Element objectType="onlineBehavior"/>         <Element objectType="socialCommerceParticipation"/>         <Element objectType="time"/>     </Group>     <Group resourceBundle="mktMarketingResources" name="actions">         <Element objectType="sendMessage"/>         <Element objectType="issueCoupon"/>         <Element objectType="addToRemoveFromCustomerSegment"/>     </Group>     <Group resourceBundle="mktMarketingResources" name="branching">         <Element objectType="simpleBranch"/>         <Element objectType="branch"/>     </Group>
    </dataset>
    

  5. Insert a new <Element/> tag as a child of the appropriate <Group/> tag. The new <Element/> tag must have an objectType value that matches the objectType value defined in the object definition for the campaign element. Elements are displayed in the palette in the order that they are listed in this file.

  6. Save and close the properties view file.


Previous topic: Create the summary for the campaign element


Next topic: Create and registering a serialization JSP file for the campaign element


+

Search Tips   |   Advanced Search