D2W Rules Reference - Cookbook - FAQ

Version 96.1 by David Holt on 2009/09/29 11:53
Warning
For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

Rule Lists

Below are some commonly used rules and information on keys which control D2W templates. You may wish to keep your own library of commonly used D2W rules, something like "D2WRuleLibrary.d2wmodel", which can then be used to copy and paste rules into your projects.

For quick reference:

1. How do I make my attributes and entities editable?

Unknown macro: noformat. Click on this message for details.

 

2. How do I make my relationships editable in ERD2W? (They all ready are editable in D2W.)
Add two rules. This:

Unknown macro: noformat. Click on this message for details.

and the below:

Unknown macro: noformat. Click on this message for details.

3. I don't like the defaults for attributes that D2W chooses. Sometimes it chooses wisely, but not always. How do I change what gets displayed for an entity's attributes?

The key is: displayPropertyKeys. This key represents a list of attributes to display for an entity. An example rule:

Unknown macro: noformat. Click on this message for details.

Note that you can pick attributes across relationships. You now have total control of what gets displayed.

4. If you want to use WOL:Click to Open for your D2W project, you'll need to disable it when you are generating ERExcelLook pages or the resulting Excel file will be unreadable gibberish. 

The key is: clickToOpenEnabled. This key is on ERD2WPage and controls whether clickToOpen is enabled for that specific page. An example rule:

Unknown macro: noformat. Click on this message for details.