Introduction
A visible rule bookmark determines the appropriate text to include in a correspondence based on the results of a mapped condition expression. In this example, a visible rule bookmark points to a visible rule that checks whether a field value is equal to “ORDR”.
Prerequisites
|
Quick Steps |
| 1 |
Run the Correspondence Service, then open the Word template. |
| 2 |
Update the template, then save the template. |
| 3 |
Synchronize the bookmarks. |
| 4 |
Map the non-rule bookmarks. |
| 5 |
Open the Visible Rule tab and enter the Rule ID. |
| 6 |
Save the correspondence. |
Detailed Steps
Step 1. Run the Correspondence Service, then open the Word template.
You must run the Correspondence Service in order to open the Word template. In this case, this is the existing correspondence file, corCustomerOrderSummary.
Step 2. Update the template, then save the template.
In this example, visible rule bookmark displays one block of text if the value of OrderStatus is ORDR and another block of text if the value is not ORDR.
Make sure the Order entity has the OrderStatus expression.