Removing 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.
About this task
- CustomerSegmentPropertiesView.lzx
- 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. - CustomerSegmentPropertiesView.def
- For each tab, this file includes the property group definition
for the customer segment attributes that display on the tab. To remove
a customer segment attribute, you edit the CustomerSegmentPropertiesView.def
file directly, and then either delete or comment out the property
group element.
For example, to remove the Age group attribute from the Demographics tab, remove
<PropertyGroup baseDefinitionName="mktCurrentAgeProperties"/>
from the CustomerSegmentPropertiesView.def file.
Procedure
- Open WebSphere Commerce Developer and switch to the Enterprise Explorer view.
- Complete one of the following steps:
- In the Enterprise Explorer view, expand .
- In the Enterprise Explorer view, expand .
- Open the customer segment properties view file in an editor:
Option Description CustomerSegmentPropertiesView.lzx - Find the instance of the properties class that represents the customer segment attribute you want to remove.
- 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>
- Save and close the file.
CustomerSegmentPropertiesView.def - Find the
PropertyGroup
element that represents the customer segment attribute you want to remove. - Comment out or delete the
PropertyGroup
element. 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:<PropertyTabPane name="demoTab" text="${mktMarketingResources.csDemographicsTab}"> <PropertyPane> <PropertyGroup collapsable="false" displayGrouping="true" name="demoGroup"> <PropertyGroup baseDefinitionName="mktGenderProperties"/> <!-- <PropertyGroup baseDefinitionName="mktCurrentAgeProperties"/> --> <PropertyGroup baseDefinitionName="mktAgeGroupProperties"/> <PropertyGroup baseDefinitionName="mktIncomeGroupProperties"/> <PropertyGroup baseDefinitionName="mktMaritalStatusProperties"/> <PropertyGroup baseDefinitionName="mktChildrenProperties"/> <PropertyGroup baseDefinitionName="mktHouseholdProperties"/> </PropertyGroup> </PropertyPane> </PropertyTabPane>
- Save and close the file.
What to do next
Version | Steps |
---|---|
|
|
|