28 Managing Template Rules
This chapter covers the following topics.
28.1 About Template Rules
A rule is a set of instructions that drive the conversion process in Dynamic Converter. These instructions identify source documents in the Content Server and then determine whether or not these documents should be converted based on their metadata (content ID, type, author, and so on) and file type. The rule then requests that the document be converted using the template associated with the rule (for more on templates, see Managing Conversion Templates). You can have more than one rule in Dynamic Converter. If this is the case, the first rule to match the source document's metadata is used for dynamic conversion. Depending on the system configuration, other matching rules may also be applied.
The Template Selection Rules page allows you to add, remove, and reorganize rules; specify the criteria (metadata) to base a rule on; and assign a template (or templates) to the rule.
A number of features have come together to form the Template Selection Rules page. You can add multiple rules and then change the order in which those rules will apply to source documents. You can select a number of metadata fields to base a rule on (and add even more fields using the configuration page). Lastly, you can assign a template (or templates) to the rule and then edit those templates using the Edit Template button.
28.2 Managing Your Template Rules
The top section of the Template Selection Rules page enables you to manage the template rules.
28.3 Assigning Metadata Criteria to a Rule
When assigning conversion templates to content items, you need to make sure that the metadata specified here matches the metadata assigned to your source documents. You can verify this by opening the content information page for your source documents in the Content Server.
To assign metadata to a template selection rule:
28.4 Choosing a Template for a Rule
Your template selection rule is not complete until you choose a template for the rule. The template will ultimately drive the appearance of your converted documents.
To assign a template to a rule:
Once you have created a template selection rule, assigned the appropriate metadata criteria to it, and selected a template (or templates) for the rule, you should verify your configuration settings on the Dynamic Converter Configuration page. In particular, make sure that you have added the necessary file types to the Conversion Formats list.
For more information, see Managing Conversion Templates.