Get the most out of WoodWing products

Feature request for sorting rules in rulesets

1 reply [Last post]
stefan.adam
stefan.adam's picture
User offline. Last seen 4 days 7 hours ago. Offline
Joined: 05/20/2009

Hi,

the a quote of the user guide of Smart Catalog (page55)

Quote:
Default Rule
When placing data using multiple Formatting Rules (by
combining them in a Rule Set, see section 3. Rule Sets),
it could be that the fields of a record meet the criteria for
more than one Formatting Rule (see section 2.1.3 Criteria).
Selecting the Default Rule check box for a Formatting
Rule forces Smart Catalog to apply that rule when such
a situation occurs.
When the Rule Set contains multiple Formatting
Rules that each have the Default Rule check box
selected, the first Formatting Rule in the Rule Set with that
option set will be applied.

Is it possible to sort the rules in the rulesets to control with rule is the default rule if more than one had enabled 'Default rule'?

Best regards

Stefan Adam
Impressed GmbH
Bahrenfelder Chaussee 49
22761 Hamburg
Tel: ++49-(0)40-89 71 89 0
Fax: ++49-(0)40-89 71 89 71
Email: sadam@impressed.de
Web: www.impressed.de

cindy.chen
cindy.chen's picture
User offline. Last seen 3 weeks 6 days ago. Offline
Joined: 10/05/2009

Hi,

The rules for one placed record are sorted based on the number of matched criteria and the default setting, you can access this rules list in Smart Catalog panel's "Applied Rule" drop-down in front of each record. Since records in the RecordSet might have different matched criteria on one rule, there is no meaning to sort the rules in the ruleset, since the rules order in the ruleset are based on adding order, you can control which default rule to use by adding that rule first, or use the Formatting Rules panel's menu action : Apply Previous/Next Rule.

Cindy Chen