Develop > Presentation layer > Customize marketing > Marketing customization: Management Center > Customizing customer segments


Remove a customer segment attribute from Management Center

If there are certain customer segment attributes that your site does not use or support, you can remove those attributes from the user interface. This way, business users can no longer see the attribute when working with customer segments.

The CustomerSegmentPropertiesView.lzx file defines all the tabs in the customer segment properties view, such as the Demographics tab and the Address tab. For each tab, this file specifies the instance of the properties class for the customer segment attributes that display on the tab.

To remove a customer segment attribute, you edit the CustomerSegmentPropertiesView.lzx file directly, and then either delete or comment out the instance of the properties class.

For example, to remove the Age group attribute from the Demographics tab, remove <mktAgeGroupProperties/> from the CustomerSegmentPropertiesView.lzx file.


Procedure

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

  2. Open the following file in an editor:

    LOBTools/WebContent/WEB-INF/src/lzx/commerce/marketing/propertiesViews/CustomerSegmentPropertiesView.lzx

  3. Find the instance of the properties class that represents the customer segment attribute to remove.

  4. Comment out or delete the instance of the properties class. For example, to comment out the Age group attribute so that it no longer displays on the Demographics tab, modify the line as shown in bold in this example:

    <wcfPropertyTabPane name = "demoTab" text = "${mktMarketingResources.csDemographicsTab.string}">    
    <wcfPropertyPane>        
    <wcfPropertyGroup name = "demoGroup" collapsable = "false" displayGrouping = "true">            
    <mktGenderProperties/>            
    <mktCurrentAgeProperties/>             <!-- 
    <mktAgeGroupProperties/>   -->
               
    <mktIncomeGroupProperties/>            
    <mktMaritalStatusProperties/>            
    <mktChildrenProperties/>            
    <mktHouseholdProperties/>        
    </wcfPropertyGroup>    
    </wcfPropertyPane>
    </wcfPropertyTabPane>
    

  5. Save and close the file.


What to do next

After you complete your customization:

  1. Right-click LOBTools Project; then click Build OpenLaszlo Project to produce an updated ManagementCenter.swf file under the workspace_dir\LOBTools\WebContent directory. This is the default environment setting.

  2. Test the changes by viewing them in the Management Center, using this URL: https://hostname:8000/lobtools.

  3. Deploy your changes to the production environment.


+

Search Tips   |   Advanced Search