Configuring the Design Center Project > Configuring a rule (optional)

Configuring a rule (optional)
Rules that you configure in a Design Center resource set can be uploaded to Composition Center and shared by multiple business users and re-used in any number of document definitions. You can use scripting functions to make the rules more flexible and complex. For example, ODBC related scripting functions or Execute to call an external rule engine.
Example 6
The following rule can be used to determine which texts and images to include in a letter intended for younger customers.
if ($category = "YOUNG")
return "true";
else
return "false";
 
Notes about rules configured in Design Center
Exporting and uploading rules
When you export the Project, rule resource files are created. You must inform the Composition Center users where the rule files are stored.
Note:
You should not create rule files by using the Extract To File command in the resource set.
To configure a rule
1
2
3
4
5
In the Rule editor, replace MyEvalFunc with a unique name for the rule function.
Note:
6
7
Click Check Syntax.
8
Related topics
OpenText StreamServe 5.6 Updated: 2013-03-01