Developer Mapping Guide > How to Develop and Run a Dynamic Mapping > Creating a Port Selector
  

Creating a Port Selector

Create a port selector to determine which ports to use in a dynamic expression, a lookup condition, or a joiner condition.
    1. Click the Port Selectors tab.
    2. In the Port Selectors area, click New.
    The Developer tool creates a port selector with a default selection rule that includes all ports.
    3. In the Port Selectors area, change the port selector name to a unique name.
    4. If you are working on the Joiner transformation or the Lookup transformation, choose the scope.
    The available ports change based on the group of ports that you choose.
    5. In the Selection Rules area, select an Operator.
    6. Choose the Selection Criteria.
    The following image shows the Port Selector tab:
    The port selector tab shows a port selector called Join_Selector. The scope is Detail, which is the Detail input group of a Joiner transformation. The Operator is Include. The Selection Criteria is By Pattern. The Detail column says prefix: City. The Port preview column shows City and City2 ports.
    7. Click the Detail column.
    The Input Rule Detail dialog box appears.
    8. Select the values to filter ports by.
    The Port Preview area shows the ports in the port selector as you configure the rules.
    9. To reorder the ports in the port selector, select Reorder generated ports according to the input rule order.