Transforming the LIMIT command from a SoDA template

This topic describes how to transform the LIMIT command from a SoDA® template to use in a Rational® Publishing Engine template.

About this task

Some SoDA templates contain the LIMIT command. When you use the IBM® Rational Publishing Engine SoDA migration tool to transform the command to Rational Publishing Engine templates, the LIMIT command does not transform successfully.

Procedure

  1. After transforming the SoDA template to a Rational Publishing Engine template, locate a condition icon in the element that contains the limit command. Example:
    Migrated from SoDA template icon
  2. Identify the command in the SoDA template. Example:
    SoDA template command
  3. If there is no corresponding query in the Rational Publishing Engine template, add a query:
    1. From the Data Source Schema view, drag the query into the element with the condition. Example: Drag the Package query into the paragraph element.
  4. Enter the attribute for the condition:
    1. Right-click the element you added the query to.
    2. Select Data > Edit condition.
    3. In the Script Expression tab, expand Attributes.
    4. Select the attributes. Example: Name and ViewName.
    5. In the Left operand field, select the attribute. Example: Name.
    6. For the Operator, select Equals.
    7. In the Right operand field, select the attribute. Example: ViewName
    8. Click Add. The example expression displays as: Name == ViewName
    9. Click OK. The new condition is available with the LIMIT command.

Feedback