Applying conditions to table rows

Last Updated : May 19, 2021 |
Prolog information
  1. Check out the topic in Oxygen XML Author.
  2. Click ViewTablesTable Markup.
    ADDITIONAL INFORMATION:
  3. Depending on the table type, place the cursor inside the row, strow, or partrow element to which you want to apply the condition.
    ADDITIONAL INFORMATION:
    Do not apply condition to table rows in a section of a table that has spanning. When you span rows, the number of rows is calculated. When you apply conditions and do not include that condition in your output, the number of rows for spanning is taken incorrectly. In the output, the table is displayed correctly.
  4. In Oxygen XML Author, click SDL Tridion DocsConditional textSet condition.
    STEP RESULT:
    The page displays the Condition Builder dialog box.
  5. To apply conditions to other rows in a table, repeat from Step 3.
  6. Check in the topic.
  7. In the Content tab of Publication Manager, preview the topic in the right pane to validate that the element where you added the condition shows with either red or green highlighting.
Next steps
  • In the Conditions tab of the publication, select the appropriate condition.
  • Publish the output and verify if the conditionalized text is visible or hidden based on what you set in the Conditions tab.