Windchill Business Administrator's Guide
Windchill Business Administrator's Guide
Windchill 7.0
December 2003
Copyright 2003 Parametric Technology Corporation. All Rights Reserved.
User and training documentation from Parametric Technology Corporation (PTC) is subject to the copyright
laws of the United States and other countries and is provided under a license agreement that restricts copying,
disclosure, and use of such documentation. PTC hereby grants to the licensed user the right to make copies in
printed form of this documentation if provided on software media, but only for internal/personal use and in
accordance with the license agreement under which the applicable software is licensed. Any copy made shall
include the PTC copyright notice and any other proprietary notice provided by PTC. This documentation may
not be disclosed, transferred, modified, or reduced to any form, including electronic media, or transmitted or
made publicly available by any means without the prior written consent of PTC and no authorization is granted
to make copies for such purposes.
Information described herein is furnished for general information only, is subject to change without notice, and
should not be construed as a warranty or commitment by PTC. PTC assumes no responsibility or liability for any
errors or inaccuracies that may appear in this document.
The software described in this document is provided under written license agreement, contains valuable trade
secrets and proprietary information, and is protected by the copyright laws of the United States and other
countries. It may not be copied or distributed in any form or medium, disclosed to third parties, or used in any
manner not provided for in the software licenses agreement except with written prior approval from PTC.
UNAUTHORIZED USE OF SOFTWARE OR ITS DOCUMENTATION CAN RESULT IN CIVIL
DAMAGES AND CRIMINAL PROSECUTION.
Third-Party Trademarks
Adobe is a registered trademark of Adobe Systems. Advanced ClusterProven, ClusterProven, and the
ClusterProven design are trademarks or registered trademarks of International Business Machines Corporation in
the United States and other countries and are used under license. IBM Corporation does not warrant and is not
responsible for the operation of this software product. AIX is a registered trademark of IBM Corporation.
Allegro, Cadence, and Concept are registered trademarks of Cadence Design Systems, Inc. AutoCAD and
AutoDesk Inventor are registered trademarks of Autodesk, Inc. Baan is a registered trademark of Baan
Company. CADAM and CATIA are registered trademarks of Dassault Systemes. COACH is a trademark of
CADTRAIN, Inc. DOORS is a registered trademark of Telelogic AB. FLEXlm is a registered trademark of
GLOBEtrotter Software, Inc. Geomagic is a registered trademark of Raindrop Geomagic, Inc. EVERSYNC,
GROOVE, GROOVEFEST, GROOVE.NET, GROOVE NETWORKS, iGROOVE, PEERWARE, and the
interlocking circles logo are trademarks of Groove Networks, Inc. Helix is a trademark of Microcadam, Inc.
HOOPS is a trademark of Tech Soft America, Inc. HP-UX is a registered trademark and Tru64 is a trademark of
the Hewlett-Packard Company. I-DEAS, Metaphase, Parasolid, SHERPA, Solid Edge, and Unigraphics are
trademarks or registered trademarks of Electronic Data Systems Corporation (EDS). InstallShield is a registered
trademark and service mark of InstallShield Software Corporation in the United States and/or other countries.
Intel is a registered trademark of Intel Corporation. IRIX is a registered trademark of Silicon Graphics, Inc.
MatrixOne is a trademark of MatrixOne, Inc. Mentor Graphics and Board Station are registered trademarks and
3D Design, AMPLE, and Design Manager are trademarks of Mentor Graphics Corporation. MEDUSA and
STHENO are trademarks of CAD Schroer GmbH. Microsoft, Microsoft Project, Windows, the Windows logo,
Windows NT, Visual Basic, and the Visual Basic logo are registered trademarks of Microsoft Corporation in the
United States and/or other countries. Netscape and the Netscape N and Ship's Wheel logos are registered
trademarks of Netscape Communications Corporation in the U.S. and other countries. Oracle is a registered
trademark of Oracle Corporation. OrbixWeb is a registered trademark of IONA Technologies PLC. PDGS is a
registered trademark of Ford Motor Company. RAND is a trademark of RAND Worldwide. Rational Rose is a
registered trademark of Rational Software Corporation. RetrievalWare is a registered trademark of Convera
Corporation. RosettaNet is a trademark and Partner Interface Process and PIP are registered trademarks of
"RosettaNet," a nonprofit organization. SAP and R/3 are registered trademarks of SAP AG Germany.
SolidWorks is a registered trademark of SolidWorks Corporation. All SPARC trademarks are used under license
and are trademarks or registered trademarks of SPARC International, Inc. in the United States and in other
countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems,
Inc. Sun, Sun Microsystems, the Sun logo, Solaris, UltraSPARC, Java and all Java based marks, and "The
Network is the Computer" are trademarks or registered trademarks of Sun Microsystems, Inc. in the United
States and in other countries. VisTools is a trademark of Visual Kinematics, Inc. (VKI). VisualCaf is a
trademark of WebGain, Inc. WebEx is a trademark of WebEx Communications, Inc.
v
Managing User Access to Data ................................................................................................. 2-6
Windchill PDMLink Container Hierarchy ............................................................................. 2-7
Windchill ProjectLink Container Hierarchy .......................................................................... 2-7
Container Hierarchy for Co-installed Windchill Solutions .................................................... 2-8
Managing Access to Data through Access Control Rules................................................... 2-8
Managing Access to Data through Team Memberships ................................................... 2-14
Managing Users ....................................................................................................................... 2-14
Managing Data......................................................................................................................... 2-16
Data Types ........................................................................................................................ 2-17
Soft Types ......................................................................................................................... 2-17
Visualization Data.............................................................................................................. 2-18
CAD Data .......................................................................................................................... 2-18
Document Data ................................................................................................................. 2-18
Part Data ........................................................................................................................... 2-18
Audit Reports..................................................................................................................... 2-19
Managing Windchill Processes ................................................................................................ 2-19
Managing User Collaboration .................................................................................................. 2-19
Additional Administrative Groups ............................................................................................. 2-20
Post-Installation Activities ........................................................................................................ 2-21
About the windchill Command ................................................................................................. 2-22
About the windchill shell........................................................................................................... 2-24
About the xconfmanager Utility ................................................................................................ 2-25
Formatting Property Value Guidelines .............................................................................. 2-26
Contents vii
Administering Organizations............................................................................. 5-1
Overview .................................................................................................................................... 5-2
Typical Duties of Organization Administrators ........................................................................... 5-3
Managing Organization Members, Groups, and Roles ....................................................... 5-3
Creating, Updating, and Managing Organization Folders and Documents ......................... 5-4
Managing Organization-level Types and Type-specific Attributes ...................................... 5-4
Managing Organization Templates and Object Creation Rules .......................................... 5-5
Auditing Activities Within the Organization.......................................................................... 5-5
Creating and Managing Access Control Policies ................................................................ 5-5
Configuring Numbering and Versioning Schemes .............................................................. 5-6
Monitoring and Managing Viewable Publishing................................................................... 5-6
Viewing Project Reports ...................................................................................................... 5-6
Importing and Exporting Information ................................................................................... 5-6
Out-of-the-Box Organization Templates .................................................................................... 5-7
Container Structure ............................................................................................................. 5-7
Container Participation ........................................................................................................ 5-8
Container Access Control Policies ...................................................................................... 5-8
Container Data .................................................................................................................. 5-12
Creating an Organization ......................................................................................................... 5-13
Using the Organization Utilities Page ...................................................................................... 5-15
Best Practices for Windchill PDMLink and Windchill ProjectLink............................................. 5-15
E-mail Addresses .............................................................................................................. 5-15
Creating Only One Organization Container for Windchill PDMLink .................................. 5-16
Setting Default Preferences in Windchill ProjectLink to Collapse Tables.......................... 5-16
Contents ix
Administering Principals....................................................................................9-1
Overview .................................................................................................................................... 9-2
Windchill Users.................................................................................................................... 9-2
Windchill Groups ................................................................................................................. 9-3
Windchill Organizations....................................................................................................... 9-3
Using the Principal Administrator ............................................................................................... 9-4
Best Practices for Windchill PDMLink and Windchill ProjectLink ........................................ 9-6
Best Practices When Maintaining a Directory Service Outside of Windchill ....................... 9-6
Understanding Principals ........................................................................................................... 9-7
Best Practices for Assigning Domains to Principals .................................................................. 9-7
Managing Users ......................................................................................................................... 9-8
Naming a User's Personal Cabinet ..................................................................................... 9-9
Deleting Users................................................................................................................... 9-10
Managing Groups .................................................................................................................... 9-12
Deleting Groups ................................................................................................................ 9-13
Managing Organizations .......................................................................................................... 9-14
Deleting Organizations ...................................................................................................... 9-15
Receiving Administrative Notifications ..................................................................................... 9-16
Managing the Principal Cache ................................................................................................. 9-17
Automatically Purging Entries from the Principal Cache ................................................... 9-17
Manually Purging Entries from the Principal Cache .......................................................... 9-18
Maintaining the Connections between Principal Objects and their Directory Service Entries . 9-18
Contents xi
About Notification ..................................................................................................................... 13-5
Contents xiii
Troubleshooting ....................................................................................................................... 18-6
Windchill Visualization Service Loader.............................................................................. 18-6
CAD Agent ........................................................................................................................ 18-9
Publishing CAD Documents ............................................................................................ 18-16
Visualization Collaboration .............................................................................................. 18-21
Exporting Watermarks for ProductView ................................................................................. 18-21
Windchill Visualization Service Properties ............................................................................. 18-22
Index
Change Description
xv
Change Description
Chapter 11, Using Types and the Type This chapter includes information that
Manager previously existed in Using Types and
the Type Manager (chapter 3 in the
previous Windchill Business
Administrators Guide). The chapter
has been updated to reflect Windchill
7.0.
Chapter 15, Administering Teams and This chapter includes information that
Roles previously existed in Administering
Teams and Roles (chapter 7 in the
previous Windchill Business
Administrators Guide). The chapter
has been updated to reflect Windchill
7.0.
Chapter 17, Administering Views and This chapter was previously chapter
View Associations 10 in the Windchill Business
Administrators Guide.
Intended Audience
The Windchill Business Administrators Guide serves as a reference guide for
Windchill business and application administrators.
The following table illustrates the responsibilities and skills of each type of
administrator:
Applications
Business Administrator Administrator
System administrators, who are responsible for keeping the system running,
should refer to the Windchill System Administrators Guide.
Overview
The Windchill Business Administrators Guide describes responsibilities and roles
of Windchill business and application administrators, providing conceptual and
background information to help them understand the nature of administrative
tasks.
xix
Chapter Contents
The Windchill Business Administrators Guide is composed of the following
chapters and appendixes:
Chapter 1, Getting Started, provides a road map for getting your Windchill
solution set up to be usable as a test system and provides some basic information
about your Windchill environment.
Chapter 2, Administration Overview, provides a general overview of your
installed Windchill runtime architecture and Windchill environment.
Chapter 3, Administering Containers, provides the overall details relating to
working with containers.
Chapter 4, Administering the Site, provides an overview for administering sites
and describes the typical duties that a site administrator performs.
Chapter 5, Administering Organizations, provides an overview for administering
organizations and describes the typical duties that an organization administrator
performs.
Chapter 6, Administering Containers, provides the overall details relating to
working with containers.
Chapter 7, Administering Windchill PDM LIbrary, provides an overview for
administering product and libraries in Windchill PDM and describes the typical
duties that an administrator performs.
Chapter 8, Administering Projects, provides an overview for administering
projects in Windchill ProjectLink and describes the typical duties that an
administrator performs in the project context.
Chapter 9, Administering Principals, describes the principals (user, group, and
organization objects) that are used in your Windchill solution. It also provides
details about managing the principals.
Chapter 10, Administering Access Control, describes access control policies,
consisting of rules that govern access to objects. It includes the Windchill model
for storage of enterprise information and strategies for creating access rules that
best serve your site's security needs.
Chapter 11, Using Types and the Type Manager, describes the definition of
subtypes, attributes, and constraints.
Chapter 12, Administering Indexing, describes indexing policies and specifies the
indexes into which an object is to be entered when a specified event occurs, and it
describes how to define and bulk-load index collections when setting up a new
site or upgrading to a new release.
Chapter 13, Administering Notifications, describes notification policies, which
determine users and groups to be notified when specific events are applied to an
object.
Related Documentation
The following documentation may also be helpful:
Windchill System Administrators Guide
Windchill Installation and Configuration Guide
Windchill User's Guide
Windchill Application Developer's Guide
Windchill Customizer's Guide
Windchill Object Adapter Reference Manual
Windchill Performance Tuning Guide
properties.html file
If books are not installed on your system, see your system administrator for the
Windchill Documentation CD.
Technical Support
Contact PTC Technical Support via the PTC Web site, phone, fax, or e-mail if you
encounter problems using Windchill.
For complete details, refer to Contacting Technical Support in the PTC Customer
Service Guide enclosed with your shipment. This guide can also be found under
the Support Bulletins section of the PTC Web site at:
http://www.ptc.com/support/index.htm
Comments
PTC welcomes your suggestions and comments on its documentation. You can
send comments to the following address:
[email protected]
Please include the name of the application and its release number with your
comments. For online books, provide the book title.
This chapter provides a road map for getting your Windchill solution set up so that
it is usable as a test system. The chapter also provides some basic information
about Windchill administrators and your Windchill environment.
Topic Page
Introduction .........................................................................................................1-2
Logging On as the Administrator........................................................................1-2
Creating the Default Organization Container......................................................1-6
Establishing Administrators ..............................................................................1-10
The Next Steps ..................................................................................................1-13
1-1
Introduction
This guide provides business administration information for the following
Windchill solutions:
Windchill PDM
Windchill PDMLink
Windchill ProjectLink
After a Windchill solution installation is complete, the following basic activities
have been accomplished:
A Web server and servlet engine are installed and configured
The Oracle database is installed and configured
Any enterprise directory services that are going to be used are configured
The Windchill solution is installed and has been started
If you want more information about these activities, see the Windchill Installation
and Configuration Guide.
Before you can get started with administrative activities in your Windchill
solution, you must log on as the Administrator (defined during the installation).
Additionally for Windchill PDMLink and Windchill ProjectLink, you must create
a container for the installed default organization and establish additional
administrators.
The next sections in this chapter describe how to log on, create an organization
container, and establish administrators. The last section provides a guide to which
additional chapters you may want to read next, based on the types of
administrators.
Note: The server manager and method server must be running (as well as the
Web server and servlet engine) before Windchill can be accessed.
The required parameters were defined when Windchill Info*Engine was installed.
You only need to include the port number when Windchill is using a port number
other than 80 (default). If Windchill is using the default port, then you can enter
http://<hostname>/<webapp> in your Web browser Address (or Location) text
box. For example, if you specified Windchill for the <webapp> parameter, then
Tip: If you are logging on using the same system where your solution is installed,
you can use localhost as <hostname>.
Use the administrative user defined during the installation to log on. This user is a
member of the Administrators group and has out-of-the box privileges that give
you full control over all Windchill objects.
The home page that appears is unique to your Windchill solution. The following
sections describe each home page.
The first time you access the Windchill home page, you can select one of the links
listed under Available Homes to make that page your personal home page.
Common home pages for the administrator are the Business Administration and
System Administration home pages. The next time you access Windchill, it will
open to that page. If, at any time, you want to change your personal home page,
click Options or Site Map, and then click the link to the page you want as your
new personal home page.
The tabs at the top of the window identify the major areas provided in Windchill
PDMLink:
From the Home tab, users manage their daily work.
From the Product tab, users have access to all products to which they are a
member. For each product, team members manage all of the information that
is relevant to the design, manufacture, and support of a product. When only
base data is installed, there are no out-of-the-box products.
From the Library tab, users have access to all libraries to which they are a
member. In a library, team members can store and provide access to business
information (such as a document library) or can store and provide access to
objects that are not related to a single product (such as a common parts
library). There are no out-of-the-box libraries.
The tabs at the top of the window identify the major areas provided in Windchill
ProjectLink:
From the Home tab, users manage their daily work.
From the Project tab, users have access to all projects to which they are a
member. For each project, team members have access to the project
Site
Org1
In this example, the Org1 organization container inherits rules and data from the
Site container.
In Windchill PDMLink and Windchill ProjectLink, you must create a default
organization container and set up other administrators before other users can
perform activities in the Windchill solution.
Note: With Windchill PDMLink, the installer can install the golf cart demo data.
As part of the golf cart installation, the Demo organization container is created
and the Demo user is created as the organization administrator. As is the case for
all organization containers, the Demo organization container inherits rules and
data from the Site container.
For detailed information on these fields, see the help available from the
window.
3. For the Organization Name, click Search.
The search results contains the name of the default organization created
during the installation.
4. Select the name of the default organization and click OK.
5. Enter information in the Description, Postal Address, and Web Site fields.
Note: Next, you must set the organization administrator for the container. How to
do this is described in the next section:
Creating a Project
To create a project, a user must be one of the following:
The site administrator, but only if the administrator is a member of the
organization. The site administrator can become a member of the organization
by setting in the organization attribute ("o", by default) for Administrator user
in the directory service user entry.
The organization administrator.
A member of the project creators group.
Depending on the setup options selected when an organization is created, all
members of the organization who have logged in may be automatically added
to the project creators group. Additionally, both the system administrator and
the organization administrator of the current organization can add users to the
project creators group. From the Organization tab, click the Creators link.
From the Project Creators table that appears, you can add users.
Topic Page
Your Installed Windchill Runtime Architecture .................................................2-2
Managing Your Windchill System......................................................................2-3
Your Installed Windchill Environment ...............................................................2-3
Managing User Access to Data ...........................................................................2-6
Managing Users.................................................................................................2-14
Managing Data ..................................................................................................2-16
Managing Windchill Processes .........................................................................2-19
Managing User Collaboration ...........................................................................2-19
Additional Administrative Groups ....................................................................2-20
Post-Installation Activities ................................................................................2-21
About the windchill Command .........................................................................2-22
About the windchill shell ..................................................................................2-24
About the xconfmanager Utility........................................................................2-25
2-1
Your Installed Windchill Runtime Architecture
After a base Windchill solution is installed, the Windchill runtime architecture
consists of the following:
Client applications that allow users access to Windchill. The clients can
include the Windchill client pages, the visualization clients, and the
Pro/ENGINEER Wildfire client.
A Web sever that includes a servlet engine, Windchill Info*Engine Web
services, and security modules.
The Windchill server that includes the Windchill solutions and common
business services.
Data storage that includes the Aphelion LDAP directory service and an
Oracle database.
Possibly, connections to other enterprise systems such as an enterprise
directory service, ERP, CRM, SCM, or other PDM systems.
For details about what is installed, see the Windchill Installation and
Configuration Guide.
Site
Org1
Site
SessionIterationDomain
Unaffiliated
Org1
Project PDM
In the diagram, the dashed line shows the container boundaries and the domain
inheritance is shown by the lines connecting the domains. The top-level domain is
labeled / (root) and is in the Site container. The shaded domains are the domains
associated with Windchill principals (users, groups, and organizations).
The Windchill PDM installation also creates a third container, called the
Windchill PDM library container, which is the one and only application container
Site
Org1
Windchill PDM
The only additional domain loaded during the Windchill PDM installation, is the
ChangeItems domain. It inherits from the / (root) domain in the Site container.
In Windchill PDM, the administrator cannot create additional containers.
After containers are created and users become team members, the framework
established is called the context from which the users work. In many instances, the
context includes the contents of a specific container and the domains, rules and
data available from ancestor containers. For example, if a user entering Windchill
ProjectLink navigates to a folder within the Bike Design project and creates a new
document, that document is managed in the context of the Bike Design project.
Persons with access to the Bike Design project may automatically have the right
to see and modify the new document.
Depending on how container rules are set up, users may also be able to share data
across containers. When this is the case, the user context can include data from
multiple containers. You can think of the context as providing the framework
from which user actions are executed. This framework is defined by a container,
but can include data from multiple containers. For example, parts defined in one
container can be used in an assembly structure that is saved in a different
container.
Each context provides the following:
The context structure, which includes the default domains and folders, forum
topics, reference notebook folders, and user notebook folders (if used).
Context participation for Windchill PDMLink and Windchill ProjectLink,
which includes the available roles, teams, and groups.
Default access policies.
Data types and object initialization rules.
Default life cycle, workflow, context, team, and report templates.
The base data that is loaded during the installation process creates the out-of-the-
box templates for containers, workflows, life cycles, teams, and reports, and
Site
Org1
Site
Org1 Org2
Site
Org1 Org2
The following diagram shows the co-installed Windchill PDM and Windchill
ProjectLink container hierarchy where there are two organizations (Org1 and
Org2) and Windchill ProjectLink administrators have created two project
containers, one under each organization:
Site
Org1 Org2
Site
SessionIterationDomain
Unaffiliated
Org1
Project PDM
Product1 PDM
Windchill
ChangeItems
Note: If you load demo data, there will be additional domains created.
Site
SessionIterationDomain
Unaffiliated
Org1
Project PDM
Product1
System Default
Site
SessionIterationDomain
Unaffiliated
Org1
Project PDM
Product2
Product1
System Default
The Team link from the Product or Library tab in Windchill PDMLink allows
you to set up the role and role memberships that can be used as the groups against
which the access control rules are set as described in Managing Access to Data
through Team Memberships.
Use the Principal Administrator to update users that have changed in your user
directory service or create and update groups at the organization level that can be
used as team members. For additional information about managing users, groups,
and organizations, see Administering Principals.
Use the Policy Administrator to create policy rules. For details on domain
inheritance and setting policy rules, see Administering Domains and Policies in
the Administering Containers chapter.
Site
SessionIterationDomain
Unaffiliated
Org1
PDM Project
Project1
Product1
System Default
Site
SessionIterationDomain
Unaffiliated
Org1
PDM Project
Project2
Product1
System Default
The Team link from the Project tab in Windchill ProjectLink allows you to set up
the role and role memberships that can be used as the groups against which the
access control rules are set, as described in Managing Access to Data through
Team Memberships.
Use the Principal Administrator to update users that have changed in your user
directory service or create and update groups at the organization level that can be
used as team members. For additional information about managing users, groups,
and organizations, see Administering Principals.
Use the Policy Administrator to create policy rules. For details on domain
inheritance and setting policy rules, see Administering Domains and Policies in
the Administering Containers chapter.
Managing Users
As mentioned in earlier sections, the default domains associated with users are the
User domain in the Site container or one of its child domains. For example,
assume that the Org1 organization container has been created and users from both
the Org1 and Org2 organizations and users that have no organization affiliation
(the organization attribute is not set for the user) have accessed your Windchill
solution, then the following domains are automatically created:
Site
User
Org2
Unaffiliated
Org1
Org1
Site
User
Unaffiliated
Org1 Org2
Org1 Org2
By using the default domains for users, users are automatically grouped by
organization and access policy rules for each organization are initially set using
the organization context template used to create the organization. Rules for users
not affiliated with any organization can be set using the Unaffiliated domain.
When your Windchill solution creates user objects, a personal cabinet is also
created for each user. By default, the personal cabinet for a user is put in the same
domain as the user. Using this approach allows the access control rules for
personal cabinets to be in the same domain as the access control rules for the
users.
In the previous examples, the organization have short names. If the organization
names you are using are longer than 193 characters, then the names are truncated
when creating corresponding domain names. For more information, see Creating
Domains in the next chapter.
Data Types
All data stored in a Windchill solution are stored as objects of specific types. The
type is identified when the object is created or imported. By typing data, you
establish patterns for handling the data within the Windchill solution. For
example, you can decide if part data is numbered automatically or manually and
decide who has access to part data. Separate decisions can be made for each type
of data by setting object initialization rules. A set of these rules is established
when each container is created through the context template that is used.
Additional object initialization rules can be set using the Object Initialization
Rules administrator as follows:
In Windchill PDMLink and Windchill ProjectLink, you access the Object
Initialization Rules administrator from the Utilities page of the context where
you want the rule stored.
In Windchill PDM, the administrator is on the Business Administration
page.
Soft Types
In addition to the modeled object types that are provided out of the box,
documents can have subtypes (known as soft types). Windchill ProjectLink
provides some document soft types as part of its installation.
If your site needs additional types, you can create specific soft types in Windchill
PDMLink and Windchill ProjectLink from within the Site or an organization
context using the Types link. In Windchill PDM, the Type Manager is available
from the Business Administration page.
CAD Data
CAD data from design authoring applications are contained and managed in
Windchill as the content of CAD documents.
CAD documents stored in the Windchill database have the
wt.epm.EPMDocument object type and are always associated with CAD data
content files. Typically, a CAD model forms the primary content for the CAD
document. Other CAD data files, for example, drawings or layouts, can also be
associated with the CAD document as secondary content.
Administrators can create and update CAD document templates. These templates
can be used to create CAD documents.
Document Data
Documents stored in the Windchill database have the wt.doc.WTDocument object
type and are possibly associated with a soft type of wt.doc.WTDocument. Using
soft types helps categorize the types of documents.
Administrators can create and update document templates. These templates can be
used to create documents.
Part Data
Parts stored in the Windchill database have the wt.part.WTPart object type.
Parts created in Windchill PDM and Windchill PDMLink are always associated
with a view. A view identifies what the part is used for. The Windchill installation
provides two out-of-the-box views: design and manufacturing. Before allowing
users to create parts, you can rename these views and add other views that make
sense at your site by using the LoadViews command line utility. For more
information, see Administering Views and View Associations.
You can display the help for the windchill command by executing windchill with
the -h argument or with no argument.
The following tables list some of the arguments and actions applicable to the
windchill command. To see a complete list of the arguments, use the report
generated from the help (argument).
windchill Arguments:
windchill Actions
Action Description
When you are finished using the windchill shell, you can exit the shell and return
to the parent shell.
PTC recommends running all server-side Windchill applications, tools, and
utilities from the windchill shell. Also, you can use the windchill shell to set up
your development environment to use javac or Java directly.
For the purposes of modifying Windchill properties, you will primarily use the set
(-s), targeFile (-t), and propagate (-p) parameters.
The set (-s) parameter is used to identify the relevant property and specify the
new property value. See the Formatting Property Value Guidelines section
(below) for information about formatting the <property_pair) value.
The targetFile (-t) property is used to specify the directory location of the
property file. If the file name or path contains spaces, you must enclose the
<property_file> value in double quotes (" "). It is recommended to use a fully
qualified file name to ensure an accurate reference to the file is made.
To display the current settings for a property, execute the following command
from the windchill shell:
xconfmanager -d <property_names>
Tip: Use the fully qualified name of the property file to ensure an accurate
reference.
On a UNIX system, you can use doubles quotes or you can escape the space
character with a backslash. For example, use the following:
-s wt.inf.container.SiteOrganization.name=ACME\ Corporation"
or
-s wt.homepage.jsp=
\$(wt.server.codebase)/wtcore/jsp/wt/portal/index.jsp
Other than escaping arguments so that the command-line shell does not
misinterpret them, you should not need to escape other values to be compatible
with XML or property file syntaxes. The xconfmanager escapes property names
and values automatically if necessary.
This chapter provides the overall details relating to working with containers. Later
chapters assume that you have read the information in this chapter.
Topic Page
Distributed and Hierarchical Administration ......................................................3-2
Container Administrative Items ..........................................................................3-4
Creating Containers...........................................................................................3-19
Administering Domains and Policies ................................................................3-24
Administering Object Initialization Rules.........................................................3-32
Searching for Principals ....................................................................................3-39
3-1
Distributed and Hierarchical Administration
Windchill containers provide the framework for collecting and finding related
information. The set of containers in your Windchill solution have a hierarchical
relationship. The following depicts the basic container hierarchy:
Site container
Organization containers
Application containers
The Site container can have one or more child organization containers. An
organization container can have one or more child application containers.
Application containers include:
Projects (provided by Windchill ProjectLink)
Products (provided by Windchill PDMLink)
Libraries (provided by Windchill PDMLink - formerly known as repositories)
The Windchill PDM library (provided by Windchill PDM)
Data, such as template files, can be distributed among the containers. For
example, you can define general document templates, such as those used for
presentations or memos, at the top level of the hierarchy (in the Site container).
The document templates are available to all containers. Then you can define
progressively more specific templates at each layer in the hierarchy, such as in an
organization container or a library container. In a child container, you can also
define templates with the same name as those templates in an ancestor container
so that the templates in the child container can override and be used in place of
templates in an ancestor container.
With distributed administration, container administrators are responsible for their
own administrative tasks. So for example, each project, product, and library can
have its own administrators (called project, product, and library managers). To
support distributed administration, the administrative clients are container-aware.
For example, opening the Policy Administrator in the context of a library initially
displays the domains that are in the library context and the domains that are
ancestors of the library context domains. Making clients container aware allows
for the delegation of administrative duties to users who are recognized as
container administrators.
Container Configuration
Configuration items identify the type of container and other miscellaneous
information about the container.
There are three general types of containers:
Site -- The Site container is the top-level container. There can be only one Site
container.
Organization -- Organization containers are always children of the Site
container. There is always at least one organization container required to have
an operational Windchill solution.
Container Structure
Structure items identify the domains, cabinets, folders, notebook folders, forum
topics, and reference folders for notebooks that are in the container and the
domain inheritance scheme that is in place. Containers define a structure in which
information related to a context is organized. This structure can be represented by
a folder hierarchy, product structure hierarchy, collection of discussion topics, or
pre-defined milestones in a schedule. The structure defined by the container
enforces consistency and improves efficiency.
The use of the container structure is very apparent when you look at how domains
can help organize rules for users. For example, the Administrators group and
Administrator users are associated with the System domain and, therefore, are
segregated from other users. The other users are associated with child domains of
the User domain. Both the System and User domains are in the Site container, and
the child domains of the User domain can be in the Site container or in an
organization container.
Windchill PDM
For Windchill PDM, the following folders are installed in the Site container:
System/Default
System/System
For Windchill PDM, the following cabinets are installed in the Site container:
Default
System
User
Roles
The roles that are available to the entire site are defined in the <Windchill>\src\
wt\project\RoleRB.rbinfo resource bundle, which is translated to all supported
languages and made available through the application clients.
For Windchill PDMLink and Windchill ProjectLink, all of these role names are
available to all child organizations and then to the product, library, and project
containers created. To see the roles, you can click the Roles link from the
Organization tab. For products, libraries, and projects, click the Team link from
the corresponding tab.
For Windchill PDM, you can view the roles from the Life Cycle Administrator.
Update a life cycle and then click the Roles tab to view the roles.
Note: This group defines the administrators for your entire site as described in
Distributed and Hierarchical Administration.
The following groups are defined in the Site container User/Unaffiliated domain:
Attribute Administrators
Business Entity Authors (only Windchill PDMLink)
Classification Administrators (only Windchill PDM)
LifeCycleAdministrators
Navigation Administrators (only Windchill PDM)
Type Administrators
Unrestricted Organizations
WorkflowAdministrators
These groups are used during the normal operation of your Windchill solution and
should not be removed. Domain-based access control rules are automatically
loaded in the Site container System domain granting permissions to members of
these groups, except the Unrestricted Organizations group. The rules for the
members of the Unrestricted Organizations group are loaded in the Site container
User domain.
Note: In Windchill PDM, you cannot update the container participation except by
changing life cycle roles in a life cycle template or team template, or by setting
access control rules against users, groups, and organizations.
Note: Your solution may vary from the following description, as the name of the
Administrators group, and the names of the some initial domains are configurable
from the wt.properties.xconf file prior to the installation.
The following sections describe the rules that are set in the Site container.
Note: These rules ensure that users can operate within the Windchill solution and
should not be changed without fully understanding the reason for the change.
ObjectSubscription ALL Read and Allows all users to create and read
Create object subscriptions.
WTMarkup ALL Read and Allows all users to create and read
Create markups.
For additional information about updating data types and attributes, see Using
Types and the Type Manager.
Container Templates
Template items identify the templates that provide users with the required
information used when creating and processing Windchill objects.
Windchill provides the following types of templates (not all types of templates are
available from all Windchill solutions):
Context templates provide the required and optional administrative items that
are used to create containers. There are four types of context templates:
Product templates define default values and other information, such as
team roles and access policies, which are used when an administrator
creates a product using Windchill PDMLink.
Library templates define default values and other information, such as
team roles and access policies, which are used when an administrator
creates a library using Windchill PDMLink.
Project templates define default values and other information, such as
folder structure and team roles, which are used when an administrator
creates a project using Windchill ProjectLink.
Organization templates define default values and other information, such
as folder structure and groups, which are used when an administrator
creates an organization context from either Windchill PDMLink or
Note: Windchill PDM does not load or use organization context templates.
Workflow Templates
The following workflow templates are loaded in the Site container for all
Windchill solutions:
Submit
Review
ReplicationPublish
ReplicationReceive
ReplicationSender
For Windchill PDMLink and Windchill PDM when CMII is installed, the
following workflow templates are loaded in the Site container:
CMII PR Workflow
CMII ECR Workflow
CMII ECN Workflow
CMII CA Workflow
Team Templates
Team templates are used with life cycle templates.
For all Windchill solutions, the following team template is loaded in the Site
container:
Default
For Windchill PDMLink and for Windchill PDM with CMII installed, the
following team templates are loaded in the Site container:
CA Team
ECN Team
ECR Team
Problem Report Team
Document Templates
For Windchill ProjectLink, the following document templates are loaded in the
Site container:
Agenda Template
Memo Template
Minutes Template
MS Project Plan Template
Presentation Template
Requirements Template
No document templates are loaded for Windchill PDM and Windchill PDMLink.
Note: To set default values for other attributes, your site would need to create the
algorithms that can be used in setting them.
Note: In Windchill PDM, the application clients set values for folder paths, life
cycle templates, and team templates. Default values are never used in these cases.
Creating Containers
Note: Only Windchill PDMLink and Windchill ProjectLink provide the
capabilities for creating organization and application containers. You cannot
create containers in Windchill PDM.
There is only one Site container, which is created when your Windchill solution is
installed. No other Site containers can be created.
English pdmlinkContainerTemplates.xml
French pdmlinkContainerTemplates_fr.xml
German pdmlinkContainerTemplates_de.xml
Italian pdmlinkContainerTemplates_it.xml
Japanese pdmlinkContainerTemplates_ja.xml
Korean pdmlinkContainerTemplates_ko.xml
Spanish pdmlinkContainerTemplates_es.xml
English ProjectLinkContainerTemplates.xml
French ProjectLinkContainerTemplates_fr.xml
German ProjectLinkContainerTemplates_de.xml
Italian ProjectLinkContainerTemplates_it.xml
Japanese ProjectLinkContainerTemplates_ja.xml
Korean ProjectLinkContainerTemplates_ko.xml
Spanish ProjectLinkContainerTemplates_es.xml
Note: The role names used in Windchill solution context templates are included
as references to the <Windchill>\src\wt\project\RoleRB.rbinfo resource bundle so
that when they are used, they appear in the language specified by the browser
language. This means that the translated templates do not contain translated role
names.
Assume that the Windchill ProjectLink installation creates the Site container
and has a child organization container that is named Bike Company, and that
an administrator (using an out-of-the-box project template) creates a project
container named Super Bike that is a child of the Bike Company container.
Then the domain hierarchy for the Windchill ProjectLink Super Bike project
is as follows:
/ (Site)
|-Default (Organization Bike Company)
|-Project (Organization Bike Company)
|-Sales (Organization Bike Company)
|-Default (Project Super Bike)
|-Private (Organization Bike Company)
|-System (Project Super Bike)
The root, System, User, and Default domains cannot be moved or deleted. Also
the domain names of these domains and of the Unaffiliated domain are configured
through the wt.properties file.
The System, User, Default, and SessionIterationDomain domains belong to the /
(root) domain. Additional domains can be defined and associated with the root
domain, or domains can be nested by defining them as children of another
domain. This allows you to define a hierarchy of domains and then define policies
at each level in the hierarchy.
Creating Domains
Windchill automatically creates domains as follows:
During installation, as described earlier in this chapter.
When you create containers. Each container 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 2000 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
Note: Policy rules apply to object types. Access to an instance of an object type
can be governed by ad hoc access control rules in addition to policy rules. For
more information, see Administering Access Control.
Also, not all objects exist within a domain. For objects to be subject to policies,
they must reside in a domain. The policies that apply to an object are those
policies defined for the domain to which the object belongs, as well as ancestor
domains.
The domains display in a tree view which is open to the domains at the top of the
domain hierarchy within the current context. The current context appears selected
in the Context drop-down list.
The format of each domain in the list includes the domain name followed by the
following information in parentheses:
The type of context (for organization and application contexts)
The name of the context where the domain resides
For example, if a domain in the list is shown as Default (Library Common
Parts), then the domain name is Default and the domain resides in the library
context named Common Parts. If the Default domain is in the Site context, then
you will see Default (Site). In this case, the context type is not displayed.
Note: The buttons that are enabled when you select a domain are determined by
the Policy Administrator. For example, if you select a domain that cannot be
deleted (such as the Default (Site) domain, the Delete button is disabled.
Note: In Windchill PDM, the application clients set values for folder paths, life
cycle templates, and team templates. Default values are never used in these cases.
The following sections provide information on rules that are loaded during
installation, how to add rules, and how rules work.
In this rule, the following wt.doc.WTDocument attribute default values are set:
The folder.id default value is set to Default.
The lifecycle.id default value is set to Basic.
The teamTemplate.id default value is set to Default.
The number default value (which sets the numbering scheme) is set to
{GEN:wt.enterprise.SequenceGenerator:WTDOCUMENTID_seq:10:0}.
The MBA|versionInfo default value (which sets the versioning scheme) is set
to wt.series.HarvardSeries.
For an explanation of what the numbering scheme and versioning scheme default
values mean, refer to the Object Initialization Rules help. To access the help, click
the help icon on the Object Initialization Rules table.
</AttributeValues>
The attributes for which default values are being set. The attributes can
include any modeled or soft attributes that have been defined for the object
type.
An attribute must be named by its logical ID.
For information on attribute logical IDs, see Using Types and the Type
Manager.
For example, use the following XML to identify the document folder path:
<AttrValue id="folder.id">
.</AttrValue>
Algorithm Description
For example, use the following XML to specify the document folder path
algorithm:
algorithm="com.ptc.core.foundation.folder.server.impl.FolderPathAttributeAlgorithm"
Any additional arguments that are needed to set the default values. Each out-
of-the-box algorithm requires one argument that is used to identify the default
value.
For example, use the following XML to specify the default document folder
path as Default:
<Arg>/Default</Arg>
The number attribute requires that you specify a generator function as the
argument. The function is used to generate the numbers. For details on
numbering, see Object Initialization Rules help by clicking the help icon on
the Object Initialization Rules table.
<AttrValue id="folder.id">
algorithm="com.ptc.core.foundation.folder.server.impl.FolderPathAttributeAlgorithm"
<Arg>/Default</Arg>
</AttrValue>
</AttributeValues>
Note: To set default values for object attributes that are not folder paths, life
cycle attributes, team template attributes, the default numbering scheme, the
default versioning schemes, strings, or enumerated types, you must implement a
new algorithm and then specify the algorithm and its arguments in the XML
document.
This chapter provides an overview for administering the site and describes the
typical duties that a site administrator performs. It also provides additional
information about some of the main administrative tasks for sites.
Topic Page
Overview .............................................................................................................4-2
Typical Duties of Site Administrators.................................................................4-2
Out-of-the-Box Site Container Configuration.....................................................4-8
About the Site Tab...............................................................................................4-8
Best Practices for Windchill PDMLink and Windchill ProjectLink...................4-9
4-1
Overview
The site administrator manages the organizations within the site and is responsible
for the common information and rules inherited by all containers in the site.
The site administrator (for example, wcadmin) created at installation time may be
a temporary administrator specified only to get the system up and running for the
customer. If that is true, create a user who is associated with the hosting
organization and add that person to the Administrators group. That person will
then take over as the site administrator once the quick start program is completed.
For general information about container contents and how to create containers,
see Administering Containers.
Note: The general information in this chapter pertains to all Windchill systems,
but is more specific to Windchill PDMLink and Windchill ProjectLink. The site
administrator for Windchill PDMLink and Windchill ProjectLink performs these
actions from the Site tab of the user interface.
Note: You can create organization containers from either the Site tab or the
Organization tab. There is no difference in the type of organization created; it is a
convenience to be able to create an organization from the Organization tab.
When you create an organization, you can grant privileges so the organization can
create its own projects, products, or libraries, or you can restrict participation to
only products, projects, and libraries created by a parent company that is hosting
the organization.
When you create an organization, you can grant its members full access to a
corporate directory with which the system is configured. The purpose is to allow
employees of a company that is hosting the Windchill system the ability to search
their entire directory for users and groups.
You can review the list of organizations in the site and navigate to update each of
the organizations. A company will probably choose to administer the
organizations representing their partners or customers. In this way, you become
the organization administrator on behalf of any number of organizations defined
in the site.
Note: The rules needed for setting up an external file vault for a product or
library cannot be inherited from the organization or site.
If the increased number of vaults and file vault rules becomes unmanageable, you
can force vaulting to be accomplished through a single vault by setting the
wt.fv.forceContentToVault property to true. For how to set external file vault
rules or set up a single vault, see Administering External File Vaults in the
Windchill System Administrators Guide.
You can also configure replication sites so the document and part content files are
replicated at a remote site where local users have only very low bandwidth
connections to the Windchill server. You would typically define only the replica
site and the replication schedule. The product, library, or project managers would
configure the replication rules for a particular site. For how to set replication rules,
see Administering Content Replication in the Windchill System Administrators
Guide.
Page Description
Administrators Allows you to view, add, or remove users from the site
administrators group.
Types Allows you to create and update document types. This page
also provides access to the Life Cycle Administrator,
Attribute Manager, and Type Manager.
Audit Reports Allows you to create and update custom reports against the
objects and attributes in the system.
You can use the xconfmanager utility to add the following wt.property to make all
components collapsed:
com.ptc.netmarkets.defaultTablesCollapsed=true
Topic Page
Overview .............................................................................................................5-2
Typical Duties of Organization Administrators ..................................................5-3
Out-of-the-Box Organization Templates.............................................................5-7
Creating an Organization...................................................................................5-13
Using the Organization Utilities Page ...............................................................5-15
Best Practices for Windchill PDMLink and Windchill ProjectLink.................5-15
5-1
Overview
Organization administrators are responsible for the configuration and
management of an organization within the Windchill system. The organization
may represent a business unit of the parent company hosting the Windchill system
or it may represent a supplier or partner to the parent company. In an exchange
environment, an organization represents those companies paying for the ability to
create projects.
Windchill solutions use organization principals (WTOrganization type) and
organization containers when administering organization information.
The development of products and the subsequent management of product
information throughout their entire life cycle is truly a collaborative process
involving a number of organizations, including suppliers, contract manufacturers,
and design partners. The Windchill solutions use organization containers as
follows:
To define your digital product value-chain.
To define data ownership responsibilities.
To define the level of engagement that organizations have within your system
and business processes.
All Windchill solutions, when configured, contain a host organization. This
organization represents your enterprise and is associated with an organization
container. The users in the host organization either author product information or
in some way are consumers of this information.
Windchill PDM has only one organization container (and corresponding
organization principal) that is created during installation. Additional organization
principals can be created using the Principal Administrator, but no additional
organization containers can be created.
In Windchill PDMLink and Windchill ProjectLink, organization containers (and
corresponding organization principals) can be created for each of the business
organizations and or business units that are collaborating together through the
Windchill solutions. Each organization inherits templates (document, workflow,
and life cycle templates) and groups defined in the parent site container and then
defines its own organization-specific templates, groups, types and roles. A
separate group of administrators is associated with each organization to manage
the organization templates, groups, and policies. The organization administrator
can control who is allowed to create application containers (products, libraries,
and projects) within their organization.
Windchill PDMLink and Windchill ProjectLink provide client user interfaces for
doing most activities that are related to administering organizations. Organization
administrators define the information that is common across all products,
libraries, and projects hosted within the context of their organization.
The organization templates can define the same basic information that is
discussed in the Container Administrative Items section of the Administering
Containers chapter. The out-of-the-box organization templates define the
following:
Container structure
Container participation
Container access control policies
Container data
The following sections describe the items that are defined in the templates.
Container Structure
The organization templates define the following folder structure: Change Log,
General, and Policies.
Some organization templates define groups that are automatically included in the
organization. You can add users to the groups.
Note: The rules for all object types are defined programmatically when an
organization container is created; they are not defined through the template that is
used.
Note: The rules for the WTObject object type is defined through the template.
Container Data
For organizations created using the General or Enterprise organization templates,
document types are inherited from the site.
For organizations created using the Customer or Supplier organization templates,
document types include those defined in the template as well as the ones inherited
from the site. The Customer and Supplier organization templates define the
following document types: Analysis, Contract, Design, Drawing, Issues, Memo,
Proposal, Report, Requirements, Schedule, Specification, and Statement of Work.
For all organizations, document attributes, part attributes, and project types are
inherited from the site.
The utilities listed on the Utilities page, which is accessible by clicking the
Utilities link from the Organization tab, allow you to perform administrative
actions at an organization level. Some of these utilities appear on other tabs. The
difference is the context from which the utility is launched.
The utilities are grouped according to whether they are system administration
utilities or business administration utilities. Many of links provided on the page
give you access to the utilities that you need to use to perform the duties described
in Typical Duties of Organization Administrators.
To explore the use of each utility, click the corresponding link on the page and
then click the help icon in the window that opens.
E-mail Addresses
Ensure that users have an e-mail address; many features in Windchill PDMLink
and Windchill ProjectLink require that users have an e-mail address. If users do
not have the e-mail attribute set in their user directory service entry, they cannot
participate in the features that require an e-mail address.
You can use the xconfmanager utility to add the following wt.property to make all
components collapsed:
com.ptc.netmarkets.defaultTablesCollapsed=true
Topic Page
Overview .............................................................................................................6-2
Typical Duties of Product and Library Administrators.......................................6-2
Out-of-the-box Product and Library Context Templates ....................................6-6
Creating a Product .............................................................................................6-15
Creating a Library .............................................................................................6-17
Administering Teams ........................................................................................6-18
Using the Product and Library Utilities Page....................................................6-19
6-1
Overview
Product and library administrators (also known as product and library managers)
are responsible for managing product and library containers in Windchill
PDMLink. The capabilities of product and library administrators are nearly
identical.
Product and library administrators control the product and library configuration,
and the membership in their product and library teams within the confines of a
specific product or library application container. They control access to product
and library information, and they define the specific life cycles, templates and
processes, and monitor and manage the product and library activities.
Product application containers are used to define new product models or instances
and collect all the information associated with the product. Product containers are
defined by product creators who are authorized by the organization parent under
which a product is created. Products inherit templates, roles, groups, and policies
from their parent organization container. In addition, the administrator can define
product-specific templates, roles, and policies.
Library application containers are used to manage standard parts and documents
that are used across products and projects in an organization. Library containers
are defined and managed by authorized library creators in the parent organization
parent under which a library is created. Libraries inherit templates, roles, groups,
and policies from their parent organization container. In addition, the
administrator can define library-specific templates, groups, roles, and policies.
For general information about container contents and how to create containers,
see Administering Containers.
Managing Folders
You can define folders and links within products and libraries.
By default, only product or library managers can define folders and subfolders in
the product or library. This is typically a good policy because it prevents members
from adopting a multitude of folder organization models, thereby creating folder
chaos.
Managing Templates
You can define the document, CAD document, life cycle, team, report, and
workflow templates that you want used in the context of a product or library. Each
product or library inherits the templates defined by its parent organization and the
site. Additionally, you can create new product or library-specific templates. If the
name you specify is the name of an inherited template, then the new template
overrides the inherited template that has the same name.
For additional information about templates, see Container Templates.
Note: The rules needed for setting up an external file vault for a product or
library are not inherited from the organization or site.
If the increased number of vaults and file vault rules becomes unmanageable, the
site administrator can force vaulting to be accomplished through a single vault by
setting the wt.fv.forceContentToVault property to true. For how to set external
file vault rules or set up a single vault, see the Administering External File Vaults
chapter in the Windchill System Administrators Guide.
Replication sites can also be configured so that document and part content files
are replicated at a remote site where local users have only very low bandwidth
connections to the Windchill server. Site administrators typically define the
replica site and the replication schedule, and the product or library managers
configure the replication rules for a particular product or library. For how to set
replication rules, see the Administering Content Replication chapter in the
Windchill System Administrators Guide.
Caution: PTC recommends that you do not modify the access control rules that
are programmatically set when containers are created. Doing so can cause
problems with access to data and administrative functionality.
Note: There are no out-of-the-box rules set for the Members or Change Admin
III roles.
Guests GUEST
Members MEMBERS
CONFIRMED
INVITED
Note: The CONFIRMED group is not associated with a specific role. All users
and groups added to any role, except the Guests role, are automatically added to
the CONFIRMED group.
Note: Although the INVITED group is created for all application containers, this
group is not used for products and libraries.
Note: As shown in the Generation Method column, the rules for Cabinet and
SubFolder object types are defined programmatically when a product or library
container is created; they are not defined through the template that is used. All
other rules are defined through the template.
Generation
Object Type State Permissions Method
Note: As shown in the Generation Method column, these rules are defined
programmatically when a product or library container is created; they are not
defined through the template that is used.
Note: As shown in the Generation Method column, the rules for Cabinet and
SubFolder object types are set programmatically when a product or library
Default Domain Rule for PRODUCT MANAGER and LIBRARY MANAGER Groups
The following table lists the combination of object type, life cycle state, and
granted permissions that the Default domain out-of-the-box rules define for the
Product Manager or Library Manager:
System Domain Rule for PRODUCT MANAGER and LIBRARY MANAGER Groups
The following table lists the combination of object type, life cycle state, and
granted permissions that the System domain out-of-the-box rules define for the
Product Manager or Library Manager:
Note: No rules are defined in the System domain for the CHANGE
ADMINISTRATOR I group.
Note: No rules are defined in the System domain for the CHANGE
ADMINISTRATOR II group.
Caution: PTC recommends that you do not modify the access control rules that
are programmatically set when containers are created. Doing so can cause
problems with access to data and administrative functionality.
To adjust the access control rules that are defined, you can use the Policy
Administrator. Navigate to the product or library and click the Policy
Administrator link from the Utilities page. Select the Default domain and click
Update. From the Administrative Domain window, click the Access Control
The following procedure summaries the steps needed to create a product (for
detailed instructions, see the help available from the Create Product window):
Note: The icon appears only if you can create a product container.
2. Select the context template and fill in the other fields in the Create Product
window.
For a description of the contents of the templates, see Out-of-the-box Product
and Library Context Templates.
The following procedure summaries the steps needed to create a library (for
detailed instructions, see the help available from the Create Library window):
Note: The icon appears only if you are a member of the library creators group
for your organization.
2. Select the context template and fill in the other fields in the Create Library
window.
For a description of the contents of the templates, see Out-of-the-box Product
and Library Context Templates.
3. Determine whether you want the library to be accessible through the normal
domain-based access control rules or accessible only to the library team
members.
This selection is made through the Private Access check box. If the check
box is selected, then the library domain structure inherits from the Private
organization domain rather than the normal PDM domain. This means that
access is restricted to use only the access control policies that are defined
within the library context being created; access control policies are not
inherited from the parent PDM context. For additional information on the
domain structure, see Managing Access to Data through Access Control
Rules.
4. Click OK to create the library and close the window.
Note: Any new roles that you create are not available for life cycle,
workflow, or team templates.
Add users to the team by adding the users in the specific roles.
You can add users by selecting individual users or by selecting groups that are
available. For example, if the organization administrator has created groups
for the organization, you can select one or more of these groups to be a
member of a role.
Note: When the organization container is created, the Site administrator has
the option of restricting user access. By default, users are restricted so that
they see only users and groups that belong to the organization. Selecting the
Allow entire user and group directory selection check box when the
organization container is created provides the ability to search for all users. If
this check box was not selected when the container was created, the Site or
organization administrator can update the organization container to select it.
Topic Page
Overview .............................................................................................................7-2
Typical Duties of Windchill PDM Administrators .............................................7-2
Out-of-the-box Windchill PDM Library Contents..............................................7-5
Creating Groups for Use in Site Domain Policies...............................................7-6
Improving Performance on Searches from Windchill Explorer..........................7-6
7-1
Overview
The Windchill PDM library container is created during the installation process
and the initial Windchill PDM administrator (also know as the site or system
administrator) is defined. How this container works with the other installed
containers and how to set additional administrators is described in the Getting
Started chapter.
The Windchill PDM administrators are responsible for administering business and
system functions in Windchill PDM. They define the specific life cycles,
templates and processes, and monitor and manage the product activities.
The Windchill PDM library container is used to define new product models or
instances and to collect all the information associated with the product.
For general information about containers and container contents, see
Administration Overview and Administering Containers.
For information about the creating products and navigating throughout the
solution, see the Windchill Foundation & PDM User's Guide.
Managing Templates
You can define a number of document, CAD document, life cycle, team, report,
and workflow templates that you want used in Windchill PDM library. The library
inherits the templates defined by the site. You can add to or just use these
templates, or you can override the templates by defining specific templates with
the same name as the site templates you want to override.
For additional information about templates, see Container Templates.
Note: Windchill PDM library container inherits administrative items from the
Site container as described in Distributed and Hierarchical Administration and
other sections of the Administering Containers chapter.
Topic Page
Overview .............................................................................................................8-2
Typical Duties of Project Managers....................................................................8-2
Out-of-the-box Project Templates.......................................................................8-6
Creating a Project ................................................................................................8-8
8-1
Overview
Project managers (also known as project administrators) are responsible for
creating and managing projects hosted by a parent organization in the system.
Project managers create and configure the project and control the membership of
the project teams within the confines of a project application container. They
control access to the project information, and they define the project schedule,
resources, and plan details.
Project application containers are used to define new projects and to collect all the
information associated with the project. Project containers are defined by project
creators who are authorized by the parent organization. Projects inherit templates,
roles, groups, and policies from their parent organization container. In addition,
the project manager can define project-specific templates, groups, roles, and
policies.
For general information about container contents and how to create containers,
see Administering Containers.
Publish Monitor
You can access the Publish Monitor utility to monitor the publishing of viewable
files generated when CAD models are checked into the project.
Replication Administrator
You can establish project content replication rules. Replication is useful when
sharing large files with remote sites where the remote users have low bandwidth
connections to the Windchill server. Replication sites are configured so that
document and part content files are replicated at a remote site and made available
locally to the remote users through a higher bandwidth connection. Replication
can decrease the time required to upload and download files at the remote site.
Site administrators must define the replica site and the replication schedule;
project managers configure the replication rules for a particular replication site
established for the system.
Define replication only for those projects in which remote sites are participating.
Replication imposes a substantial performance burden on the Windchill server.
The project templates can define the same basic information that is discussed in
the Container Administrative Items section of the Administering Containers
chapter. However, the out-of-the-box templates define only the following:
Container structure
Container environment
Container participation
The following sections describe the items that are defined in the templates.
Container Structure
Container Participation
Creating a Project
Note: Members of the project creators group of an organization create containers
under that organization. By default, organizations allow all members to create
projects, but the organization or site administrator may update the organization
restricting project creation privileges to identified creators.
For information about creating projects, see Beginning a Project in the Windchill
ProjectLink Users Guide or the help available from the Create Project window.
For information about project plans, see Managing Project Plans in the Windchill
ProjectLink Users Guide.
This chapter describes the principals (user, group, and organization objects) that
are used in your Windchill solution. It also provides details about managing the
principals.
Topic Page
Overview .............................................................................................................9-2
Using the Principal Administrator.......................................................................9-4
Understanding Principals ....................................................................................9-7
Best Practices for Assigning Domains to Principals ...........................................9-7
Managing Users...................................................................................................9-8
Managing Groups ..............................................................................................9-12
Managing Organizations ...................................................................................9-14
Receiving Administrative Notifications............................................................9-16
Managing the Principal Cache ..........................................................................9-17
Maintaining the Connections between Principal Objects and their Directory
Service Entries...................................................................................................9-18
9-1
Overview
Windchill uses the term principal to mean a user, group, or organization. It uses
principals to mean any combination of users, groups, or organizations.
As the Windchill system administrator for any Windchill solution, you can create
and update Windchill user, group, and organization objects through the Principal
Administrator. As an Organization Administrator in Windchill PDMLink and
Windchill ProjectLink, you can update the Windchill user, group, and
organization objects that are in the organization context that you are
administering.
Note: When a Windchill solution is installed, the system administrative user
(Administrator), the system administrative group (Administrators), and the host
organization object are always created. By default, the user Administrator (for
example, wcadmin) belongs to the Administrators group. This user does not have
an organization affiliation (as defined by the organization attribute, which is "o"
by default). Members of the Administrators group are granted all the permissions
required to accomplish the administration tasks described in this guide.
Windchill uses both the Windchill database and a directory service when creating
principals. For each principal, there is an entry in a directory service and a
Windchill object stored in the database:
The directory service entry contains attributes specific to the type of principal.
For example, user entries have attributes for the users full name, e-mail
address, and organization.
The Aphelion Directory Service is set up when your Windchill solution is
installed. Other directory services can be established by setting up JNDI
adapter entries through the Info*Engine Property Administrator and adding
the adapter entries to the wt.federation.org.directoryServices property value.
For additional information, see the Windchill Installation and Configuration
Guide.
The Windchill object contains information that is relevant to Windchill (such
as the associated domain) and the Unique Federation Identifier (UFID)
associated with principal.
The UFID contains the distinguished name of the principal and identifies the
directory service where the principal entry resides.
The following sections provide additional details about Windchill principals.
Windchill Users
A Windchill user object identifies a user and is used when establishing group
membership and policy rules for that user. It is stored in the Windchill database
and holds user information for those users who have access to Windchill. This
information includes the user name, the UFID associated with the user, the
Windchill Groups
Organizing users into Windchill groups provides you with a more efficient way to
apply policies for access control, indexing, and event notification. Each group
object identifies selected users, organizations, and possibly other groups, under
one name. You can create groups so that you can efficiently apply administrative
policies (such as those for access control, indexing, and notification policies) to
sets of users, rather than to each user individually.
Groups are associated with the context in which they are created. From the
Principal Administrator, you only have access to the groups created through the
Principal Administrator in the current context or in ancestor contexts. Some
Windchill solutions also create and manage internal groups that are used to
manage team role membership. These groups are not accessible from the Principal
Administrator.
A Windchill group object holds the group name, the UFID associated with the
group, the Windchill domain of the group, and administrative flags that are set if
the object needs to be repaired or is disabled. The UFID contains the distinguished
name of the group and identifies the directory service where group entry resides.
Windchill Organizations
Categorizing users by organization provides an additional way in which you can
identify a set of principals by name. The Windchill PDM solution does not make
extensive use of organization objects; however, it does provide an organization
ownership feature that can be turned on to identify which organization owns
specific Windchill objects (see Administering Organizations in the Windchill
System Administrators Guide). Other Windchill solutions make use of
Link Description
Groups Displays the Groups table from which you can manage
groups that are created in either the current context or
ancestor contexts. Click Add Existing Groups to
Understanding Principals
Principals are identified across Windchill systems through the use of the principal
Unique Federation Identifiers (UFIDs). The syntax for principal UFIDs is as
follows:
<distinguished_name>:<guid>@<domain>
where:
<distinguished_name> is the distinguished name of the principal.
<guid> is the globally unique identifier of the repository in which the principal
was first created or discovered.
<domain> is the Internet-style domain name of the repository in which the
principal currently resides.
Together, <guid>@<domain> identifies the directory service in which the
principal resides.
Note: The default domain associations described in the previous list only apply if
you have not set up JNDI adapters that configure principal domain assignments as
described in previous releases. The domain assignments in a JDNI adapter take
precedence over the system defaults.
User objects and personal cabinets are created automatically when users are
selected in a search or when users log in. These user objects and person cabinets
are always associated with the default domains described earlier. When you create
a user through the Principal Administrator, you can select the domains. But in
most cases, you should use the defaults (which are used when you do not select a
domain).
When creating group objects through the Principal Administrator, using the
default domain is usually a good choice. However, you may want to choose a
different domain if you want policy rules from a domain other than the default to
apply to the group object.
When creating organization objects through the Principal Administrator, using the
default domain is usually a good choice. However, you may want to choose a
different domain if you want policy rules from a domain other than the default to
apply to the organization object. This may be the case if you want to allow users
to select the owning organization when they create parts and documents. For the
details on how to turn on the organization ownership feature, see Administering
Organizations in the Windchill System Administrators Guide.
Managing Users
Clicking the Users link on the Principal Administrator main page displays the
Users table from which you can manage users. Clicking Add Existing Users to
Table allows you to locate existing users and add them to the Users table.
Clicking Create New User allows you to create a new user. After a user is
added to the table, you can manage the user. In previous releases, users were
identified by a user ID. The user ID is now known as the user name.
Managing users includes performing the following activities:
Note: Although Windchill PDM and the Principal Administrator do not require
that users have an e-mail address, many features in Windchill PDMLink and
Windchill ProjectLink require that users have an e-mail address.
The following sections provide information about personal cabinets and deleting
users.
Deleting Users
Caution: Do not delete a user unless you understand how it affects the system, as
described in this section.
There are two actions that result in deleting a user. They are:
Delete - Only Windchill
Delete - Completely
The first action has the affect of deleting the user from the Windchill database.
The second action deletes the user from both the Windchill database and the user
directory service. To use the second action, you must have the required
permissions to be able to delete users from the directory service as well as the
database.
Note: You cannot delete the Administrator or the Administrator group. Nor can
you delete yourself.
Managing Groups
Clicking the Groups link on the Principal Administrator main page displays the
Groups table from which you can manage groups. Clicking Add Existing
Groups to Table allows you to locate existing groups and add them to the
Groups table. Clicking Create New Group allows you to create a new
group.
Managing groups includes performing the following activities:
Creating groups, either from scratch or by starting with a similar group
To create a similar group, access the information page of a current group and
select the Create Similar Group link.
Searching for groups
Updating and deleting groups
When deleting groups, you can delete them from just the Windchill database
or delete them from both the database and the directory service.
Viewing information about groups
Purging groups from the principal cache
Note: The groups that can be managed from the Principal Administrator do not
include internal groups that are created as a result of administrator interaction with
Windchill PDMLink and Windchill ProjectLink. For example, the internal groups
created for the context team roles can only be managed from the Teams link; they
are not visible through the Principal Administrator.
Deleting Groups
Caution: Do not delete a group unless you understand how it affects the system,
as described in this section.
There are two actions that result in deleting a group. They are:
Delete - Only Windchill
Delete - Completely
The first action has the affect of deleting the group from the Windchill database.
The second action deletes the group from both the Windchill database and the
directory service. To use the second action, you must have the required
permissions to be able to delete groups from the directory service as well as the
database.
The results of deleting a group from the Windchill database are as follows:
Users who were members of the group no longer belong to the group.
All access control rules that identify this group are removed from the access
control policy for a domain. If any users had access permissions derived
solely from membership in the deleted group, it may be necessary to create
new rules to restore the lost permissions.
The group is removed from all notification lists within notification policy
rules and, if deleting the group from the list results in an empty list, then the
rule is also deleted.
The following rules govern work items associated with a workflow process when
a group is deleted from the Windchill database:
If a group is deleted after a workflow process has been initiated, but prior to
assignment of a work item, the group is removed from the list of participants.
If removing the group leaves no participants for a role, then the role resolution
is determined by the settings in the wt.properties file:
If the wt.workflow.engine.ignoreUnresolvedRole property is set to true
and if the ignoreUnresolvedRole event configuration is set for this
activity; then there will be no work item created and the WfAssignment
object completes so the workflow does not hang.
If the wt.workflow.engine.ignoreUnresolvedRole property is set to false,
one work item is created that goes to the Responsible Role defined in the
activity template. The default for the Responsible Role is the process
Managing Organizations
Clicking the Organizations link on the Principal Administrator main page
displays the Organizations table from which you can manage organizations.
Clicking Add Existing Organizations to Table allows you to search for
existing organization objects and add them to the Organizations table. Clicking
Create New Organization allows you to create a new organization object.
Note: When specifying the internet domain name of an organization, the name
you enter can contain only alphanumeric characters and the hyphen (-) character.
Do not enter any other types of characters in the name.
Deleting Organizations
There are two actions that result in deleting an organization. They are:
Topic Page
Overview ...........................................................................................................10-2
About Access Control Rules .............................................................................10-2
Creating and Managing Access Control Rules..................................................10-3
Setting Permissions ...........................................................................................10-5
About Access Control Lists...............................................................................10-6
About Predefined Access Control Policy Rules..............................................10-12
Managing Access to Enterprise Information...................................................10-13
Access Control Strategies for Cabinets in Windchill PDM ............................10-22
Access Control Strategies for Life-Cycle Managed Objects...........................10-24
Combining Access Control Strategies for Cabinets and Life-Cycle Managed
Objects.............................................................................................................10-24
10-1
Overview
As a Windchill administrator, you must ensure that only the appropriate principals
have access to objects. These decisions are expressed as access control rules
governing domains. Defining these rules determines the types of interactions
principals can have with objects of a specific object type and a specific life cycle
state.
For example, you can create a rule that gives the Publication group permission to
modify objects of type WTDocument when they are in the Under Review state of
their life cycle. Together, such rules form an access control policy for the domain.
Subsequently, access control lists (ACLs) are derived from the policy for a
domain and the policies of all its ancestor domains to enforce your access
decisions.
When users are viewing the attributes of an object where some of the attributes
reference access controlled objects, such as principals, then whether the user sees
the value of the attributes is determined by the whether the user has Read
permission for the referenced objects. Typically, when a user does not have Read
permission for a referenced object, the field shows (Secured information)
instead of the attribute value. For example, assume that a user displays
information about a product. On the page displayed, one of the product attribute
fields is Created By and the value is the name of the user who created the
product. If the user displaying the product information does not have Read
permission for the user who created the product, then the name of the user will not
appear. Instead of the name, the user sees (Secured information).
This chapter discusses Windchill access control concepts, explains the
relationship between domain and instance-based access control rules, and presents
strategies for developing useful rules.
Note: Not all business objects are subject to access control, nor must all object
types exist in a domain.
Permission Description
New View Version Determines the right to create a version for a specific
view.
Permission Selects
Read None
Modify Read
Administrative None
For example, if you select Grant for Modify, the Grant for Read button is
automatically selected, as illustrated in the following part of the Access Control
Rule window:
If you do not want to permit Read access, simply click the None button for Read
to clear it. Selecting None means that the rule neither grants nor denies the
permission.
The combination of these rules produces the following ACL entries for incident
reports in the InWork state in the /Parts domain in the Windchill PDM container:
When you have defined the access control rules for domains, all of the instances
of the object type of a particular state, and belonging to the same domain for
which you have created rules, share an ACL. This association between the ACL
and the object type, state and domain is preserved thereafter. When a principal
attempts to access an object (for example, to view it or modify it), the associated
ACL is retrieved, and the policy is enforced. Once an ACL is calculated, it is
cached so it can be retrieved quickly for the next access request.
For example, assume that within the /Acme domain, user Audrey.Carmen is a
member of a group that has read, delete permission for all objects of the type
WTObject that are in the Closed state. She is also a member of a group that has
modify permission for all incident reports within the /Acme/Support domain in
the Closed state, where IncidentReport is a soft type of WTObject. However,
there is another access control rule within the /Acme domain for Audrey.Carmen
as an individual user, that explicitly denies her delete permission for incident
reports in the Closed state.
The following shows the ACL entry for Audrey.Carmen that is associated with
incident reports in the Closed state within the /Acme/Support domain:
+Audrey.Carmen read, modify
When this ACL entry was derived from the access control policies for the /,
/Acme, and /Acme/Support domains, Audrey.Carmen was given read and modify
permissions. Because IncidentReport is a soft type of WTObject, Audrey's read
These rules grant all permissions to the MarketingAdministrators group for the
policy rule object types in the Marketing domain of the Windchill PDM library
container. They allow members of the MarketingAdministrators group to view,
create, update, and delete rules in the Marketing domain or any of its descendent
domains, but not to manage rules in any ancestor domains. The rules granting read
permissions to the MarketingAdministrators group for the policy rule object types
in the Root domain allows members of the MarketingAdministrators group to see
the rules inherited from ancestor domains.
Caution: The access control rules set for the domains in the Site container should
not be modified without considering the full consequences of the modification.
For example, changing the rule that grants Administrators Full Control (All) on
the WTObject object type in All states should not be modified. If this rule is
removed by mistake, you cannot administer your Windchill solution.
Caution: Creating rules that deny permissions for the pseudo-group ALL is also
discouraged. Denying access to ALL includes denying access to users in the
Note: Setting this property to false turns off access control. This means that
none of the access control rules are enforced.
The following sections describe each characteristic and identify the access control
requirements necessary for operating on an object that has the characteristic.
Foldered Information
The Windchill conceptual model for information storage is based on the
organization provided by an operating system. The components of this model
include the following:
Cabinets -- a type of folder that is the top-level organizing mechanism in the
Windchill solution. A cabinet is analogous to a disk drive in the Windows
operating system. Cabinets are exposed in Windchill PDM, but not exposed in
the Windchill PDMLink and Windchill ProjectLink user interface. However,
Windchill PDMLink and Windchill ProjectLink do use cabinets internally.
Subfolders -- a type of folder that holds objects and resides in cabinets or
other subfolders.
The top-level foldered object exposed through the Windchill PDMLink and
Windchill ProjectLink user interface is called a Folder and has the subfolder
object type. Within a solution container, all subfolders are members of either
the Default or System container cabinet.
Cabinets
In addition to being a folder object, a cabinet is a domain administered object.
When a cabinet it is created, it is associated with a domain, which determines its
policy rules and administrative policies. In Windchill PDM, if no domain is
selected when a cabinet is created through the Windchill Explorer, / (root) domain
in the Site context is associated with the cabinet.
A cabinet can contain folder members, which include subfolders and shortcuts to
other folder members. Cabinets cannot contain other cabinets.
In Windchill PDM, the wt.admin.displayDomains preference determines the
visibility of the domain a cabinet or subfolder belongs to on properties pages, and
on dialogs for creating and updating cabinets and subfolders within Windchill
Explorer. If the value is true, the cabinet or subfolders domain is displayed. For
subfolders, inheritance of the domain from a parent cabinet or subfolder is also
displayed. If the value is false, the domain information is not displayed.
A cabinet may have a primary owner. By default, the owner of a cabinet is also the
owner of all information stored in that cabinet. In general, cabinets provide an
organizational root for information.
To facilitate organization and control of information, the system provides the
following two types of cabinets:
personal: A personal cabinet is associated with a single user, who is
considered its owner. In other words, you are the owner of your personal
cabinet and all of the information it contains. In Windchill PDM, access to
personal cabinets is through the Windchill Explorer and the personal cabinet
icon. In Windchill PDMLink and Windchill ProjectLink, access to personal
cabinets is through a users work list items; there is no direct access to
personal cabinets.
shared: A shared cabinet is not associated with a single user and does not
have an owner. Like a common filing cabinet, a shared cabinet contains
information intended to be shared among users and groups. A shared cabinet
has no owner, and the information stored in that cabinet also has no owner.
The administrative rules determine who has access to the shared cabinet and
its objects. The shared cabinets within the system can also be thought of as a
vault for storing information. However, the access control rules applied to the
domain associated with the cabinet determine the level of security the cabinet
provides.
Foldered Objects
A folder member (or foldered object) must always reside in a folder, whether a
cabinet or a subfolder. A folder member can be located in only one folder at a
time, and its identity must be unique within that folder. However, you can use a
shortcut to make a foldered object that resides in one folder also appear to be in
another folder.
By default, the owner of a folder member is the owner of the folder in which it is
located.
Note: In Windchill PDM, parts must be created in the user's personal cabinet.
They can then be moved to a shared cabinet, so others can access them.
Access to Cabinets
Access control rules that apply to the cabinet (based on the domain it belongs to)
do not extend to the objects located within that cabinet and its folders. For
example, assume that user Bill Smith has Read permission for Cabinet type in
domain X. However, having Read permission to cabinets does not give Bill Smith
read access to documents in a cabinet. There must be an additional access control
rule defined for documents that provides the Read permission.
Also, consider the following example:
User Bill Smith does not have Read permission for the Cabinet type in
domain X.
He does have Read permission for the Requirements type, a soft type of
WTDocument, in domain X.
Consequently, Bill Smith can search for and find Requirements documents
that reside in domain X. However, because he does not have read access to the
Rule 2:
This chapter discusses the basic concepts of types and the runtime typing
capability. It describes the Type Manager utility and how to use it to define new
subtypes, attributes, and constraints.
Topic Page
Overview of Types and the Runtime Typing Capability ..................................11-2
The Type Manager ..........................................................................................11-10
11-1
Overview of Types and the Runtime Typing Capability
The runtime typing capability allows you to augment Windchill out-of-the-box
business objects without changing the object model and writing code. Typing
allows you to fine-tune the system and address changing needs without
recompiling, rebooting, or stopping operations.
Instead of using Rational Rose to create a new class that extends an existing
Windchill business class, you can create a new type of object. To do this, you
must create a new type in the Windchill Type Manager. You can use runtime
typing to:
Augment a Windchill part or document by adding additional attributes, or
adding new types with different attribute sets (implementation).
Quickly show your end users how Windchill could be used to solve their
business problem (prototyping environment).
Distribute Windchill to multiple divisions, when each division wants to
modify slightly the site-specific modeled classes to enhance the part and
document definitions for their own division (deployment.)
The Type Manager user interface, described later in this chapter, allows you to
perform the following actions:
Create new types of the existing Windchill out-of-the-box part, document,
and change objects, and any modeled extensions to these objects created at
your site.
Create new attributes for any existing type.
Define constraints for any existing attribute.
Update types, attributes, and constraints.
Delete types and attributes.
Duplicate types (by copying and pasting) and move types (by cutting and
pasting).
Each Windchill out-of-the-box modeled class appears as a root node in the Type
Manager. You can add subclasses to Windchill business objects using the Type
Manager user interface. The Type Manager supports inheritance, providing the
newly created subtype with both the modeled and non-modeled attributes of the
parent type.
Any modeled classes added at your site that extend the basic Windchill business
objects will appear as subtypes for the Type Manager root node. For example,
assume that your organization creates a subclass in Rational Rose named
SiteDocument, which extends the Windchill base class WTDocument. The
SiteDocument would appear as a subtype of WTDocument in the Type Manager,
where you can add additional attributes, further refine constraints, or create new
subtypes of SiteDocument with its corresponding attributes and constraints.
where <key> is the external form for the soft type "WCTYPE|wt.part.WTPart|
com.myco.MySoftPart"
Attributes can be handled in a similar way, but the corresponding file is
com/ptc/core/meta/common/DefinitionResource.rbInfo:
# Entry Format (values equal to default value are not included)
# <key>.value=
# <key>.display=
# <key>.abbreviatedDisplay=
# <key>.fullDisplay=
# <key>.shortDescription=
# <key>.longDescription=
# <key>.dataType=
where <key> is the external form for the instance based attribute "IBA|
mySoftAttribute"
Caution: See Best Practices for Windchill PDMLink and Windchill ProjectLink
for information about restrictions on creating soft types and soft attributes in
Windchill PDMLink and Windchill ProjectLink.
Adding Attributes
To create or add an attribute in Windchill PDM, click Attribute Administrator
on the Business Administrator page. From the Attribute Administrator
window, click Attribute Definition Manager.
To add attributes in Windchill PDMLink or Windchill ProjectLink, click
Attribute Definition Manager from the Utilities page of the Site tab. Only site
administrators can access the Attribute Definition Manager.
Using the Attribute Manager, you can name and set the type of a new attribute.
After the attribute has been created, you can update it to specify a description and
display name. For more information about creating attributes, see the online help
available for the Attribute Manager.
To add an existing attribute to one of the supported object types, click Type
Manager on the Administration tab. The left pane of the resulting Type
Manager window shows object types. You can add an attribute to any of the
supported types listed earlier in this section.
WTAnalysisActivity N/A
WTChangeInvestigation N/A
Client Changes
When you add attributes to objects, Windchill clients are affected in the following
ways:
On create and update HTML pages, additional attributes appear following the
standard fields. Certain types of attributes cannot be set. See Types Not
Supported in the HTML and Desktop Integration Clients.
In PIM, to modify additional attributes in the create part and update part
windows, click Edit Attributes. A dialog box opens to allow you to modify
all additional attributes that have been added through the Type Manager.
PIM supports all available attributes, including the attributes not supported by
the HTML client. The default attribute values, defined in the Type Manager,
are added to the part automatically if the user does not open this dialog during
the creation of a part.
Note: If a discrete constraint has been defined for a String or Long attribute, the
set of valid values for that attribute is presented in a drop-down list in HTML
windows.
The left pane displays the type hierarchy in an expandable and collapsible tree
structure. The right pane is used for viewing, creating, and updating types,
attributes, their values, and their constraints.
Note: You can create new attributes in the Attribute Administrator at any
time, even before you start the Type Manager session. But, if you are
already using the Type Manager, neither it nor the method server need be
restarted for the new attributes to be available for use.
b. From the Attribute Administrator window, click Attribute Definition
Manager.
d. Add the remaining attributes using the same procedure, then return to the
Type Manager.
7. Click the Template tab, which displays the types attributes and their default
values. Initially, no attributes appear. (Although they do not appear on this
tab, all modeled attributes of the parent type are inherited by the new type.)
8. Click Root, and click Add Attribute. This opens the Select Attribute
window.
Note: All actions for the buttons at the bottom of the Template page are also
available through a right-click pop-up menu.
10. Click Select. This window closes, and you are returned to the Type Manager
window, which now lists the new attribute cageCode.
11. Click in the Value field corresponding to the new attribute and enter a default
value, in this case, 0.
Note: A default value is required for each attribute you add. This value is the
initial value that is given to the new instance of the type. The value is required
to ensure there is at least one value for the attribute that is capable of
satisfying the constraints you may define. (You are not allowed to check in
any changes to types that violate their own constraints.)
12. Add the remaining attributes in the same manner.
13. To put constraints on any of these attributes, click on the desired attribute and
click Show Constraint. The Constraint Editor window opens.
15. Select the desired constraint. See Setting Constraints for more information.
For example, to set a range for the procurementLeadtime attribute, select the
RangeConstraint constraint, and click Select.
The Base Selector window closes and you are returned to the Constraint
Editor, which now shows the attributes constraint.
16. In the case of a range constraint, you are prompted to enter two values for the
range, as shown in the following figure.
New instances of the xyzPart type now have the spare attribute. Existing
instances can wait until the first time they are accessed to be updated. At this
time, the spare attribute, and its default value, are added to the instance. This
is known as lazy migration and prevents excessive activity in the database
when a new attribute is added or deleted.
Setting Constraints
The following table provides information about constraint types.
Discrete Set All No The attribute value must be the String data type: constraint
Constraint same as one of the specified value set: abc|cde|efg
constraint values. Legal strings can be abc,
cde, or efg
Integer data type: constraint
value set: 1|2|3
Legal integer value can be
1, 2, or 3
Note: | is the delimiter for
the string values. Currently,
| is the reserved character.
Immutable All Yes The user cannot change, add, or No constraint value.
Constraint delete the value of the attribute.
Notes: To add this constraint, the
user has to same the attribute
value first.
String Can be No The length of the string value From: 3 To: 200.
Length applied to must be greater than or equal to 3 <= length of legal string
Constraint All data the minimum, and less than or <= 200.
type, but equal to the maximum values
only specified (the range is inclusive).
effective Note: "From:" specifies the
on String minimum length. "To:" specifies
data type. the maximum length.
Suggested All No Provide a set of suggested values String data type: constraint
Values to the Constrainable. value set: abc|cde|efg.
Constraint Legal strings can be abc,
cde, or efg.
Integer data type: constraint
value set: 1|2|3.
Legal integer value can be
1, 2, or 3.
Note: | is the delimiter for
the string values. Currently,
| is the reserved character.
Value All Yes The attribute must have at least No constraint value.
Required one value. When applied to
Constraint Container, each attribute must
have at least one value.
You should restrict soft type/soft attribute definitions. If not, client customizations
are necessary to expose the new soft types and soft attributes.
Site administrators can define the following:
soft attributes for wt.part.WTPart
soft attributes for wt.change2.ChangeIssue
Topic Page
Overview ...........................................................................................................12-2
About Indexing Rules........................................................................................12-2
Creating and Managing Indexing Rules............................................................12-3
About Indexing Policy.......................................................................................12-3
About Indexing Lists .........................................................................................12-4
Defining a Collection ........................................................................................12-5
12-1
Overview
Indexing is the process of extracting text strings of attribute names and attribute
values from Windchill objects and sending them to a search engine that builds
indices optimized for searching. This enables users to efficiently search for data
stored in a Windchill database, without having to know anything about the
internal object model.
Windchill solutions provide the option of installing RetrievalWare to help with
indexing. For additional information about RetrievalWare and its indexing
capabilities, see the Administering RetrievalWare Libraries chapter in the
Windchill System Administrators Guide.
Click the help icon located in the upper left hand corner of the window for specific
instructions on retrieving, creating, updating, deleting, and reporting on indexing
rules.
As this list entry specifies, the Current, Assignments, and CustomerX collections
must be updated whenever an incident report is created or modified that is
associated with /Publications domain, which is in the Windchill PDM context,
regardless of the life cycle state it enters.
When you have defined the indexing rules for your domains, all of the objects
with the same domain, type, and state combination for which you have created a
rule share an indexing list.
This association between the indexing list and the object is preserved.
Defining a Collection
Indexing is the process of extracting text strings of attribute names and attribute
values from Windchill objects and sending them to a search engine that builds
index collections optimized for searching. This enables users to efficiently search
for data stored in a Windchill database without having to know anything about the
internal object model.
Windchill collections are defined in the wt.properties file. Each collection has
properties that define the collection. For more information, see the Administering
RetrievalWare Libraries chapter in the Windchill System Administrators Guide.
Topic Page
Overview ...........................................................................................................13-2
About Notification Rules...................................................................................13-2
Creating and Managing Notification Rules.......................................................13-3
Notification Lists...............................................................................................13-4
About Notification.............................................................................................13-5
1
Overview
A notification policy determines who is notified when events of interest happen in
the system.
Creating a notification rule requires you to specify the rule antecedent and the rule
consequent. The rule antecedent comprises the following parts:
The domain
The object type, which determines which rules within a notification policy
apply to a specific object
The system event type (for example, Checkout).
The rule consequent is a list of one or more principals.
A notification rule for a domain identifies a system event of interest for a
particular object type and determines which users, groups, and organizations
should be notified when one of those events occurs, for example, checkout. There
can be only one event type and one object type specified within a single rule.
However, each rule can identify multiple principals.
An object type specifies a category of objects that share the same attributes and
functions. For example, WTDocument is an object type, and instances of that type
may be found in some of the domains you have created. Since Windchill domains
are hierarchical, notification rules defined for a domain are inherited by
descendent domains. For example, notification rules defined for the
WTDocument object type in all states within the Design domain apply to
instances of the type within that domain or any descendent domains.
Because Windchill types are also hierarchical, an object inherits rules defined for
its ancestor types. Therefore, more than one rule may apply to a given object. For
Click the help icon located in the upper right hand corner of the window for
specific instructions on retrieving, creating, updating, deleting, and reporting on
notification rules.
Administering Notifications 3
Notification Lists
Notification lists are generated from the notification rules for a domain and its
ancestor domains. These lists are the basic mechanism for initiating user
notification when an event occurs within the context of a specific object within the
domain. For performance reasons, once lists are constructed, they are kept in a
cache.
Notification lists are generated for every combination of type, event, and domain.
A notification list for an object that is the target of an event is obtained by
combining all rules that apply to the event, the domain to which the object
belongs, and the type of object. For example, the same notification list applies to
the Create event for all WTDocument objects within a given domain. In addition,
this notification list can be different from the list associated with WTPart objects,
even if the objects belong to the same domain.
To make this definition precise, it is necessary to describe how rules are combined
and when a rule applies to a type.
A rule is applicable to a given type when the object type referred to in the
notification rule is the type itself or one of its ancestor types. For example, a rule
that applies to the WTObject type also applies to the IncidentReport type if
IncidentReport is a soft type of WTObject.
This type of hierarchy, in addition to the domain hierarchy, means that more than
one set of principals may need to be notified when a specific event is applied to an
object.
For example, consider the combination of the following rules:
The combination of these rules produces the following notification list entry for
IncidentReports created in the /Publications domain:
As this list entry specifies, all members of the Marketing, Engineers, and Support
groups, and also user Amanda Smith, must be notified whenever an incident
About Notification
Before the notification process can begin, the Notification Policy Manager
subscribes to all system events that are specified in the notify.properties file. The
following figure represents an overview of the notification process:
Object
Administering Notifications 5
The Notification Policy Manager checks to determine whether the event
triggers a notification action. In many cases it does not, and can be ignored
(step 3a). (For example, if the object does not belong to a type subject to
notification rules, or there is no list for the domain/type/event.)
This chapter provides information about life cycles and the Life Cycle
Administrator.
Topic Page
Overview ...........................................................................................................14-2
The Windchill Life Cycle Model ......................................................................14-2
Life Cycle Iteration ...........................................................................................14-3
Creating a Life Cycle Template ........................................................................14-5
Life Cycle Properties.........................................................................................14-6
Defining Life Cycle Phases...............................................................................14-8
Predefined Life Cycle States ...........................................................................14-19
Import and Export ...........................................................................................14-19
Access to Life Cycle Administration ..............................................................14-21
Best Practices for Windchill PDMLink and Windchill ProjectLink...............14-21
14-1
Overview
Business information and business objects generally become more mature and
reliable over time. Life cycles define the way in which these business objects
mature, providing a model for a product's commercialization process.
How you access the Life Cycle Administrator is determined by your Windchill
solution:
From Windchill PDM, you can access the Life Cycle Administrator by
clicking the Process Administrator link that is on the Business
Administration home page. Then click Life Cycle Administrator.
From Windchill PDMLink, you can access the Life Cycle Administrator by
clicking the Life Cycle Administrator link on the Utilities pages that are
under the Site, Organization, Product, and Library tabs. The Life Cycle
Administrator link from the Site tab provides you (as the site administrator)
with unrestricted access to all life cycles. The link from the Organization tab
provides access to only those types that are in the organization context that is
active when you launch the Life Cycle Administrator. The link from the
Product and Library tabs provides access to only those types that are in the
context that is active when you launch the Life Cycle Administrator.
From the Product and Library tabs, the Life Cycle Administrator shows all
life cycle templates from that context, the organization context, and the site
context. From the Organization tab, you see life cycle templates from the
organization context and the site context. From the Site tab, you see only site-
level life cycle templates.
From Windchill ProjectLink, you can access the Life Cycle Administrator
from the Utilities pages that are under the Site and Organization tabs.
This chapter describes how to define a life cycle using the Life Cycle
Administrator.
Name Specifies the name of the life cycle. Life cycle names must be unique.
If you enter a name already in use, an error message appears. When you
update a life cycle, you cannot change its name. This is a required
property.
Location Specifies the cabinet and folder in which this life cycle is stored. The
System cabinet is the default location. This is a required property for
Windchill PDM.
Note: Only Windchill PDM allows the user to select the location.
Windchill PDMLink and Windchill ProjectLink automatically check in
the template to the System folder for the context in which it was
created.
Class Specifies the object type to which this life cycle applies. This is a
required property.
Routing Used only by Windchill ProjectLink, this property specifies the life
cycle templates can be used for routings.
Note: Only life cycle templates that have one workflow associated to
the first phase of the life cycle support routing.
The Class display in the panel above provides a tree view of all object types
subject to life cycle management. You must choose the type to which this life
cycle will apply. Because Windchill types are hierarchical, the life cycle is
applicable to the selected type and all of its subtypes. A type can inherit more than
one life cycle; you can directly associate a life cycle with a given subtype. For
example, you could associate a life cycle with the type WTObject, and all its
subtypes would also be associated with that life cycle. You could also associate
those subtypes (for example, WTChangeRequest) with other life cycles.
When users create objects subject to a life cycle, they must choose an appropriate
life cycle as part of the creation process. All of the life cycles in the current
context, or inherited by ancestor contexts to which you have read access, that are
associated with the type of the object appear in the drop-down list. If you want to
use a life cycle defined for another object type, click Search to list all life cycles,
irrespective of object type.
Note: To view the properties of the life cycle itself, click anywhere on the life
cycle diagram background to open the PropertiesLife Cycle panel. The
PropertiesLife Cycle panel also opens when you delete a phase.
State When you add a phase icon to the life cycle diagram,
you must choose the state it represents from the drop-
down list, which is populated with all available states.
Windchill provides predefined states (for example, In
Work and Under Review). You can define additional
states by adding them to the StateRB resource file.
When you select a state, its name appears on the phase
icon. The other phase properties you add define the
behavior associated with an object while it is in this
state.
Roles For each life cycle phase, you can select roles (for
example, Reviewer or Workflow Assignee).
Submitter is a required role for each phase. Promoter
is a required role for all but the final phase of the life
cycle.
These roles are mapped to role players. A role player
can be specified as a user, a user group, an
organization, an actor, or another role.
Access Control You can also define access control rules that will be in
effect for this phase. These rules, which specify
permissions for each role, will be added to those
already in effect for the object, based on the domain's
access policy.
To add a role to the phase, select the role and click Add to move it to the Selected
Roles list. You can also click Add All to move all the displayed roles to the
Selected Roles list. Click Remove or Remove All to delete roles from the list.
Role Mappings
A role mapping is resolved in one of several ways:
You can directly map life cycle roles to users, groups, organizations, or other
roles. However, since organizations generally want to define only a small
number of life cycles, it is not often practical to map life cycle roles directly to
principals. Using life cycles and teams together allows role participants to be
identified at runtime, rather than making this mapping an explicit part of the
life cycle definition.
You can map life cycle roles to team roles. At runtime, the role is resolved
according to the team role mapping. (For example, the life cycle role
Promoter could be mapped to the team role Team Leader, and the life cycle
role Promoter would be resolved at runtime according to the Team Leader
role, as mapped in the team.)
You can map a life cycle role to an actor. That is, you can map a role to
someone who performs a specific action within the context of the business
object. At runtime, this role is then resolved to the principal who created the
object with which the life cycle is associated. For example, you could assign
the Creator actor to the Submitter role for a given life cycle phase. For that
phase, the user who created the object would be assigned the Submitter role at
runtime. If the Submitter role is defined in the team, it resolves to the teams
Submitter role.
Click the Groups tab to choose from the list of groups defined in the context-
specific list of groups filtered by service (source) and access control. Select
All or a specific directory service, from the Source drop-down list.
If you want to associate users, select All from the Source drop-down list to
search the entire system, or select the group from the Group drop-down
menu. To find a user, you can also enter the user ID or full name of a user, and
click Find. Select a directory service from the Source drop-down list, or a
group from the Group drop-down list to narrow your search.
Click the Organizations tab to choose from the list of organizations. Select
All or a specific directory service, from the Source drop-down list.
Click the Actors tab and choose an actor to base your selection on a particular
user action. Creator is the only actor defined. The Creator is resolved at run
time to the user who created the selected object.
Click the Roles tab and choose a role to resolve the life cycle role.
To add a principal to a role, select it and click Add to move it to the Participants
list. You can also click Add All to move all the displayed users, groups, or
organizations to the Participants list. Click Remove or Remove All to delete
participants from the list.
Click Help to view detailed instructions for selecting participants.
This workflow process has three defined activities: Review, Observe, and
Promote. You can view the properties of each link and activity within the process
on the Workflow Process Manager. For example, for the Review workflow, the
participant to be assigned the Review task is the Reviewer role.
Therefore, when an object is submitted for promotion from the In Work phase and
the Review workflow process is started, the Reviewer role is mapped to an actual
user based on role mappings in either the life cycle or a team. In Windchill PDM,
the Review task is added to the Windchill worklist for that user. In Windchill
PDMLink and Windchill ProjectLink, the Review task is added to the
Assignments table for the user.
The Submit and Review workflow processes are predefined and available for your
use when Windchill is installed; however, your organization may have a number
of additional workflow processes in place. To associate a specific workflow
process with a phase or gate, click Browse to locate and select a process from the
shared location.
This statement would then serve as a criterion for promoting an object from the
current life cycle phase to the next.
There is no confirmation that the export is completed. When the progress bar
and the hourglass on the life cycle administrator applet disappear, the export
is complete.
AdministrativeDomain Read
WTContainer Read
Note: When assigning a workflow template to a life cycle template, you see a list
of valid workflows. The list of valid workflow templates includes the ones
defined in the given solution context, plus those defined in the parent organization
and the site contexts. Workflow templates defined in a sub-context override and
filter out the workflow templates defined in parent contexts having the same
name.
The search scope used to locate groups is determined by the type of administrator
doing the search. For more information about the search scope, see Searching for
Principals in the Administering Containers chapter.
This chapter provides information about teams, team templates, and roles.
Topic Page
Overview ...........................................................................................................15-2
Out-of-the-Box Team Templates ......................................................................15-3
Defining Team Properties and Roles...............................................................15-16
Predefined Roles..............................................................................................15-18
Assigning Participants to Team Roles.............................................................15-19
Best Practices for Windchill PDMLink and Windchill ProjectLink ...............15-20
15-1
Overview
Teams and team templates are used throughout Windchill. A team template is an
object managed by Windchill PDM and Windchill PDMLink administrative
users. This object can map participants and actor roles to roles. The team template
can be assigned to a life cycle or workflow-managed business object, when it is
created, to use as a template for roles resolution for the team. A team is an object,
created automatically when creating a business object, that contains all the roles
consolidated from the team, life cycle, and workflow templates. Roles get mapped
to end users; ad hoc access permissions are defined for the participants in the life
cycle and workflow templates.
To understand this section, you should be familiar with the following terms:
A principal is an individual user, group, or organization.
A role is a function that can be fulfilled by some principal. A role is mapped
to participants. A list of predefined roles is available when you define a team.
An actor represents a user who performs a specific action within the context
of a specific business object. Currently, Creator is the only actor defined.
A participant is a principal or an actor, which has been mapped to a specific
role in a team.
This chapter describes the following:
Team Roles Resolution
Defining Team Properties and Roles
Assigning Participants to Team Roles
Teams and team templates make it possible to define a smaller number of life
cycles, since the life cycle roles can be mapped to team roles, rather than to
specific users and groups. For more information about life cycles, see
Administering Life Cycles.
The differences and relationships between teams and team templates are
summarized in the following list:
Team templates are used only in the creation of teams. When a business
object that requires a team is created, the necessary team is automatically
created.
Updates to team templates do not affect existing teams that were created from
the template. Team template changes are reflected in new teams only.
Each team created for a specific business object is distinct from other teams
created for objects of the same type.
Note: For more information about how teams are automatically created based on
team templates and object associations, see Team Templates and Object Types
later in this section.
Problem Report Team Change Admin I Yes Assign this role to the user serving as
Change Administrator I for problem
reports. This user is the initial reviewer of
problem reports.
Change Activity Team Assignee No This role is set through the user interface. It
should be left blank in the team template.
ECR Team Change Admin I Yes Assign this role to the user serving as
Change Administrator I for enterprise
change requests (ECRs). This user is the
initial reviewer of ECRs.
Change Review Board Yes Assign this role to the users who are
responsible for approving full-track ECRs.
ECN Team Change Admin III Yes Assign this role to the user serving as
Change Administrator III. This user is
responsible for auditing an ECN after it has
been completed and before the product data
is released.
Change Team
The Change Team example team template is a companion to the following out-of-
the-box example workflow processes:
Change Activity Process
Change Order Process
Change Request Process 1
Change Request Process 2
Change Analysis Process
Change Investigation Process
Change Issue Process
Change Proposal Process
These workflow processes contain workflow task assignments and notification
robots that refer to the roles defined in the Change Team template. The workflow
templates are provided as an example and are not intended to be used without
modification to suit your particular purpose.
To learn from this example team template, study the workflow processes listed
above. Look at each workflow task and observe the role assign to that task. Each
task has a description and instructions to help you understand the purpose of the
task. You will note that sometimes a single role is assigned multiple tasks,
sometimes a role is assigned only a singe task, and sometimes the role exists only
to send someone a notification.
Engineer Administrators
Submitter Creator
Default
The Default team template is empty and has no roles defined. It exists as a default
team template that the system automatically chooses if no other team template is
designated.
With the exception of the Default team, the out-of-the-box team templates are
stored in the PDMLink cabinet. The Default team is stored in the System cabinet.
Note: The Default team template, which is stored in the System cabinet, does not
contain any roles. If your site uses workflows to manage objects (such as
documents and parts) other than change objects, you must add roles to the Default
team template and any other team templates you create for use with non-change
objects.
The change objects listed in the preceding table are the object names used in
Windchill. The following table illustrates how Windchill objects correspond to
Windchill objects. ("NA" indicates that the object is not applicable.)
WTAnalysisActivity NA
WTChangeInvestigation NA
Note: The System cabinet/domain is used to store document templates. For each
product and library, a context domain is automatically created for storing
document templates. For more information about domains, see Administering
Domains and Policies in the Administering Containers chapter.
After a team has been created, users with the necessary permissions can update
the team members by clicking the team name. On the Team page, click Update
Team to make changes.
For example, the out-of-the-box team template association for problem report
objects is the Problem Report Team. If you were to create a problem report titled
My Problem Report in the library called My Library, the team would be created
according to the following rules:
1. If a team template called Problem Report Team exists in the My Library
context, that team template is used as the basis for the new team.
2. If no Problem Report Team exists in the My Library context, the Problem
Report Team in the organization context is used as the basis for the new team.
Windchill ProjectLink
If the object is assigned to a life cycle containing a phase workflow in the initial
phase, the object uses the context team as the template. The role-participants of
the context team are copied into the team. If the object is assigned to a life cycle
that does not contain a workflow process in the phase of the initial state, it is
assigned to a default team where the role-participants are meaningless. The team
used for workflow and life cycle is created when the object is routed.
Windchill PDMLink
If the object is assigned to a team template, the team template is resolved into the
team. Roles-principals are added and roles-actor roles are resolved to the users
playing the role for the object and added to the team.
5. All roles that are not defined in the team, but are used in a related workflow
process, are added to the team when the workflow process starts.
If all life cycle roles also exist in the team, they are resolved directly, as defined in
the team, without regard to life cycle mapping. This makes it convenient to define
relatively few life cycles with abstract roles, which will be resolved to principals
that are defined in teams.
The following flow chart illustrates the Windchill business rules for resolving life
cycle roles:
Note: Although it is possible to define a team that does not map roles to
principals, or even to define a team with no role mapping, with typical usage, such
a team would be useless.
Is the role selected in the team? Yes Ignore all life cycle mapping. Stop
No
Any roles that exist in the team, but do not exist in the
life cycle, are added to the life cycle and resolved to
the team mapping.
Stop
Example 1: The life cycle contains Role A and is assigned to Role B. The
team contains Role B with member user x. The team template does not
contain Role A. Role A is added to the team with user x as the participant.
4. All roles that are not defined in the team, but are used in a related workflow
process, are added to the team when the workflow process starts.
Submitter creator
Promoter
Observer Not in this phase Team Leader Not in this phase Not in this phase
First Phase
An object is created by Jeff and assigned to the life cycle template and team
template above. The context team is list above. The team resolves to the following
participants for the first phase:
Promoter
Observations:
Participants are added during the team template/life cycle role resolution.
Participants (Flavio, Bill, and Galen) were added to the design engineer role
from the container team.
Roles from the container team that do not exist in the team are not added (in
this case, Prod Marketing and Pubs).
The life cycle Reviewer role is mapped to Design Engineer, but since the
container team roles are not added until after the team template/life cycle role
resolution is completed, the people in the Design Engineer role are not
members of the Reviewer role.
Second Phase
The object is promoted to the second phase.
Submitter Jeff
Promoter
Third Phase
The team templates and container teams are modified.
The team template contains the following roles/participants:
Design Engineer--Kristin, Flavio
Project Manager--Dave, John
QA Engineer--Sean, Sachin, Dan
Integration--Mark
The context team contains the following roles/participants:
Design Engineer--Kristin, Flavio, Jeff, Michelle
Project Manager--Dave, John
Product Marketing--Chris
QA Engineer--Sean, Sachin, Iyrena
Pubs--April, Diane, Muriel
Team Leader--Tom, Beth
Observer--Jane, Lynn
Submitter Jeff
Promoter
Fourth Phase
A set state sets the object to the fourth phase.
Submitter Jeff
Promoter
To begin working with team templates in Windchill PDM, from the Business
Administrator page, click Process Administrator > Team Administrator.
For Windchill PDMLink, you can access the Team Administrator page in one of
the following ways:
From the Product, Library, Organization, and Site tabs, click Utilities.
Click Team Administrator to access the Team Administrator.
From the Product and Library tabs, click Templates. On the Templates
table, select Team Templates from the Current View drop-down list. Click
Administer Team Templates.
The Team Administrator page displays a list of existing teams. The Team
Administrator refers to team templates as teams. Use the buttons on this page to
create, update, view, delete, rename, and save as a new team. Click Help on the
Team Administrator page for a description of the buttons and their functions.
Click Create or Update to access the Create/Update Team window.
The following figure shows the Create Team window for Windchill PDM:
Predefined Roles
Windchill includes many predefined life cycle states and roles. You can define
additional states and roles by adding them to the StateRB.rbinfo and
RoleRB.rbinfo resource files. Defined states and roles are added to this list when
you recompile the resource files and deploy the class files to your production
environment. For additional information, see Appendix A, Enumerated Types, in
the Windchill Customizer's Guide.
Caution: When you add a value to an enumerated type (for example, by adding a
role in the RoleRB.info resource file), removing that value can result in a serious
runtime error. Do not remove a role unless you are certain there is no reference to
it.
To view the online help, which has detailed instructions for selecting participants,
click Help.
To search for groups, click the Groups tab. Select All or a directory service
from the Source drop-down list, to narrow your search.
To search for users, click the Users tab. Select All or a directory service from
the Source drop-down list to search the entire system. To search for a specific
user, enter information in the User Name or User ID fields, and click Find.
Select a group from the Group drop-down list to narrow your search.
To search for organizations, click the Organizations tab. Select All or a
directory service from the Source drop-down list to search the entire system.
To search for actors, click the Actors tab. To assign a role, select an actor.
Currently, Creator is the only actor defined. The Creator is resolved at
runtime to the user who created the selected object.
The Team Administrator client displays a table that lists all team templates
belonging to the given context plus those belonging to its ancestor contexts. A
column in the table identifies the context owning each team template.
When you create a team template in the context of a non-Windchill PDM library
container, the system saves the new team template in the System cabinet of the
given container. Consequently, the Create window hides the location field
because it is the system, not the user, that decides where the new team template is
to be located.
When you create a team template in the context of a Windchill PDM library
context, the Create window allows the user to specify the cabinet or folder where
the new team is to be located. The valid set of cabinets and folders include the
ones contained by the Windchill PDM library.
The search scope used to locate groups is determined by the type of administrator
doing the search. For more information about the search scope, see Searching for
Principals in the Administering Containers chapter.
Note: Although you are allowed to create team templates using users, it is best to
create them with groups.
This chapter provides information about workflow processes and the Workflow
Administrator.
Topic Page
Overview ...........................................................................................................16-2
Workflow Iteration ............................................................................................16-3
Using the Workflow Process Editor..................................................................16-3
Import and Export ...........................................................................................16-26
Process Manager Toolbar Access Control ......................................................16-29
Viewing Workflow History.............................................................................16-29
Configuring Worklist Fields............................................................................16-35
Workflow Instance States................................................................................16-37
Domain-based Workflows...............................................................................16-38
Default Workflow Templates..........................................................................16-40
Electronic Signatures.......................................................................................16-42
Best Practices for Windchill PDMLink and Windchill ProjectLink...............16-44
16-1
Overview
A workflow system gives you the ability to automate procedures in which
information, tasks, and documents are passed among participants. This procedure
is based on a process composed of well-defined rules, designed to efficiently
accomplish your business goals.
This chapter provides information on creating and updating workflow templates,
importing and exporting templates, and viewing workflow history. See the end of
this chapter for detailed information concerning configuring worklist fields and
object subscription code.
See the step-by-step examples in the Workflow Tutorial for setting up and
maintaining a workflow process. You can reach the tutorial by clicking (the
library icon) from the Windchill PDM home page. From Windchill PDMLink or
Windchill ProjectLink, you can click Publications in the global.header. You can
also access it directly at:
http://<server name>/<install name/web server
alias>/wt/helpfiles/help_en/online/workflowtutorial/WorkflowTut
orial.pdf.
If you click Create, the Workflow Process Editor displays only the Start node.
To verify that your process definition is correct, select Validate All from the
Process menu. The Validate window either confirms the process definition or
identifies dangling activities or malformed processes.
A Java compiler is integrated with the Process Editor to support expressions of
arbitrary complexity. Workflow routing functionality includes links and event
triggers. Events that cause a link to fire are displayed on the link itself, so anyone
viewing the process definition can easily understand and verify the process
behavior. For example, the Approve and Revise events in the previous straight
line and square line examples are events that cause a link to fire.
When you have completed your process definition, it is saved in your personal
folder. To change a process definition that has been saved in a vault, it must be
first checked out, and then checked in.
Updating workflow processes is an iterative process. A new iteration is created
when an update is checked in. You can view iterations on the Workflow
Administrator page.
The following sections describe the tools and components available to help you
define a workflow process in Windchill.
Robot Description
Deny Removes the primary business object from the gate and
returns it to the submitter.
The Timer Robot delays the start of an activity by a specified amount of time,
based on the time it is fired or the time the parent process is begun.
The Launch Application Robot executes system commands on the server.
These commands are executed using the Java runtime.exe command. The
execution can be either synchronous or asynchronous.
The Execute Expression Robot enters a synchronous Java expression to be
executed in a workflow. By default, the expression returns true. A return of
false indicates a problem during execution, and an exception is thrown on
the server.
Declaring Variables
When you define a process, variables can be used within transition condition or
automatic routing expressions. Variables can be either global (applicable to the
process itself) or local (applicable to an assigned activity or a subprocess).
The online help file for this dialog box provides detailed instructions for variable
declaration
The assigned activity properties are described in the sections that follow.
General
On the General tab panel, shown above, you can specify a name, a category, a
responsible role, and a description for the assigned activity. Name is the only
required property.
From the Category drop-down list you can categorize the activity. For example,
you can have activity categories that reflect a team or product type. Windchill
provides several predefined categories. Categories are an enumerated type, and
you can define additional categories in the
wt.workflow.definer.WfTemplateCategory file. For more information about
enumerated types, see the Windchill Customizers Guide.
Activity
On the Activity tab panel, shown below, you can specify a task for a user or group
to perform. Select a task from the drop-down list and, if desired, provide
instructions in the Instructions text area. You can use braces to delimit variables,
for example, {varname}. Use back slashes to escape the delimiter, as shown in the
following example:
\{{varname}}\
Although you have the option to assign an activity task to actual users or user
groups as part of the process definition, you may find it more useful to select
actors, roles, or teams as participants, which are then mapped to users or groups
when an instance of the process definition is instantiated. Assigning participants
in this way provides more flexibility and promotes reuse of a process definition in
a variety of contexts.
If you choose a role, such as Submitter, as the participant to whom the task will be
assigned, the role is resolved at runtime by mapping it to a participant specified in
a life cycle or a team (usually a team). For example, if the workflow process is
applied to a specific document, the Submitter role in the relevant phase of the
document's life cycle can be mapped to a Team Leader role in the team to which
the document is assigned. The actual user to whom Team Leader is mapped then
receives the task in his or her worklist (for Windchill PDM) or Assignment table
(for Windchill PDMLink or Windchill ProjectLink) when this activity is fired. For
more information on role mapping, with an extensive example, see Administering
Teams and Roles.
The selected assignees are displayed on a table, which specifies the participant
types. You can designate whether a specific participant is required to complete the
task or what conditions must be met to meet a requirement. (That is, any
participant, all participants, or a specified number, must complete the activity.)
Deadline
On the Deadline tab panel, shown below, you can set the time that the activity is
due. You can set the deadline in relation to the start of the activity or the start of
the parent process. If you define them both, the earliest deadline applies. You can
also designate the consequences and be notified if the deadline is overdue.
There are two default variables for assigned activities: self and
primaryBusinessObject. The variable self refers to the assigned activity object at
runtime. The variable PrimaryBusinessObject holds the business object associated
with the workflow process at runtime.
See Declaring Variables for information about adding other variables in this tab
panel.
Routing
On the Routing tab panel, you can specify custom routing events. These events
are used to control the process flow by mapping one of the events you define to an
action that will be performed in a successor activity, via a link.
Routing events are defined in the Routing Events text area, where you enter the
name of the events (one event per line). Click Check Syntax to verify that the
Java code you have entered is correct.
If this information on the example were entered in the Routing Events panel, the
>1000 event would be emitted if the result variable for the cost of the object
associated with the process (for example, a change order) has a value greater than
$1000. Likewise, the <1000 event would be emitted if the result variable has a
value less than or equal to $1000. One link coming from the activity can be
configured to start another activity that would be assigned to a user who would
review costs when the >1000 event was emitted (that is, when a change order
required an expenditure greater than $1000). Another link can be configured to
simply continue with the process when the <1000 event is emitted.
If you do not specify an automatic event firing expression, the user who is
assigned the task chooses a custom routing events. The activity emits the event
that the user chooses.
Transitions
On the Transitions tab panel, shown below, you can define the conditions
necessary for moving from one internal state to another within a workflow
process. Each assigned activity defines transitions.
For example, initiation of a particular assigned activity represents a transition. A
state transition can result from a routing decision made by the workflow process
while it is running.
Each transition can have an associated condition. If this condition is TRUE, the
transition succeeds. Otherwise, it does not. These conditions are defined in the
Transitions tab panel.
To add a condition to a transition, select it from the Transition list, and type an
expression in the condition text area. The condition is a standard Java expression
that sets the result variable to TRUE if the transition should proceed, or to
FALSE if it should not. Click Check Syntax to verify that the Java code you have
entered is correct.
For example, you might want the process to start an assigned activity only if a
variable (i) is set to a certain value. Therefore, you would select Start from the
Transition list and enter the expression shown as the condition:
Defining a Subprocess
A subprocess, or proxy process, can be included as a node of another process, the
parent process.
To add a proxy process to the process definition, drag the Proxy Process icon ( )
onto the process diagram. The properties dialog box opens. You can designate a
category, enter a description, and browse to select an existing process, which then
becomes the proxy process. To ensure that the proxy process is updated when the
original process is changed, select Use Latest Iteration. The name of the process
appears as a link as the Referenced Process.
To set a deadline for the proxy process, click the Deadline tab.
To map variables, click the Variable Mapping tab. See Variables for more
information.
Note: Ad hoc activities and blocks are similar to proxy process, in that they are
composed of a group of activities. A block is a way of simplifying the graphical
representation of the process, by combining a number of activities under one icon.
An ad hoc activity is a group of activities defined at runtime.
Defining Connectors
The Workflow Process Editor supports the following connector types:
You specify custom routing events, which can be used to control process flow, on
the Routing tab panel on the Connector Properties dialog box. See Routing for
more information.
Note: Because the Or connector and the Threshold connector do not require all
activities to be completed before allowing the process to continue, unnecessary
activities can remain open. To terminate these activities, click Terminate Open
Predecessor Activities When Fired on the Or Properties dialog box, or the
Threshold Properties dialog box.
Defining Links
Links define the flow of control among nodes within a process definition. They
also determine which actions are performed in an activity when a predecessor
activity broadcasts (or emits) events. For example, when a user completes a
review task (indicating completion by clicking a button on that task page), you
can specify that the completion event will cause a link to the next activity to fire.
The Approve activity defines two custom routing events, yes and no. This activity
has two links: one link connects to the Revise activity, and another connects to a
Promote robot. The link to the Revise activity can be configured to perform the
Start action in Revise when the no event is emitted from the Approve activity. The
other link can be configured to perform the Start action in the Promote robot when
the yes event is emitted from Approve. In this way, the flow of control to the
Revise or Promote activity is controlled by the event emitted from the Approve
activity.
There is no confirmation that the export is completed. When the progress bar
and the hourglass on the workflow administrator applet disappear, the export
is complete.
As shipped, full access is given only to the system administrator and the workflow
administrator, as defined in the following properties:
activityrestartAccessControl=Administrators
activitysuspendAccessControl=Administrators
activityresumeAccessControl=Administrators
activityterminateAccessControl=Administrators
activitycompleteAccessControl=Administrators
processsuspendAccessControl=Administrators
processresumeAccessControl=Administrators
processterminateAccessControl=Administrators
processcompleteAccessControl=Administrators
activityrestartAccessControl=WorkflowAdministrators
activitysuspendAccessControl=WorkflowAdministrators
activityresumeAccessControl=WorkflowAdministrators
activityterminateAccessControl=WorkflowAdministrators
activitycompleteAccessControl=WorkflowAdministrators
processsuspendAccessControl=WorkflowAdministrators
processresumeAccessControl=WorkflowAdministrators
processterminateAccessControl=WorkflowAdministrators
processcompleteAccessControl=WorkflowAdministrators
To add other groups, add additional AccessControl lines to the file, in the format:
<action>AccessControl=<group name>
When you have updated the properties file the, you must recreate the JAR file.
When you have select an option from this submenu, the requested events are
retrieved, and the list of events is refreshed. For each event, the list identifies
the event type and the execution object associated with it:
Audit events
Rounded boxes represent states; arrows represent transitions. The actual states are
always the innermost ones. The others are super-states, indicating a collection of
substates. For example, a query for closed processes returns the processes that
have completed successfully and also the processes that have terminated or were
aborted.
The initial state for all execution objects is the not started state. The following is
the normal sequence of states for an execution object is:
1. Not Started
2. Running
3. Executed
The final state can be reached with the following two transitions:
Start
Complete
Some transitions apply to more than one state. This is indicated by an arrow that
begins in a super-state. For example, terminate transitions from any open state to
the terminated state. An additional transition, reset, is not shown in the diagram.
The reset transition brings any object back to the not started state.
Domain-based Workflows
Workflow process instances (wt.workflow.engine.WfProcess objects) are created
at runtime and run in a set of subfolders parented by the Workflows folder, rooted
in the /System cabinet. During initialization, loading administration data into the
Windchill database creates an access control policy rule that grants all users read,
modify, and create permissions for objects of type
wt.workflow.engine.WfExecution Object in the /System domain. The WfProcess
class extends the WfExecutionObject class, so this rule applies to workflow
process instances. All Windchill users can view process information by using
Windchill Explorer or Local Search. This is the default out-of-the-box behavior.
In order to provide better control over access to workflow process instances, you
can set a property to enable domain-based workflows. WfProcesses are still
created and run in the same set of subfolders parented by the Workflows folder;
however, you can have multiple Workflows folders containing WfProcesses. The
workflow processes are created and run within a subfolder of the Workflows
folder parented by the cabinet or folder containing the primary business objects
associated with the processes.
The Workflows folders are created automatically, as needed. You can specify
access control policies for the domains associated with the Workflows folders,
granting different rights to WfProcess objects for each of the domains.
If you manually initiate a WfProcess, its Workflows folder resides in the same
cabinet or folder as the Workflow Template from which it was created. When you
use the Workflow Administrator to check in a workflow template, the default
location is the /System cabinet. You must select a different location if the /System
cabinet is not appropriate.
The property in the wt.properties file that toggles domain-based functionality is
wt.workflow.engine.domainBasedWorkflowFolders. The default setting is
FALSE. If this property is set to true, the domain-based functionality takes effect
following method server restart. WfProcesses do not immediately change to their
new folder location or domain; however, upon the next workflow state change
(for example, from not started to running), the WfProcess changes folders and
possibly domains, as appropriate.
Caution: Changes you make to workflows may not be compatible with future
Windchill release and service packs, and may require additional support from
PTC Global Services consultants.
ECN Workflow
1. Submit ECN for review by change impact board (CIB).
a. Schedule and facilitate CRB review and record CRB decision.
b. If necessary, amend ECN plan based on CIBs review and resubmit to
CIB.
2. Audit ECN
Review the ECN data modifications and approve or reject the ECN
implementation.
3. Rework ECN task
Rework task and resubmit to Change Administrator III for audit.
4. Audit ECN
Review the ECN data modifications and approve or reject the ECN
implementation.
Electronic Signatures
Windchill PDM and Windchill PDMLink allow you to require electronic
signatures on workflow activities to authenticate the activity. The wt.property
wt.org.electronicIdentification=RecordIdentification is the default out-of-the-box
setting. You must set
wt.org.electronicIdentification.class=wt.org.electronicIdentity.engines.LDAPPass
wordSignatureEngine.
To require electronic signatures, perform the following steps:
1. Use Workflow Administrator to make an electronic signature required for a
particular activity. When you create or update a process template, the process
window appears.
Note: For ad hoc activities, if you select Signing Required, you are prompted for
an authentication password in order to start the ad hoc activity.
Note: When you assign a workflow template to a life cycle template, you see a
list of valid workflows. The list of valid workflow templates includes the ones
defined in the given solution context, plus those defined in the ancestor
organization and the site contexts. Workflow templates defined in a sub-context
override and filter out the workflow templates defined in parent contexts having
the same name.
The search scope used to locate groups is determined by the type of administrator
doing the search. For more information about the search scope, see Searching for
Principals in the Administering Containers chapter.
Topic Page
Overview ...........................................................................................................17-2
Views and View Associations...........................................................................17-2
Managing Views and View Associations..........................................................17-3
17-1
Overview
Within Windchill, a part is assigned to a view when it is created. A new view can
be created with the Object > New View Version menu selection of the Windchill
Explorer or the Product Information Explorer.
A part may be a view-dependent object, if several versions of the part may be
required to address the needs of the various organizations working on it. For
example, the Engineering and Manufacturing departments may want to work on
different versions of a part, with each version representing a view specific to that
department's needs.
[C}reate view
[R]ename view
[A]ssociate views
[I]nsert view
[Q]uit
Your choice:
Type one of the bracketed characters at the Your choice prompt to select a
command. For example, to create a view, enter C.
Creating a View
To create a view, enter C. You are prompted to enter a name for the new view.
The name you specify must be a unique view name.
Inserting a View
To insert a view into the view structure, enter I. You are prompted to enter the
name of the parent view. Specify the name of a view below which the new view
will be inserted. Next, you are prompted to enter the name of a view that is
currently a child of this parent. You can either enter a view name, or click Return.
Finally, you are prompted for the name of the view to be inserted.
If you provide values for both the parent name and the child name, the inserted
view will be a child of both. For example, you could specify Engineering as the
parent view and Manufacturing as its child, and then insert a Facility 1 view. The
Facility 1 view would be a child of both Engineering and Manufacturing,
appearing below both in the view structure (as illustrated earlier in this chapter).
If you do not enter a child view when prompted, the inserted view will appear
between the parent view you specified and its current children, in the view
structure. If you enter Engineering as the parent view but do not enter
Manufacturing when prompted for the name of a child view, the Facility 1 view
you insert will be a child of the Engineering view and a parent of the
Manufacturing view.
Topic Page
Overview ...........................................................................................................18-2
Architecture .......................................................................................................18-3
Troubleshooting.................................................................................................18-6
Exporting Watermarks for ProductView.........................................................18-21
Windchill Visualization Service Properties ....................................................18-22
18-1
Overview
To enable the Windchill Visualization Service (WVS), you must install Windchill
and follow the configuration steps. This section is an overview of WVS
functionality and architecture, providing a context for the troubleshooting
guidelines in the remainder of this chapter.
File Types
ProductView can display many file types. However, it is important that you are
familiar with the following four file types:
OL files
An OL file is a binary file, which is created by publishing a CAD part. It
contains the 3D and 2D CAD information. A single CAD part may create
many OL files.
PLT files
The PLT file contains 2D-vector information, and is created when drawing
output is requested during publication of a CAD part. A CAD part can product
many PLT files.
ED files
An ED file is an ASCII file that contains product structure and file
relationship information. Within the context of a single CAD part, an ED file
is used to associate OL and PLT files. A part-level ED file can also contain
attribute information from the CAD part. When an assembly is converted or a
product structure is traversed, the resulting ED file contains the component
nodes, as well as their relationship (to form the hierarchy) and attributes.
Orientation and units are held as attributes of the components. The OL and
PLT files are also associated with the components. Files may be associated as
a URL or as a file system reference.
Note: The conversion of a CAD part can result in an ED file that contains
substructure information, in addition to OL and PLT file references.
Consequently, when a product structure is traversed during publishing, any
component node that has an ED file associated must have the substructure
merged into the resulting file to give the complete product structure
definition, down to the subpart level.
EDZ files
The EDZ file is a ZIP file containing an ED file, and all associated OL and
PLT files. The EDZ acts as a snapshot of a product structure. As it is a single
file, it provides a faster way to access a large amount of information, as only
one download allows you to view a complete product. The EDZ also provides
a single file that can be easily exchanged (for example, through e-mail).
WVS allows Windchill users to generate viewable files, store those files in the
Windchill database, and view data in ProductView. ProductView displays many
document formats directly from the file, requiring no preparation. However, CAD
data must be published before it can be viewed in ProductView.
The loader is responsible for preparing data for storage in Windchill before it is
converted. The loader can be used in two ways:
As a Windchill service, which looks for ticket files in a directory.
A ticket file is a text file that defines the location of the preconverted data and
specifies the way in which it will be catalogued when stored in Windchill. See
the CAD Agent section in this chapter for guidelines on how to analyze and
correct problems in this process.
As an operation called directly by the publisher.
Calls from the publisher are performed programmatically. The data is handled
in the same way as if it were loaded through a ticket.
The loader can optionally call the thumbnail generator to create a JPG image and
3D thumbnail file of the 3D geometry. If required, the thumbnail generator can be
configured by its recipe file to only create a JPG image.The thumbnail generation
must be installed from the Visualization - Windchill Support CD.
The service first reads the wvs.properties file to ensure that the wvs.enabled
property is set to true. If this property is not set to true, the service is not started.
The loader may output additional debugging information to the method server
start window and log if the edrload.verbose property is set to true.
Every 5 seconds, the loader polls the directory defined by the following property:
edrload.directory=$(wt.temp)\\wcinput
If this directory does not already exist, the loader creates it. When polling the
directory, the loader looks only for INI files. All other files are ignored. If the
contents of an INI file (located in the directory) are terminated with <! >, it is
renamed with a .txt extension. (For example, ticket.ini would be renamed
ticket.txt.)
If content is not terminated with <!>, the loader waits 5 more seconds to make
sure the file is not currently being written to. If, after 5 seconds, the file content
still does not terminate with <!>, the file is deleted. The loader requires write
access to the file so that it can rename or delete it.
In order to start processing them, the loader next parses the file and validates the
contents.
The file should contain entries of the form Keyword=value (for example,
Partnumber=123456). The following table lists valid keywords:
Partlifecycle Specifies the life cycle associated with the new part.
Note: The file must end in <!>. Keywords are case-insensitive, as are true and
false values.
The initial checks of the file ensure that the directory specified by the Directory
keyword exists and that the loader can write to it.
Additional checks include the following actions, some of which depend on
keyword values:
If a Partoid is specified in the file, it is checked to ensure that it references a
valid WTPart.
If a Partoid is not specified, the Partfolder, Partlifecycle, and Partteam values
are checked to ensure that they exist.
If the Partnumber/Partname does not exist, a WTPart is created. If it does
exist, and Iteratepart is set to true, the part is iterated. The result is a WTPart
in the database to which a new representation will be added, with the specified
Repname and Repdescription.
The specified directory is scanned to locate the ED file. Only one ED file is
allowed. All other files are uploaded to Windchill, associated as secondary
content of the representation.
Note: For a large assembly, the loader task can be time-consuming, especially if
thumbnail generation is performed. For more information about generating
thumbnails, see the Windchill Installation and Configuration Guide.
CAD Agent
Configuring the CAD workers to the CAD agent can be difficult. The files must
be configured correctly, and when CAD workers are on a remote system, the
network connectivity between machines must be correct.
The CAD Agent usually runs as a service, and is defined in the wt.properties file
as follows:
wt.services.service.nn=com.ptc.wvs.server.cadagent.CadAgentServ
ice/com.ptc.wvs.server.cadagent.StandardCadAgentService
Settings in this file should only be altered using the CAD Agent Configuration
Wizard. To access the wizard, click the Configure button on the CAD Agent
Monitor. You must have administrative permissions in order to use the wizard.
If the CAD worker fails to connect to the CAD agent, no activity is displayed in
the CAD Agent windows. The CAD worker may continue running or exit after a
period of time. An incorrect setting in the CAD worker configuration file typically
causes this.
If the CAD worker and the CAD agent are not running on the same host, the CAD
worker host must be able to communicate with the CAD agent host, as the name
specified in the CAD worker configuration file.
For remote UNIX workers, the network routing, IP addresses, and DNS (name
resolution) must be configured to resolve machine hostnames and permit traffic
from the server to the remote machine via ftp or telnet. The remote machine
should correctly service ping, ftp, and telnet requests to its hostname. (The telnet
command is not required for remote Windows NT systems.)
If the following message appears in the Status Messages pane when you are
attempting to manually start a worker, it is because a request is being made from a
worker that is not recognized as being configured in the agent.ini file. The host
name that is specified in the message must be the host name that is specified in the
agent.ini file.
Processing message WORKER <hostname> <CADTYPE>
Failed to add worker. Will terminate it.
The status of the worker in the CAD Agent Monitor is then updated to show that
the worker is available, and the Action icon changes to "stop" ( ), to indicate
that clicking it stops the worker.
Manual Publishing
When the desired CAD worker is successfully connected to the CAD agent, the
next step is to publish data. PTC recommends that you run the first test of this
capability from the Visualization portal page.
To publish a CAD document, use the following procedure:
1. Locate a CAD document in the database.
Click the status link in the State column to display the job details. If no entries
appear in this panel, or if they appear and then disappear when they are
completed, check to confirm that the following properties are set in the
wt.properties file:
#Visualization Publishing Queue
wt.queue.removeCompleted.PublisherQueue=true
# For each PublisherQueue keep the entries so that the log may
be seen in the publisher
wt.queue.removeCompleted.PublisherQueue1=false
wt.queue.removeCompleted.PublisherQueue2=false
Initially all publish jobs are submitted to the processing queue PublisherQueue.
Only one job is executing in the queue. Other entries are set to Ready. The
executing job in PublisherQueue looks for an available queue with a name of the
form PublisherQueue<n>, where <n> is an integer. When a queue is available, the
publish job is submitted to that queue, which immediately executes it. The
following property ensures that completed jobs are removed from
PublisherQueue:
wt.queue.removeCompleted.PublisherQueue=true
Note: The publishing queue is displayed to all users, but job details are available
only to the job owner. When the publish monitor is displayed in the context of a
project or product, the publish jobs displayed are those associated to that context.
When the job completes, the details indicate success or failure. Errors that caused
failures are identified in a message.
Timeouts
When the CAD agent sends a request to the CAD worker, it has no way of
determining the status of the job. Therefore, the CAD agent waits for a specified
period of time. In the wvs.properties file, the following properties define timeout
values for publishing:
publish.cadtimeout.component=600
publish.cadtimeout.assembly=3600
publish.cadtimeout.drawing=600
These properties specify the number of seconds that the CAD agent waits when
the publisher is processing a single component, assembly, or drawing,
respectively. These values should be adjusted to the needs of your site, so that
they will process the largest data sets. If the values are too small, errors are
displayed, and no viewable CAD data is created.
Alternatively, many of the CAD workers can be configured with long and short
timeout values that are sent back to the CADAgent. If these have been configured,
the last timeout value sent to the CADAgent is used. See the CAD worker
documentation for details of setting CAD worker timeouts.
You should also tune the CAD agent settings for Auto Idle Stop and Auto Busy
Stop to help control system resources. (These values are specified when you use
the CAD Agent Wizard to configure a CAD worker.) For example, for CADDS5,
when processing of drawings is enabled, Auto Idle Stop should be set to about 900
seconds. For Pro/ENGINEER, setting Auto Busy Stop ensures that system
memory is released on a regular basis.
When you set values that automate the stopping of CAD workers, you should
enable Auto Start and correctly configure it so that the worker can be restarted.
This job is processed exactly as if the user (who checked the file in) had made a
publish request from the Visualization portal or properties page.
Publish Scheduler
With the Publish Scheduler, requests can be submitted to the Windchill Schedule
queue for processing. Examples are provided below, but typically you will set
automated publishing schedules specific to your site, to automate the publishing
of certain types of data on a regular basis.
In Windchill PDM, you can access the Publish Scheduler from the Administrator
page of the Visualization portal. In Windchill PDMLink or Windchill
ProjectLink, you can access it from the Utilities page of the Site tab.
The first time that a scheduled job is submitted, a new Windchill schedule queue
called WVSScheduleQueue is created. You can use the Windchill Queue
Manager to confirm that this queue exists and is active. The schedule queue
executes a publish request at the date and time specified, with the specified
frequency.
Settings in the wvs.properties file define the jobs that are available for selection
from the Schedule Publish Job page. There are a number of example jobs already
configured.
There are two parts to the process of creating a Schedule Publish Jobs:
configuring the wvs.properties file
writing the java code to select the objects to be published
The following property defines the list of available entries (where <n> is an
increasing integer, starting with 1).
Schedulejobs<n>=<schedulename>
<schedulename>.class=<ClassContainingMethod>
<schedulename>.method=<nameOfMethod>
<schedulename>.enableOnContainers=<true/false>
or
public static QueryResult <nameOfMethod>()
The following example schedule job method will publish all EPMDocuments in
the current context:
public static QuerySpec allEPMDocuments()
{
QuerySpec qs = null;
try {
qs = new QuerySpec(EPMDocument.class);
WTContainerRef cr =
com.ptc.wvs.server.schedule.ScheduleJobs.getCurrentContainer();
if( cr != null ) {
ContainerSpec cs = new ContainerSpec();
cs.addSearchContainer(cr);
qs.setAdvancedQueryEnabled(true);
qs.appendWhere(WTContainerHelper.getWhereContainerIn(cs,
EPMDocument.class),new int[]{0});
}
} catch (Exception e ) { e.printStackTrace(); }
return qs;
}
Visualization Collaboration
To enable the collaboration interface, specify the following entry in the
wvs.properties file:
collaboration.enabled=true
When this property is set to true, a Collaboration entry is included on the menu
bar of the Visualization portal page.
Install the collaboration agent from the Visualization - Windchill Support CD,
adding the required entry into wvs.properties (via site.xcopnf) to specify the
command to execute the collaboration agent. If required (for example, to change
the assigned port numbers), you can change the value of the collaboration server
property.
The options for the collaboration server define the minimum (-p) and maximum (-
m) port numbers that are used by that server. Each collaboration session has its
own running collaboration server, so this range should be large enough to
accommodate the expected number of concurrent collaboration sessions. The
default is 40. If the ProductView clients are operating through a firewall to the
Windchill server, these ports must be open. The idle timeout can also be specified,
in seconds, by the i option. The default is to shut down a collaboration server if
no one is connected for 10 minutes.
Only the user who starts a collaboration session can stop it or can host data into
the session. All other users can only join the session. If the user who starts a
session logs out and logs back in, he or she must go to the collaboration listing and
make the session hosted into his or her current Windchill session before being
able to load data into it.
Specify the file name you want to export and click Browse to locate the directory.
The wcexport tool creates a ZIP file including the main config.ini file, any
watermark INI files referenced by the registry definitions, and any images
referenced by any watermark file.
To add the ZIP file to the ProductView configuration for Windchill PDM, click
Administration on the Visualization navigation bar; then click Server
Controlled Configuration of ProductView. To add the ZIP file for Windchill
PDMLink or Windchill ProjectLink, click ProductView Configuration
Administration on the Utilities pages of the appropriate tabs.
For more information on ProductView configuration, see the online help for the
ProductView Configurations table.
cadagent.pvfiletypes Default Value: OL ED PLT DXF HPGL PGL TXT AST CCZ CC
GIF JPG PDF PVT GRP EMK ETB PVA CGM TGA
Synopsis: File types that the CadAgent will retrieve.
Description: Adds to this space-delimited list, any file extensions that
the CAD workers may create which need to be stored in Windchill.
This list is case insensitive.
Topic Page
Overview ...........................................................................................................19-2
Enabling Auditing .............................................................................................19-2
Accessing Audit Reports ...................................................................................19-2
Example Audit Report.......................................................................................19-3
19-1
Overview
By default, the auditing features provided by Windchill are disabled. This
documentation provides the instructions to enable the auditing features and use
audit reporting.
Enabling Auditing
To enable the auditing features, use the following procedure:
1. Shut down servers/servlet engines.
2. Edit the wt.properties file to add the wt.audit.eventConfigFile property using
the xconfmanager. From a windchill shell, execute the following command:
-s wt.audit.eventConfigFile=$(wt.home)$(dir.sep)codebase
$(dir.sep)registry$(dir.sep)auditing$(dir.sep)configAudit.xml
-t <Windchill>/codebase/wt.properties -p
If you want to save this audit report to a file, click Save to File.
The Save to File window appears, allowing you to specify the name of the file:
Index-1
shared, 10-23 site, 4-8
defined, 10-16 updating, 3-14
Cabinets Container environment
access control, 10-19 projects, 8-6
Caching Container hierarchy
of access control lists, 10-7, 10-10 Windchill PDMLink, 2-7
of notification lists, 13-4 Container object initialization rules
CAD agent, 18-5 accessing, 3-33
configuring, 18-9 description, 3-18
debugging mode, 18-10 installation, 3-19
timeouts, 18-18 loading, 3-32
CAD document templates, 3-15 site, 4-8
CAD documents specifying, 3-35
object type, 2-16 updating, 3-32
templates, 2-18 XML, 3-36
visualization, 2-18 Container participation
CAD documents, publishing description, 3-8
automating, 18-19 installation, 3-8
manual, 18-16 organization, 5-7
CAD workers, 18-5, 18-9 projects, 8-6
configuring, 4-7 site, 4-8
starting updating, 3-9
from the CAD agent, 18-13 Container policies
from the CAD agent monitor, 18-14 description, 3-10
starting, manually, 18-11 installation, 3-10
stopping, 18-12 organization, 5-7
Change Activity team roles, 15-3 site, 4-8
Change Admin roles, 6-8, 6-13 updating, 3-13
Change Management objects, 15-3 Container structure
Change objects, 10-14 description, 3-6
Change Permissions permission, 10-5 installation, 3-6
Code examples, object subscription, 16-35 organizations, 5-7
Co-installed Windchill solutions, 2-8 projects, 8-6
Collapse tables, 4-9, 5-16 site, 4-8
Collections updating, 3-7
defined, 12-2 Container templates
deleted users, 9-11 description, 3-14
Composite object initialization rules, 3-34 installation, 3-15
Configuring site, 4-8
worklist fields, 16-35 updating, 3-18
CONFIRMED group, 6-6, 6-8, 6-9 Containers
Container creating, 3-19
hierarchy, 3-2 libraries, 6-2
libraries, 6-17 organization, 3-4, 4-3
products, 6-15 overview, 2-3
Container configuration products, 6-2
description, 3-4 Site, 3-2, 3-4
updating, 3-5 Windchill PDM, 2-5
Container data Content holder objects, 10-1410-15
description, 3-13 access control, 10-15
installation, 3-13 Content replication
organizations, 5-7 products and libraries, 6-6
Index-3
G Library tab, 1-4
Library templates, 3-14
Gates. See Life cycle gates Life cycle access control rules
Generating thumbnails, 18-9 defining, 14-13
Groups overview, 10-19
deleting, 9-13 Life Cycle Administrator page, 14-4, 14-5, 14-19
managing, 9-12 Life cycle gates
organization, 5-3 associating workflow processes with, 14-15
setting permissions, 10-5 overview, 14-3
Guests role, 6-6, 6-7, 6-11 Life cycle phases, 14-6
access control and, 14-9
H associating workflow processes with, 14-15
defining, 14-8
Home page properties of, 14-9
Windchill PDM, 1-3 Life cycle promotion
Windchill PDMLink, 1-4 defining criteria for, 14-17
Windchill ProjectLink, 1-5 Life cycle roles, 10-20, 14-9, 15-10, 16-16
Home tab, 1-4, 1-5 assigning permission to, 14-15
mappings, 14-11
I predefined, 14-11
selecting, when defining phases, 14-10
Import and export, 4-7, 5-6 Life cycle states
between projects, 8-4 defined, 14-3
Importing indexing and, 12-2
life cycles, 14-19 predefined, 14-19
Microsoft Project plan, 8-4 Life Cycle templates
workflow process templates, 16-26 installation, 3-16
Indexing rules Life cycle templates
combinations of, 12-5 checking out, 14-4
creating, 12-312-4 container, 3-15
object types and, 12-4 creating, 14-5
root domain, 3-13 Life cycle-managed information, 10-19, 14-4
See also Collections Life cycles, 14-1, 14-2
INVITED group, 6-8 access control, 10-19, 14-21
Iterated objects, 14-3 Default, 14-3, 14-7
defined, 14-2
J importing and exporting, 14-19
iterations of, 14-3
JAR files, 14-19, 14-20 properties of, 14-6, 14-8
java.security.acl package, 10-6, 10-9 team roles and, 15-9
team templates and, 15-2
L updating, 14-4
Logging On, 1-2
Libraries, 3-2
creating in Windchill PDMLink, 6-17
templates, 6-6 M
Windchill PDM, 7-1 Maintenance only release, 14-19, 16-26
Windchill PDMLink, 6-1 Manage Layouts page, 16-35
Library creators, 1-11, 5-3, 5-8 Managing
Library domains action items, 8-3
access control, 6-8 activities, 8-3
teams and, 15-8 deliverables, 8-3
Library manager, 1-11, 6-7, 6-12
Index-5
OWNER pseudo-user, 10-7 templates, 3-14, 6-6
Windchill PDM, 7-1
P Windchill PDMLink, 6-15
Windchill PDMLlink, 6-1
Participants ProductView, 2-18, 18-2, 18-3
assigning ProductView Configuration Administrator
to life cycle roles, 14-12 for projects, 8-5
to team roles, 15-19 Project containers, domains for, 2-12
to workflow activities, 16-16 Project creators, 1-12, 5-3, 5-8
defined, 15-2 Project manager, 1-12
searching for, 3-39 Project managers, 8-2
Participants window, 14-12 Project roles
PDM domain, 2-10 resolution of, 15-9
PDMLink. See Windchill PDMLink Project space
Permissions creating and updating, 8-2
access control lists, 10-810-10 Project tab, 1-5
ad hoc access control lists and, 14-13 Project team members, 8-3
calculating, 10-11 Project templates, 3-14, 8-4
defined, 10-3 out-of-the-box, 8-6
examples, 10-1010-11 Project Utilities page, 8-4
setting, 10-510-6 ProjectLink. See Windchill ProjectLink
types of, 10-5 Projects, 3-2, 8-2
See also Access control, Access control rules Promotion. See Life cycle promotion
personal cabinet names, 9-9 Proxy processes. See Workflow subprocesses
PLT files, 18-2 PTC documentation, xxii
Policies Publish Monitor
definition, 3-24 for projects, 8-5
overview, 3-28 Publish Scheduler, 18-19
Policy ACLs. See Access control lists, policy Publish Scheduler Administrator
Policy Administrator, 3-24, 3-28 for projects, 8-5
Policy rules, 3-28, 3-31 Purging
Principal Administrator, 4-4, 9-4 groups, 9-12
Principal cache, 9-9, 9-12, 9-15, 9-17 organizations, 9-15
Principals users, 9-9
administering, 9-1
defined, 10-3, 13-3, 15-2 Q
net permissions for, 10-910-10
repair, 9-18 Queues
searching, 3-39 notification, 13-6
Pro/ENGINEER Wildfire, 2-3 visualization publish jobs, 18-5, 18-17
Pro/INTRALINK Gateway, 18-19 Windchill Schedule, 18-19
Process Manager toolbar, 16-29 See also Windchill Queue Manager
Processes
notification, 13-513-6 R
Product creators, 1-11, 5-3, 5-8
Product domains Read permission, 10-5
access control, 6-8 Related documentation, xix
teams and, 15-8 Repair principals, 9-18
Product manager, 1-11, 6-7, 6-12 Replication Administrator
Product tab, 1-4 for projects, 8-5
Products Replication sites
container, 3-2 configuring, 4-6
Index-7
Transitions, for workflow activities, 16-21 Viewable publishing, 5-6
Translated context templates, 3-20 View-dependent objects
Troubleshooting defined, 17-2
Visualization services, 18-9 Viewing
Type Manager groups, 9-12
examples, 11-11 organizations, 9-14, 9-15
initial window, 11-10 users, 9-9
use case, 11-11 workflow history, 16-29
using, 11-11 Views and view associations, 17-1
Types, 4-5, 5-4 command-line utility for, 17-3
enumerated, 15-18 creating, 17-2
Type Manager, 11-7 Visualization collaboration interface, 18-21
use case, 11-11 Visualization data model, 18-4
Visualization service
U See also Thumbnail generator, Thumbnail images
Visualization services, 18-1
UFID, 9-2, 9-7 architecture, 18-3
Unaffiliated domain, 2-15, 3-12, 3-27 file types, 18-2
Unique Federation Identifier, 9-2 loader, 18-3, 18-6
Update Life Cycle window, 14-7, 14-10 properties, 18-22
Updating Publish Scheduler, 18-19
action items, 8-3 troubleshooting, 18-6
activities, 8-3
deliverables, 8-3 W
documents and folders, 8-3
groups, 9-12 Watermarks, 18-21
life cycles, 14-4 Windchill environment, 2-3
members, 4-4 Windchill PDM
organization folders and documents, 5-4 containers, 2-5
organizations, 9-15 getting started, 1-2
project space, 8-2 home page, 1-3
resources, 8-3 library, 3-2
users, 9-9 library container, 2-9, 7-2
workflow process templates, 16-3 organization, 2-6
User Windchill PDMLink
objects, 9-2 application containers, 2-10
User domain, 2-14, 3-12, 3-26, 10-19 container hierarchy, 2-7
user ID, 9-8 demo data, 2-4
Users getting started, 1-2
creating, 10-18 home page, 1-4
deleting, 9-10 templates, 3-22
managing, 2-6, 2-14, 9-8 translated templates, 3-20
notifying. See Notifications Windchill ProjectLink
organization affiliation, 2-14 administrators, 1-12
setting permissions for, 10-510-6 container hierarchy, 2-7
getting started, 1-2
V home page, 1-5
project containers, 2-12
Versioning schemes templates, 3-23
configuring, 5-6 translated templates, 3-21
loading, 3-32 Windchill Queue Manager, 18-19
object initialization rules, 3-18 Windchill Runtime Architecture, 2-2
Index-9