Servigistics InService Publishing and Loading > Additional Information > TAL Customization > Customizing PH Automatic Applicability
  
Customizing PH Automatic Applicability
You can define a set of options and choices to be automatically used for filtering when a user navigates to a product hierarchy (PH). By default, the system uses a logical expression that resizes the PH node and converts it into an element named setAutomaticApplicability. Servigistics InService uses this element in the user interface to set options and choices automatically when a PH is selected.
You can modify the customizations.xsl file so that the TAL process sets filtering options and choices automatically in the required format. Follow these steps to customize the PH applicability:
1. Add a template call for the custom attribute to the customizations.xsl file with mode = "CustomPH-applicability".
This generates the required markup in DCTM_Output after the customization. For example:
<setAutomaticApplicability>
<Option label="Product Family">
<Choice label="SUV"/>
</Option>
<Option label="Country">
<Choice label="USA"/>
<Choice label="UK"/>
</Option>
<Option label="Transmission">
<Choice label="Auto"/>
</Option>
<Option label="Engine Models">
<Choice label="Diesel Engine"/>
</Option>
</setAutomaticApplicability>
2. Set the CustomPH-applicability variable to process the customized template.