This activity lets you access user segments, content groups, and targeters in view-only mode. It corresponds with the Browse link next to Targeting and Segmentation in the Operations list. The definition starts as follows:

  <activity id="personalization.browseSegmentsAndTargeters" inherit-
   from="assetManager.defaultBrowse">
    <activity-name>
      personalization.browseSegmentsAndTargeters
    </activity-name>

This activity inherits settings from the assetManager.defaultBrowse activity.

When you access this activity in the Business Control Center, you see the Browse tab only:

   <tabs>
     <tab-order>
       <tab-id>browse</tab-id>
     </tab-order>
     <initial-tab>
       browse
     </initial-tab>

     <tab id="browse">
       <display-name-resource>
         assetManager.tab.browse
       </display-name-resource>
       <page>
         /browse/browseTab.jsp
       </page>

This activity specifies one tab and does not inherit others; however, it is still necessary to specify tab order and the initial tab.

The resource bundle key and JSP provided for this activity are the same as those identified in the prior activity defined in this task configuration file, personalization.users.

The views for the Browse tab are included as follows:

        <views>
          <view-order>
            <view-id>personalization.segmentsAndTargeters.segments</view-id>
            <view-id>personalization.segmentsAndTargeters.contentGroups</view-id>
            <view-id>personalization.segmentsAndTargeters.targeters</view-id>
          </view-order>
          <initial-view>
            personalization.segmentsAndTargeters.segments
          </initial-view>

The three views are visible in the Browse tab and accessible by the Show drop-down list in the order specified above. The mapping of view names in this file to views in the drop-down list is as follows:

View Name

Default View Name in the UI

personalization.segmentsAndTargeters.segments

User Segments

personalization.segmentsAndTargeters.contentGroups

Content Groups

personalization.segmentsAndTargeters.targeters

Targeters

The User Segments view displays first when you view this activity. The same types of information are provided for all three views. The example below shows personalization.segmentsAndTargeters.segments:

          <view id="personalization.segmentsAndTargeters.segments">
            <resource-bundle>
              atg.web.personalization.WebAppResources
            </resource-bundle>
            <display-name-resource>
              segmentsAndTargeters.browseTab.view.segments
            </display-name-resource>
            <configuration>
              /atg/web/assetmanager/configuration/targeting/
              SegmentViewConfiguration
            </configuration>
            <page>
              /browse/tree.jsp
            </page>
          </view>

This code describes the personalization.segmentsAndTargeters.segments view, which corresponds to the view you see when you select User Segments from the Show menu in the Browse tab. The User Segments label is defined in the resource bundle atg.web.personalization.WebAppResources. The key for this view is segmentsAndTargeters.browseTab.view.segments. Configuration details that determine the resources used to construct the view are provided in the SegmentViewConfiguration component, although the tree structure is provided by tree.jsp.

Note that none of the views have buttons because this is a view-only activity, so tools for moving, creating, and deleting are not necessary.


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved. Legal Notices