Modifying Rules and Measures
When your organization implements a Measure Factory application, it arrives from DI with standard rules and measures defined. However, you can edit rules and measures using the Measure Factory Editor.
NOTE: DI strongly recommends that you keep a backup copy of the factory configuration script that came with your application before making any changes to the script.
To modify an existing rule or measure using the Measure Factory Editor:
-
Double-click a rule or measure in the table.
The rule or measure detail pane opens on the right.
- Click the pencil icon to the right of any options that you want to change.
- Make your changes, and then click
to accept the changes or click
to reject the changes. - When finished editing, save the tab.
Best practice for editing rules and measures:
To ensure that you can revert back to the original configuration, DI recommends that you modify a copy of any rules or measures that you want to change. Use the following steps to make a copy of the rule or measure and have Measure Factory use that copy:
- Click Copy at the upper right of the rule or measure detail pane to create a copy that has _copy# appended to the original name.
- Use the view switcher at the upper left to open the script in Text Editor.
- Find the original rule or measure in the script, and comment it out.
- Switch back to the Measure Factory Editor, and rename the copy of the rule or measure to the original name by removing the _copy# appendage. Because rules and measures are referenced by name in other parts of the script, you will otherwise get unexpected results when testing your changes.
- Make changes to the rule or measure as needed.
- When finished editing, save the tab.
- Run the factory and ensure that your changes give the expected results.
For more information about using the Measure Factory Editor to create new rules and measures, see Creating Rules and Adding Measures.