Portlet Factory, Version 6.1.2


 

Filtering a schema-typed XML variable

This topic describes the steps to follow to filter a schema-typed XML variable.

  1. Place a Transform-Filter builder call in the model containing the variable you want to filter.

  2. In the builder call editor, select the variable that contains the information you want to filter. Once you select a variable, the Element to Filter picker is populated with elements from the schema associated with the specified variable. Pick the desired element to filter.

  3. Specify the target variable, if different from the source variable, in the Target Variable input. Leave the Target Variable input blank to save filtered results back to the source variable.

  4. Use the Filter Behavior input to specify how you want matching elements treated (keep or remove all matching elements).

  5. Filter criteria. For each criterion, enter the element or attribute (relative to the Element specified in the Element to Filter input), the operator, the operand, and the method to use to compare the values. If multiple criteria are specified, all criteria must be satisfied for the element to pass the filter. Once the builder call is applied and saved, a new method called builderNameCallFilter will be available in the WebApp.

  6. Use a Method Call builder or some other means to call this method at the desired time and perform filtering.

Parent topic: Transform-Filter builder


Library | Support |