Creating Domains
Windchill automatically creates domains as follows:
During installation, as described earlier in this chapter.
When you create contexts. Each context template defines a set of domains that are created.
Each time Windchill identifies a user that is affiliated with an organization that does not have an associated domain, Windchill creates the corresponding domain for the organization as a child domain of the User domain.
In addition, administrators can manually create domains.
The name of a domain can be a maximum of 200 characters. When Windchill automatically creates the domains associated with organizations, the domain name is usually the same as the organization name. However, organization names can be up to 200 characters. Therefore to name the domain, Windchill truncates the organization name to 193 characters. This allows Windchill to add a maximum of seven more characters to the domain name to identify a unique name when two or more organizations have the same beginning 193 characters in their names. When the truncated domain name is not unique, Windchill appends [1] to the truncated name. If appending [1] to the name does not make it unique, then Windchill appends [2] instead of [1]. If appending [2] does not make the name unique, then [3] is appended and so on until a unique name is found or until the maximum number of attempts to find a unique name is achieved. The maximum number of attempts is defined in the following property in the wt.properties file:
wt.inf.container.WTContainerServerHelper.maxDomainCreationAttempts
The default value for this property is 25.
If the organization name contains a forward slash ( / ), Windchill automatically converts the forward slash to a dash ( - ) in the domain name. For example, if the organization name is "ABC/Main", the domain name created would be "ABC-Main".
* 
After Windchill creates a domain that is associated with an organization, an administrator can change the domain name to something more meaningful; Windchill does not rely on the organization domain name matching the organization name.
Isto foi útil?