04.12.2012 Views

Windchill System Administrator's Guide

Windchill System Administrator's Guide

Windchill System Administrator's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2. Modify the wt.prefs.delegates.DelegateOrder value, if needed, to set the<br />

correct hierarchy.<br />

Although this basic corporate organization has a tree structure, preference<br />

delegates are not limited to tree structures.<br />

Setting the Hierarchy<br />

The delegates.properties value wt.prefs.delegates.DelegateOrder controls the<br />

hierarchy in which delegates are called. For each level in the hierarchy there<br />

should be an entry in this property. The customized entries should appear as<br />

DIVISION_CONTEXT. For example, in the out-of-the-box hierarchy, there is a<br />

division scope called <strong>Windchill</strong> Enterprise, and the out-of-the-box<br />

wt.prefs.delegates.DelegateOrder property value is:<br />

$DEFAULT,$CONTAINER,$DIVISION:<strong>Windchill</strong>Enterprise,$USER<br />

In this value, there is no DIVISION_POLICY_CONTEXT defined since<br />

DIVISION_POLICY_CONTEXT and DIVISION_CONTEXT are related and are<br />

at the same level in the preference hierarchy. Similarly, the<br />

CONTAINER_POLICY_CONTEXT need not be included. Entries are designated<br />

differently only when storing and retrieving preferences internally. For more<br />

details on correctly naming delegates, see the delegates.properties file.<br />

Note: If wt.prefs.delegates.DelegateOrder has been removed from the<br />

delegates.properties file, <strong>Windchill</strong> uses the following:<br />

$DEFAULT,$CONTAINER,$USER<br />

A class that corresponds to the delegate is also required to be specified in the<br />

delegates.properties file. For the above <strong>Windchill</strong> Enterprise division this might<br />

be:<br />

wt.prefs.delegates.class.$DIVISION/u003a<strong>Windchill</strong>Enterprise=<br />

wt.prefs.delegates.<strong>Windchill</strong>EnterpriseDelegate<br />

The value for this preference is the full package path name to the appropriate<br />

delegate class. For example:<br />

wt.prefs.delegates.<strong>Windchill</strong>EnterpriseDelegate<br />

In the example, the wt.prefs.delegates.<strong>Windchill</strong>EnterpriseDelegate class would<br />

handle the <strong>Windchill</strong> Enterprise division. If these divisions are handled properly<br />

within the delegate, the delegate class is responsible for multiple divisions. When<br />

completed, this preference would be added to preference.txt, located in<br />

/loadFiles/, which loads the file each time the database is initialized<br />

(when installing <strong>Windchill</strong>).<br />

Administering Runtime Services 1-31

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!