Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1
Business Modeler IDE Guide
Publication Number
PLM00071 J
PLM00071 J
Contents
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
1-1
1-2
1-4
1-15
1-18
1-19
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
2-1
2-70
2-76
2-83
2-86
2-89
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
3-1
3-10
3-23
3-24
3-30
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
4-1
4-1
4-10
4-17
4-21
4-24
4-26
4-58
4-70
PLM00071 J
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 5-1
. 5-2
. 5-4
. 5-99
5-111
5-150
Contents
Creating options . . . . . . . . . . .
Document management . . . . . .
Working with applications . . . .
Teamcenter Component objects
Global constants . . . . . . . . . . .
Managing data model . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
5-212
5-226
5-249
5-250
5-253
5-276
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
6-1
6-2
6-23
6-27
6-35
6-49
6-54
6-55
6-74
6-90
Setting the displayed text and language in the Business Modeler IDE . . 7-1
Localization process in the Business Modeler IDE . . . . . . . .
Setting language support . . . . . . . . . . . . . . . . . . . . . . . . .
Setting display names . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Add the Localization button to properties . . . . . . . . . . . . . .
Migrate a custom template to the newer language framework
Migrate property and relation names . . . . . . . . . . . . . . . . .
Create a default localization . . . . . . . . . . . . . . . . . . . . . . .
Import localization files . . . . . . . . . . . . . . . . . . . . . . . . . . .
Localization and live update . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
7-1
7-2
7-8
7-13
7-14
7-15
7-17
7-17
7-18
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
8-1
8-2
8-3
8-33
8-55
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
9-1
9-4
9-4
9-10
9-12
9-12
9-21
9-22
9-22
9-63
9-63
9-70
9-71
PLM00071 J
Contents
NX CAM Integration . . . . . . . . . . . . . . . . . . .
Organization . . . . . . . . . . . . . . . . . . . . . . . .
Product and manufacturing information (PMI)
Schedule Manager . . . . . . . . . . . . . . . . . . . .
Structure Manager . . . . . . . . . . . . . . . . . . . .
Supplier Relationship Management . . . . . . . .
Systems Engineering . . . . . . . . . . . . . . . . . .
Teamcenter EDA . . . . . . . . . . . . . . . . . . . . .
Validation Manager . . . . . . . . . . . . . . . . . . .
Wiring Harness Design Tools Integration . . . .
Workflow Designer . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 9-87
. 9-87
. 9-87
. 9-88
. 9-95
9-110
9-115
9-119
9-127
9-130
9-130
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 10-1
. 10-1
. 10-3
. 10-3
. 10-5
. 10-6
10-15
10-28
....
....
....
...
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
A-1
A-1
A-3
A-7
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Index-1
PLM00071 J
Contents
Figures
Favorites folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Add to Favorites from context menu . . . . . . . . . . . . . . . . . . . . .
Add to Favorites from editors . . . . . . . . . . . . . . . . . . . . . . . . . .
Filter elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Customize hidden groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configure business objects to display . . . . . . . . . . . . . . . . . . . .
Configure business objects to display dialog box . . . . . . . . . . . . .
Custom versus COTS template example . . . . . . . . . . . . . . . . . .
Model Element Type wizard . . . . . . . . . . . . . . . . . . . . . . . . . . .
Create a new business object . . . . . . . . . . . . . . . . . . . . . . . . . .
Creating a custom item business object . . . . . . . . . . . . . . . . . . .
Creating a custom item revision business object . . . . . . . . . . . . .
Finding custom business objects . . . . . . . . . . . . . . . . . . . . . . . .
Saving data model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Select the New Business Modeler IDE Template Project wizard .
Create the project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Item business object in the Business Modeler IDE user interface .
BMIDE view showing project files . . . . . . . . . . . . . . . . . . . . . .
Project properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Server connection profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Online help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Model Element Type wizard . . . . . . . . . . . . . . . . . . . . . . . . . . .
Create a new business object . . . . . . . . . . . . . . . . . . . . . . . . . .
Establish a connection to the server . . . . . . . . . . . . . . . . . . . . .
Console view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Business Object Type dialog box . . . . . . . . . . . . . . . . . . . . . . . .
Custom business objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Properties tab of the custom business object . . . . . . . . . . . . . . .
Persistent Property dialog box . . . . . . . . . . . . . . . . . . . . . . . . .
Set the Enabled property constant . . . . . . . . . . . . . . . . . . . . . .
Operation Descriptor tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OperationInput Property dialog box . . . . . . . . . . . . . . . . . . . . .
Custom properties on the item creation dialog box . . . . . . . . . . .
Custom properties on the item revision creation dialog box . . . . .
Starting the search for style sheets . . . . . . . . . . . . . . . . . . . . . .
Searching for XMLRenderingStylesheet datasets . . . . . . . . . . . .
Viewing the search results for XMLRenderingStylesheet datasets
Viewing the style sheet contents . . . . . . . . . . . . . . . . . . . . . . . .
Saving XML style sheets with new names . . . . . . . . . . . . . . . . .
Registering style sheets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Adding properties to style sheets . . . . . . . . . . . . . . . . . . . . . . .
Custom item properties in the Summary view . . . . . . . . . . . . . .
Custom item properties in the Viewer view . . . . . . . . . . . . . . . .
Custom item revision properties in the Summary view . . . . . . . .
Custom item revision properties in the Viewer view . . . . . . . . . .
Adding an LOV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Attaching an LOV to a property . . . . . . . . . . . . . . . . . . . . . . . .
Cascading list of values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Attaching the suppliers LOV to the supplier property . . . . . . . . .
Cascading list of values in the user interface . . . . . . . . . . . . . . .
List of values in the user interface . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
1-13
1-13
1-13
1-14
1-14
1-15
1-15
1-18
1-20
1-21
1-22
1-23
1-24
1-25
2-2
2-2
2-3
2-4
2-4
2-5
2-5
2-6
2-7
2-8
2-9
2-9
2-10
2-11
2-12
2-13
2-13
2-14
2-16
2-16
2-17
2-18
2-18
2-19
2-20
2-21
2-22
2-23
2-23
2-24
2-25
2-26
2-27
2-28
2-29
2-30
2-31
PLM00071 J
Contents
PLM00071 J
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
2-32
2-33
2-33
2-35
2-36
2-37
2-38
2-39
2-39
2-40
2-41
2-42
2-43
2-43
2-43
2-44
2-45
2-46
2-46
2-48
2-48
2-49
2-50
2-50
2-51
2-51
2-52
2-52
2-53
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
2-54
2-55
2-56
2-56
2-57
2-57
2-58
2-59
2-60
2-60
2-61
2-62
2-62
2-63
2-64
2-65
2-66
2-66
2-68
2-68
2-69
2-69
2-70
2-70
Contents
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
2-71
2-72
2-74
2-75
2-77
2-79
2-80
2-81
3-8
3-10
3-11
3-13
3-15
3-17
3-18
3-19
3-20
3-20
3-21
3-21
3-22
3-22
4-2
4-3
4-4
4-6
4-7
4-9
4-13
4-14
4-15
4-15
4-16
4-18
4-19
4-20
4-22
4-23
4-23
4-25
4-26
4-28
4-29
4-31
4-32
4-34
4-36
4-36
4-37
4-38
4-39
4-40
4-41
4-42
PLM00071 J
Contents
PLM00071 J
Contents
10
PLM00071 J
Contents
PLM00071 J
. 6-24
. 6-24
. 6-25
. 6-26
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
6-26
6-28
6-30
6-31
6-32
6-33
6-33
6-33
6-35
6-39
6-40
6-56
6-57
6-58
6-59
6-61
6-62
6-63
6-63
6-64
6-64
6-65
6-65
6-66
. 6-66
.
.
.
.
.
6-70
6-70
6-70
6-71
6-71
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
6-72
6-72
6-73
6-75
8-2
8-24
8-27
8-42
8-61
8-62
8-67
8-69
8-73
8-74
8-74
11
Contents
12
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
9-5
9-6
9-6
9-7
9-8
9-9
9-13
9-15
9-16
9-17
9-18
9-19
9-24
9-27
9-27
9-28
9-29
9-30
9-30
9-31
9-32
9-32
9-33
9-64
9-65
9-66
9-66
9-67
9-67
9-68
9-68
9-69
9-69
9-72
9-73
9-73
9-74
9-74
9-75
9-75
9-76
9-77
9-77
9-78
9-79
9-79
9-80
9-80
9-82
9-82
9-83
9-84
9-85
9-85
PLM00071 J
Contents
PLM00071 J
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 9-86
. 9-89
. 9-90
. 9-91
. 9-91
. 9-97
. 9-98
. 9-98
. 9-99
9-100
9-100
9-102
9-103
9-103
9-104
9-105
9-106
9-107
9-108
9-108
9-109
9-111
9-112
9-113
9-114
9-115
9-116
. 9-117
.
.
.
.
.
9-118
9-118
9-132
9-133
9-134
. 9-135
. 9-135
.
.
.
.
.
.
.
.
.
.
.
.
.
.
9-136
9-138
9-138
9-139
9-140
9-140
9-141
. 10-4
10-11
10-21
10-22
10-22
10-23
10-24
13
Contents
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
10-24
. A-7
. A-8
. A-8
. A-9
A-10
A-11
A-11
A-11
A-14
A-27
A-41
A-45
A-45
A-46
A-46
Tables
Encodings for Oracle databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-5
Encodings for MS SQL databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-6
14
PLM00071 J
Chapter
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
1-4
1-4
1-6
1-12
1-13
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
1-15
1-15
1-16
1-16
1-17
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
PLM00071 J
..
to
..
..
..
..............
create data model
..............
..............
..............
. . 1-19
. . 1-19
. . 1-20
. . 1-25
Chapter
Note
The Business Modeler IDE is built on top of the Eclipse platform. Eclipse
is a generic platform for tool development that is extended using its
plug-in and extension point technology. For more information about
Eclipse, go to the following Web site:
http://www.eclipse.org
For Business Modeler IDE best practices, see the Business Modeler IDE
Best Practices Guide on GTAC (Global Technical Access Center) at the
following URL. You must have a WebKey account to access this page.
http://support.industrysoftware.automation.siemens.com/docs/teamcenter
PLM00071 J
1-1
Chapter 1
The following are required on the client that runs the Business Modeler IDE:
Java
Prior to Teamcenter 10.1, Teamcenter included Java as part of the
installation package. Now, Java is no longer provided with Teamcenter,
and you must install Java before attempting to install the Business
Modeler IDE.
Install the following versions:
o
Java JDK 7 or later if you install the Business Modeler IDE into an
existing Eclipse environment or if you want to create services
You can download the JRE and JDK from this Web site:
http://www.oracle.com/technetwork/java/javase/
downloads/index.html
Caution
Before installing the Business Modeler IDE, you must set the
JRE_HOME environment variable to point to the location of the 32-bit
JRE on your system. If you have a 64-bit system, you must also set
the JRE64_HOME environment variable to point to the location of
the 64-bit version of the JRE on your system. If you do not set these
environment variables, you may not be able to launch Teamcenter
Environment Manager (TEM), which is used to install the Business
Modeler IDE.
For more information, see the Installation on Windows Clients Guide.
You must also set the JAVA_HOME and JDK_HOME environment
variables to the location of the JDK.
1-2
PLM00071 J
Eclipse 3.8
This is required only if you install the Business Modeler IDE into an
existing Eclipse installation.
For more information, see Install the Business Modeler IDE to an existing
Eclipse environment.
Administrator rights
Users of the Business Modeler IDE must be members of the database
administrators (dba) group on the Teamcenter server. Use the
Organization application in the Teamcenter rich client to add a user to
the dba group.
A C++ compiler for compiling code. For supported versions, see the
Siemens PLM Software Certification Database at the following URL:
http://support.industrysoftware.automation.siemens.com/
certification/teamcenter.shtml
When using Windows, use Visual Studio 2010 Service Pack 1. If
compiling on a 64-bit machine, you must install the x64 Compilers and
Tools option to Visual Studio.
Configure the
Business Modeler
IDE
PLM00071 J
1-3
Chapter 1
Note
For Business Modeler IDE best practices, see the Business Modeler IDE Best
Practices Guide on GTAC (Global Technical Access Center) at the following
URL. You must have a WebKey account to access this page.
http://support.industrysoftware.automation.siemens.com/docs/teamcenter
Standard perspective
Provides a simplified user interface. It contains the BMIDE view, which provides
a centralized location for favorites, data model elements, and project files.
1-4
PLM00071 J
Toolbar
BMIDE view
Editor
Help view
Advanced perspective
Provides a full-featured user interface. Contains separate views for business
objects, classes, project files, and data model extensions.
PLM00071 J
Toolbar
Extensions view
Editor
1-5
Chapter 1
Help view
Description
Add Condition
Add Id Context
Add LOV
Add Status
Add to Favorites
Back
1-6
PLM00071 J
Menu command
Bookmarks
Delete
Description
Provides a list of bookmarked business objects.
(This menu item is available only in the Advanced
perspective.) Pull down the menu and choose a
bookmark to select a business object in the view. The
list of bookmarks is preset with some of the common
business objects. You can also add business objects to
the list using the Add Bookmark menu command on
the shortcut menu.
Deletes the selected data model elements. You can only
delete custom objects.
For more information, see Delete objects.
Deploy Template
Editors
PLM00071 J
1-7
Chapter 1
Menu command
Description
Filter
Find object
Forward
Generate CodeC++
Classes
Hide COTS
Navigate
Expand Selection
Expands all the child objects below the selected
business object.
Collapse Selection
Collapses all the child objects below the selected
business object.
Go toParent
Takes you to the parent business object.
1-8
PLM00071 J
Menu command
Description
New object
Mappings Editor
Editor
Organize
PLM00071 J
1-9
Chapter 1
Menu command
Description
Moves the selected custom model element to a
file in which model changes are placed. This
menu command is enabled only when a custom
item is selected (custom items appear with a c
symbol). The extension file resides in the Project
Files\extensions folder of the project.
For more information, see Move a custom object to
an extension file.
Organize Extensions
1-10
PLM00071 J
Menu command
Description
For more information, see Move a custom object to
an extension file.
Package Template
Extensions
Reports
PLM00071 J
1-11
Chapter 1
Menu command
Description
Tools
Merge Samples
Provides samples to learn how to use the live
update merge tool
For more information, see Merge samples.
Upgrade Tools
1-12
PLM00071 J
Favorites folder
To add elements to the Favorites folder, right-click an element and choose Add to
Favorites from the context menu, or click the Add to Favorites button on an editor.
Hide elements
Right-click a folder and choose FilterHide All COTS element-name elements or
Hide this folder and all element-name below.
PLM00071 J
1-13
Chapter 1
Filter elements
1-14
PLM00071 J
PLM00071 J
1-15
Chapter 1
file contains the data model for the Foundation solution, the base Teamcenter
application. When you use the Business Modeler IDE to create data model, your
data model is rolled up into its own template.
As you develop data model, you can deploy it onto a test server to verify that it
behaves the way you want it to. After you are finished testing, you can package
the data model into a template that can be installed to a production server using
Teamcenter Environment Manager (TEM).
Introduction to templates
A template is an XML file that contains the data model for an application (also
known as a solution). For example, the foundation_template.xml file contains the
data model for the Foundation solution, the base Teamcenter application. When you
use the Business Modeler IDE to create data model, the new data model is rolled
up into a template.
For reference information about templates, see Templates reference.
You can deploy your template to a Teamcenter test server for testing purposes by
choosing BMIDEDeploy Template on the menu bar. This is also known as live
update. You can also use live update to send operational data such as LOVs and
rules to a production server.
For more information, see Introduction to deploying templates.
You can also package your data model into a template for installation to a
Teamcenter production server by choosing BMIDEPackage Template Extensions.
For more information, see Package extensions into a template.
Templates can exist in three locations:
1-16
PLM00071 J
install-location\bmide\templates
This folder stores templates that are used for reference only within the Business
Modeler IDE. The templates in this location are used when you create a project,
and supply the base model for your data model extensions. This folder is of
interest only to the Business Modeler IDE and does not affect your database
status.
TC_DATA\model
This folder represents the current status of your database. Templates are
placed here when you use Teamcenter Environment Manager (TEM) to install
Foundation or new templates, or when you deploy templates from the Business
Modeler IDE to a test server. All Business Modeler IDE utilities that update the
database look here to find the templates to be applied to the database. This is a
crucial folder for any installation or upgrade that makes database changes.
workspace-location\version\project\output\packaging
This folder is the default location where templates are packaged by the Business
Modeler IDE. Templates here are a consolidation of all data model extensions
you performed in your project. Once generated, you can open the template file
and dependency file and verify for correctness. If you also have an installation of
Teamcenter to which you want to install your template using the TEM installer,
you browse to this location to obtain the template during the installation.
For more information, see Install a template using TEM.
PLM00071 J
1-17
Chapter 1
The state of the COTS or custom templates is not stored in the database, but
is determined at run time by the Business Modeler IDE.
c.
1-18
PLM00071 J
on
To check for data model errors, right-click your project and select Reload
Data Model. See the Console view for errors.
PLM00071 J
1-19
Chapter 1
Note
For Business Modeler IDE best practices, see the Business Modeler IDE
Best Practices Guide on GTAC (Global Technical Access Center) at the
following URL. You must have a WebKey account to access this page.
http://support.industrysoftware.automation.siemens.com/docs/teamcenter
1-20
PLM00071 J
In the Name box, type the name you want to assign to the new business
object in the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A5_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
In the Display Name box, type the name as you want it to appear in the
user interface.
For more information, see Localization process in the Business Modeler IDE.
d. In the Parent box, Item is already selected as the parent business object.
e.
PLM00071 J
Click Next.
1-21
Chapter 1
1-22
In the Description box, type a description of the new business object revision.
PLM00071 J
Click Finish.
The new business object appears in the BMIDE view. A c on the business
object symbol indicates that it is a custom business object.
6. Right-click the new business object and choose Add to Favorites. To find this
business object later, click the Favorites folder at the top of the BMIDE view.
7. When you create an item business object, revision and form business objects are
also created. To see them, click the Find button
box in the Find BMIDE Element dialog box.
PLM00071 J
1-23
Chapter 1
You should never manually edit the XML files since this may corrupt
data.
An exception to this rule is if you are using a source control
management (SCM) system and you need to merge changes from two
or more users in one file. In this case, you need to manually edit
the file. After you complete the edit, save the file, and right-click in
any view and choose Reload Data Model. The Business Modeler
IDE reloads all the XML definitions from the source and validates
them for correctness. If there are any issues with the XML files or
definitions, they are displayed in the Console view.
on
1-24
PLM00071 J
10. After deployment, test your new business object in the Teamcenter rich client
by creating an instance of it.
For example, in the My Teamcenter application, choose FileNewItem. Your
new business object appears in the New Item dialog box. Choose your new
business object and create an instance of the object.
To check for data model errors, right-click your project and select Reload
Data Model. See the Console view for errors.
4. To see your extension work in the extension file, open the Project Files folder,
expand the extensions folder, and right-click the extensions file (for example,
default.xml) and choose Open WithText Editor. The file opens in an editor
view, where you can examine the extension source code.
PLM00071 J
1-25
Chapter 1
5. After saving changes, you can deploy the changes to the test server by running
the Deploy wizard.
For more information, see Introduction to deploying templates.
Note
If you are using a source control management (SCM) system with Eclipse,
your project must be under source control so that the files can be saved.
If the project is under source control but is not hooked up to the SCM plug-in,
when you use the Save Data Model option, a dialog box asks if the files are
to be made writable. If you choose Yes, the files are made writable outside of
the control of the SCM system, and if you choose No the save operation is
aborted. The recommended option is to choose No and hook up the project
to the SCM plug-in, or check out the files manually. If you choose Yes, you
must synchronize the modified files with the SCM system.
For information about how to install an SCM plug-in and hook it up to
a Business Modeler IDE templates project, refer to the documentation
provided by the SCM plug-in.
For more information about SCM, see Using an SCM system to manage files.
1-26
PLM00071 J
Chapter
Workshops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Preparing to use the Business Modeler IDE workshops . . . . . . . .
Workshop 1: Create a template project . . . . . . . . . . . . . . . . . . . .
Workshop 2: Explore the user interface . . . . . . . . . . . . . . . . . . . .
Workshop 3: Create a new item type . . . . . . . . . . . . . . . . . . . . . .
Workshop 4: Create custom properties . . . . . . . . . . . . . . . . . . . .
Workshop 5: Display custom properties in the client user interface
Workshop 6: Create lists of values . . . . . . . . . . . . . . . . . . . . . . .
Workshop 7: Add a naming rule . . . . . . . . . . . . . . . . . . . . . . . . .
Workshop 8: Create a form . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Workshop 9: Add a relationship rule . . . . . . . . . . . . . . . . . . . . . .
Workshop 10: Add deep copy rules . . . . . . . . . . . . . . . . . . . . . . .
Workshop 11: Add a business object display rule . . . . . . . . . . . . .
Workshop 12: Use a predefined extension rule . . . . . . . . . . . . . . .
Workshop 13: Add a compound property . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
2-1
2-1
2-1
2-3
2-6
2-10
2-17
2-25
2-31
2-35
2-39
2-43
2-49
2-54
2-59
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
2-70
2-70
2-70
2-72
2-72
2-73
2-73
2-74
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
2-76
2-76
2-78
2-79
2-79
2-81
Development environments . . . . . . . . . . . . . .
Single production database environment . .
Test and production database environment
User testing environment . . . . . . . . . . . .
Multiple developer environment . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
2-83
2-83
2-84
2-84
2-85
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
PLM00071 J
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
2-89
2-89
2-89
2-90
2-91
2-92
PLM00071 J
Chapter
Workshops
Preparing to use the Business Modeler IDE workshops
The Business Modeler IDE workshops guide you through what is perhaps the most
common configuration scenario: using the Business Modeler IDE to create and
configure new item types.
The workshops show you how to create a business object to represent a part and how
to add pieces to the business object to make them fully functional, such as properties,
naming rules, lists of values, relationship rules, and deep copy rules. The workshops
build on one another, and when you are finished, you will have a representative set
of custom functionality.
Before performing these workshops, you should install the following:
A test Teamcenter server to which you can deploy your custom data model
For more information, see the Installation on Windows Servers Guide and the
Installation on UNIX and Linux Servers Guide.
PLM00071 J
2-1
Chapter 2
2-2
PLM00071 J
4. Double-click the Item business object and click the Properties tab to view
properties on the business object, such as the item_id property. This is where
you can add new properties to business objects.
PLM00071 J
2-3
Chapter 2
Project properties
2-4
PLM00071 J
7. To verify that you have a server connection profile to connect to your test server,
choose WindowPreferencesTeamcenterServer Connection Profiles. This
profile was set up automatically when you installed the Business Modeler IDE.
To access the online manual, choose HelpHelp Contents, and in the Help
window, choose Business Modeler IDE Guide in the left pane.
Online help
PLM00071 J
2-5
Chapter 2
2-6
PLM00071 J
You could add custom properties in this dialog box, but instead you
add them later on the Properties tab of the new business object.
d. Click Finish.
2. Deploy the changes to the rich client.
a. On the menu bar, choose BMIDESave Data Model to save your changes.
PLM00071 J
b.
c.
On the menu bar, choose BMIDEDeploy Template. Type the password and
click the Connect button to establish a connection with the server.
2-7
Chapter 2
If you do not select the Generate Server Cache? check box when
you deploy schema changes (for example, changed business objects
and properties), when you log on to the test server, you may see the
following message:
The schema file is out of date. Please regenerate.
2-8
e.
Click Finish.
f.
PLM00071 J
Console view
g.
To ensure your changes appear in the rich client user interface, exit the rich
client and restart it to clear cache.
When you restart, you may want to launch the rich client using the
install-location\portal\portal.bat -clean option to ensure the cache is
cleared.
Note
If your changes still do not appear in the user interface, delete the
Teamcenter subdirectory in the users home directory on the client.
This directory is automatically created again when the user starts
the rich client.
On a Windows client, it is typically the C:\Documents and
Settings\user-name\Teamcenter\ directory on Windows XP or
the Users\user-name\Teamcenter directory on Windows 7. On a
Linux client, it is typically the $HOME/Teamcenter/ directory.
PLM00071 J
2-9
Chapter 2
Note
You can create your own custom icon to assign to the new business object.
For more information, see Add or change a business object icon.
2-10
PLM00071 J
PLM00071 J
2-11
Chapter 2
Display name
Attribute type
a5_supplier
Supplier
LongString
a5_safety_code
Safety Code
Integer
5. Enable the new properties for use in the client user interface using the Enabled
properties constant.
a. Select the new property in the properties table.
b.
c.
Click the Edit button to the right of the Property Constants table.
2-12
PLM00071 J
c.
PLM00071 J
2-13
Chapter 2
e.
Click the Browse button to the right of the Property Name box to select a
custom property.
Select the Visible to ensure the property is visible in the client user interface.
Display name
Attribute type
a5_weight
Weight
Double
a5_material_code
Material Code
String
a5_material_description
Material
Description
LongString
10. Enable the new properties for use in the client user interface using the Enabled
properties constant.
11. Display the new properties in the creation dialog box in the client user interface
using the CreateInput operation on the Operation Descriptor tab.
a. Click the Operation Descriptor tab.
2-14
PLM00071 J
b.
c.
Click the Browse button to the right of the Property Name box to select a
custom property.
Select the Visible to ensure the property is visible in the client user interface.
f.
c.
To ensure your changes appear in the rich client user interface, exit the rich
client and restart it to clear cache.
When you restart, you may want to launch the rich client using the
install-location\portal\portal.bat -clean option to ensure the cache is
cleared.
Note
If your changes still do not appear in the user interface, delete the
Teamcenter subdirectory in the users home directory on the client.
This directory is automatically created again when the user starts
the rich client.
On a Windows client, it is typically the C:\Documents and
Settings\user-name\Teamcenter\ directory on Windows XP or
the Users\user-name\Teamcenter directory on Windows 7. On a
Linux client, it is typically the $HOME/Teamcenter/ directory.
c.
PLM00071 J
2-15
Chapter 2
2-16
PLM00071 J
Click the arrow on the Select a Search button and choose General.
PLM00071 J
2-17
Chapter 2
Press the Enter key or click the Execute the Search button
2-18
In the Search Results tab, select the style sheet you want to view. Click
the Viewer tab to see the style sheet.
PLM00071 J
Choose FileSave As to rename the style sheet for use with your custom
business object.
Save the following style sheets with new names.
Original XML style sheet
Save as
Item
A5_WorkshopPart
ItemRevision
A5_WorkshopPartRevision
ItemSummary
A5_WorkshopPartSummary
BaseItemRevSummary
A5_WorkshopPartRevSummary
The new style sheet datasets are saved in your Newstuff folder in the Home
view.
PLM00071 J
2-19
Chapter 2
Change the named reference for the file by selecting each style sheet dataset
and choosing ViewNamed References. In the Name column in the Named
References dialog box, change the old name of the file to the new save as
file name.
3. Register the new style sheets for use with the custom business objects.
a. Select a custom style sheet, such as A5_WorkshopPart, and click the Viewer
tab.
b.
In the Viewer tab, click the arrow in the Registered Type box to select the
business object type you want to register it to, and click the arrow in the
Stylesheet Type box to select the place in the user interface where the style
sheet is used.
c.
Click the Apply button in the lower right corner of the view.
Assign the registered type and style sheet type as follows.
Registered type
A5_WorkshopPart
Workshop Part
(A5_WorkshopPart)
Property
A5_WorkshopPartRevision
A5_WorkshopPartRevision
Property
A5_WorkshopPartRevSummary A5_WorkshopPartRevision
2-20
Summary
PLM00071 J
Registered type
A5_WorkshopPartSummary
Workshop Part
(A5_WorkshopPart)
Summary
Place the following custom item properties in the workshop part style
sheets (A5_WorkshopPart and A5_WorkshopPartSummary):
<property name="a5_supplier"/>
<property name="a5_safety_code"/>
c.
PLM00071 J
After making changes, click the Apply button in the lower right corner of
the view.
2-21
Chapter 2
If your changes still do not appear in the user interface, delete the
Teamcenter subdirectory in the users home directory on the client.
This directory is automatically created again when the user starts
the rich client.
On a Windows client, it is typically the C:\Documents and
Settings\user-name\Teamcenter\ directory on Windows XP or
the Users\user-name\Teamcenter directory on Windows 7. On a
Linux client, it is typically the $HOME/Teamcenter/ directory.
b.
In My Teamcenter, select a workshop part item and click the Summary tab.
The new properties appear in the user interface.
2-22
PLM00071 J
With the workshop part item still selected, click the Viewer tab.
PLM00071 J
2-23
Chapter 2
d. Select a workshop part item revision and click the Summary tab.
2-24
With the workshop part item revision still selected, click the Viewer tab.
PLM00071 J
PLM00071 J
Value
Description
35
2-25
Chapter 2
Value
Description
40
Adding an LOV
b.
2-26
PLM00071 J
Supplier1
Supplier 1
Supplier2
Supplier 2
PLM00071 J
2-27
Chapter 2
Value
Supplier3
Supplier 3
Supplier4
Supplier 4
E. Create an A5_Suppliers string LOV to hold the other LOVs using the
following values.
Value
East
West
F. Add the child LOVs to the parent LOV.
i.
Open the A5_Suppliers LOV and select the Show Cascading View
check box.
ii. Select the East value, click the Add Sub LOV button, and add the
A5_EastCoastSuppliers LOV.
iii. Select the West value, click the Add Sub LOV button, and add the
A5_WestCoastSuppliers LOV.
2-28
PLM00071 J
A. Open the A5_WorkshopPart business object and click the Properties tab.
B. Select the a5_supplier property in the properties table.
C. Click the Add button to the right of the LOV Attaches table.
D. In the LOV box, select the A5_Suppliers LOV.
E. Click Finish.
c.
PLM00071 J
To ensure your changes appear in the rich client user interface, exit the rich
client and restart it to clear cache.
2-29
Chapter 2
When you restart, you may want to launch the rich client using the
install-location\portal\portal.bat -clean option to ensure the cache is
cleared.
Note
If your changes still do not appear in the user interface, delete the
Teamcenter subdirectory in the users home directory on the client.
This directory is automatically created again when the user starts
the rich client.
On a Windows client, it is typically the C:\Documents and
Settings\user-name\Teamcenter\ directory on Windows XP or
the Users\user-name\Teamcenter directory on Windows 7. On a
Linux client, it is typically the $HOME/Teamcenter/ directory.
c.
Select the workshop part item and click the Viewer tab.
d. Click the Check-Out button at the bottom of the view and check out the item.
e.
Click the arrow in the Suppliers box and select a supplier from the cascading
list.
2-30
Click the arrow in the Safety Code box and select a code from the list.
PLM00071 J
Click the Save and Check-In button to save your changes to the workshop
part.
c.
PLM00071 J
2-31
Chapter 2
Click the Attach button to the right of the Naming Rules Attachments table.
c.
Click the Browse button to the right of the Property box and select the
A5_WorkshopPart business object and the item_id property.
d. Click Finish.
2-32
PLM00071 J
PLM00071 J
2-33
Chapter 2
b.
c.
To ensure your changes appear in the rich client user interface, exit the rich
client and restart it to clear cache.
When you restart, you may want to launch the rich client using the
install-location\portal\portal.bat -clean option to ensure the cache is
cleared.
Note
If your changes still do not appear in the user interface, delete the
Teamcenter subdirectory in the users home directory on the client.
This directory is automatically created again when the user starts
the rich client.
On a Windows client, it is typically the C:\Documents and
Settings\user-name\Teamcenter\ directory on Windows XP or
the Users\user-name\Teamcenter directory on Windows 7. On a
Linux client, it is typically the $HOME/Teamcenter/ directory.
c.
2-34
PLM00071 J
b.
Right-click the Form business object in the BMIDE view and choose New
Business Object.
c.
d. Click the Add button to the right of the Properties table an add the following
properties.
PLM00071 J
Name
Display name
Attribute type
a5_cost
Cost
Double
a5_site
Site
LongString
2-35
Chapter 2
Note
e.
Click Finish.
c.
d. Click the Edit button to the right of the Property Constants table.
e.
2-36
PLM00071 J
f.
c.
To ensure your changes appear in the rich client user interface, exit the rich
client and restart it to clear cache.
When you restart, you may want to launch the rich client using the
install-location\portal\portal.bat -clean option to ensure the cache is
cleared.
PLM00071 J
2-37
Chapter 2
Note
If your changes still do not appear in the user interface, delete the
Teamcenter subdirectory in the users home directory on the client.
This directory is automatically created again when the user starts
the rich client.
On a Windows client, it is typically the C:\Documents and
Settings\user-name\Teamcenter\ directory on Windows XP or
the Users\user-name\Teamcenter directory on Windows 7. On a
Linux client, it is typically the $HOME/Teamcenter/ directory.
c.
In the New Form wizard, select A5_WorkshopMfgForm from the list and
click Next.
2-38
PLM00071 J
PLM00071 J
2-39
Chapter 2
c.
2-40
PLM00071 J
B. Click the Browse button to the right of the Secondary Object box and
select the A5_WorkshopMfgForm business object.
C. Click the Browse button to the right of the Relation Object box and
select the IMAN_Specification business object.
D. In the Primary Cardinality and Secondary Cardinality boxes, change the
* symbol to 1. (The * means unlimited. -1 also means unlimited.)
E. Click Finish.
PLM00071 J
2-41
Chapter 2
c.
To ensure your changes appear in the rich client user interface, exit the rich
client and restart it to clear cache.
When you restart, you may want to launch the rich client using the
install-location\portal\portal.bat -clean option to ensure the cache is
cleared.
Note
If your changes still do not appear in the user interface, delete the
Teamcenter subdirectory in the users home directory on the client.
This directory is automatically created again when the user starts
the rich client.
On a Windows client, it is typically the C:\Documents and
Settings\user-name\Teamcenter\ directory on Windows XP or
the Users\user-name\Teamcenter directory on Windows 7. On a
Linux client, it is typically the $HOME/Teamcenter/ directory.
2-42
PLM00071 J
b.
Click OK.
The following error message is displayed.
PLM00071 J
2-43
Chapter 2
To see the existing deep copy rules on the workshop part revision, select an
existing workshop part revision and choose FileRevise. Note how objects
related to the form are copied into the revision B object.
2. Create deep copy rules on the workshop part revision.
a. Click the Find button
on the BMIDE view toolbar and search for the
A5_WorkshopPartRevision business object.
b.
c.
2-44
Create the following rule to govern how MSWord datasets are copied to
the new revision:
PLM00071 J
Create the following rule to govern how MSExcel datasets are not copied
to the new revision:
A. In the Operation Type box, select the Revise operation.
B. For Property Type select Relation.
C. In the Relation box, select the IMAN_specification business object.
D. In the Attached Business Object box, select the MSExcel business
object.
E. In the Action box, select the NoCopy action.
F. Click Finish.
PLM00071 J
2-45
Chapter 2
2-46
PLM00071 J
c.
To ensure your changes appear in the rich client user interface, exit the rich
client and restart it to clear cache.
When you restart, you may want to launch the rich client using the
install-location\portal\portal.bat -clean option to ensure the cache is
cleared.
Note
If your changes still do not appear in the user interface, delete the
Teamcenter subdirectory in the users home directory on the client.
This directory is automatically created again when the user starts
the rich client.
On a Windows client, it is typically the C:\Documents and
Settings\user-name\Teamcenter\ directory on Windows XP or
the Users\user-name\Teamcenter directory on Windows 7. On a
Linux client, it is typically the $HOME/Teamcenter/ directory.
PLM00071 J
2-47
Chapter 2
To see your new deep copy rules at work, select the workshop part revision
and choose FileRevise.
Notice how the form and the Word dataset were copied forward to the
revision B, but that the Excel dataset was not.
2-48
PLM00071 J
Referenced dataset
PLM00071 J
2-49
Chapter 2
2-50
PLM00071 J
Validating that Designer role members can view the Workshop Part
6. Log off the rich client.
7. Open the Business Modeler IDE. Now you can create a display rule to hide the
Workshop Part item from members of the Designer role.
8. Open the A5_WorkshopPart business object.
9. Click the Display Rules tab.
10. Click the Add button to the right of the Hide Business Object Rules table.
11. Click the Add button to the right of the Organization box.
PLM00071 J
2-51
Chapter 2
12. In the Select Organization dialog box, select the Designer role under the
Engineering group.
2-52
PLM00071 J
c.
To ensure your changes appear in the rich client user interface, exit the rich
client and restart it to clear cache.
When you restart, you may want to launch the rich client using the
install-location\portal\portal.bat -clean option to ensure the cache is
cleared.
15. Log on to the rich client as the infodba user in the Engineering group and
Designer role.
PLM00071 J
2-53
Chapter 2
Validating that Workshop Part items are hidden from Designer role
members
2-54
PLM00071 J
PLM00071 J
2-55
Chapter 2
2-56
PLM00071 J
b.
Click the Add button to the right of the Arguments box. In the objectType
box, select MSWord, and in the relationType box, select IMAN_reference.
PLM00071 J
2-57
Chapter 2
c.
To ensure your changes appear in the rich client user interface, exit the rich
client and restart it to clear cache.
When you restart, you may want to launch the rich client using the
install-location\portal\portal.bat -clean option to ensure the cache is
cleared.
Note
If your changes still do not appear in the user interface, delete the
Teamcenter subdirectory in the users home directory on the client.
This directory is automatically created again when the user starts
the rich client.
On a Windows client, it is typically the C:\Documents and
Settings\user-name\Teamcenter\ directory on Windows XP or
the Users\user-name\Teamcenter directory on Windows 7. On a
Linux client, it is typically the $HOME/Teamcenter/ directory.
2-58
PLM00071 J
b.
c.
PLM00071 J
2-59
Chapter 2
2-60
PLM00071 J
b.
c.
PLM00071 J
2-61
Chapter 2
2-62
PLM00071 J
e.
Select items_tag as the property on the target business object to hold the
compound property.
f.
Click Next.
g.
PLM00071 J
2-63
Chapter 2
2-64
i.
Select the A5_WorkshopPart business object and click the Add Final
Segment button.
j.
PLM00071 J
PLM00071 J
2-65
Chapter 2
Click Finish.
The new compound property is displayed on the Properties tab.
2-66
PLM00071 J
b.
c.
To ensure your changes appear in the rich client user interface, exit the rich
client and restart it to clear cache.
When you restart, you may want to launch the rich client using the
install-location\portal\portal.bat -clean option to ensure the cache is
cleared.
Note
If your changes still do not appear in the user interface, delete the
Teamcenter subdirectory in the users home directory on the client.
This directory is automatically created again when the user starts
the rich client.
On a Windows client, it is typically the C:\Documents and
Settings\user-name\Teamcenter\ directory on Windows XP or
the Users\user-name\Teamcenter directory on Windows 7. On a
Linux client, it is typically the $HOME/Teamcenter/ directory.
c.
PLM00071 J
2-67
Chapter 2
2-68
PLM00071 J
If you want this property to be visible in the Summary view on the workshop
part revision, you can add the new a5_supplier_compound_prop compound
property to the A5_WorkshopPartRevSummary XML rendering style
sheet.
For a refresher about working with this style sheet, see Workshop 5: Display
custom properties in the client user interface.
For example, open the A5_WorkshopPartRevSummary.xml file and add the
<property name="a5_supplier_compound_prop"/> code as follows.
PLM00071 J
2-69
Chapter 2
2-70
PLM00071 J
single unit that encapsulates your individual extensions. The Business Modeler IDE
and template are considered to be your development environment. You can deploy
this template as a single unit to any Teamcenter database server for testing or
production usage. The deployment process ensures that all of your extensions are
added to the default Teamcenter configuration.
First, create a new template project so that you can store your extensions in it for
easy deployment to database sites. Then, perform a live deploy to push your template
to a test Teamcenter server where you can validate it in a safe environment.
Typically, during this phase of development, you add new business objects and
properties in addition to business behavior. Business objects and properties are
considered schema changes and require a production Teamcenter server to be shut
down and all users logged off to make the update. However, you can update a test
server with a live deploy as long as you are the only user logged on to the system.
Follow this process:
PLM00071 J
2-71
Chapter 2
Follow this process to update your production site with your template.
2-72
PLM00071 J
you do not have to shut down the Teamcenter server. Therefore, only nonschema
type changes, such as LOVs, statuses, units of measure, business rules, and so on,
can be made at this time.
Follow this process to edit your extensions deployed to a live production environment.
The Business Modeler IDE provides the live update project that points directly to the
Teamcenter production database and allows you to make updates to your existing
extensions in your deployed template. These updates are made to the extensions
stored in the Teamcenter database; they do not affect the development environment
template. Do not make the updates to your development environment template at
this point. The development environment may contain ongoing work as you prepare
for your next system downtime. This ongoing work may contain schema changes
intended for the test environment, and it is difficult to separate them from the LOVs
and status changes intended for the production site.
The Business Modeler IDE normally allows you to configure many different types of
elements: business objects, properties, business rules, and so on. However, this list
is limited when performing live updates. For example, you cannot update schema
live because it forces you to log off all users to make the update. All elements in the
Business Modeler IDE that are not schema can be updated live and are enabled by
default. To disable specific elements or enable only a specific set of elements, you can
do so using the Live Update preference in the rich client.
You should configure the Live Update preference before you allow administrators to
use the Business Modeler IDE to make live updates.
To learn more about how to configure this preference, see Configure the Live Update
preference.
PLM00071 J
2-73
Chapter 2
Once the production site is running, you can edit the live data at any time. First, you
must configure your Business Modeler IDE to point to the production site, and then
you can edit the data.
on the
Eventually, you must incorporate all the live data updates performed at the
production site back into the development environment. This event occurs as you
prepare for your next system downtime.
If you do not perform this step, and you deploy your development environment
template (which does not include the latest live data updates) to the production
site, the live data updates already present in the production site are removed.
Because this is undesirable, the system blocks the deployment. To ensure that the
deployment is not blocked, you must perform this step.
To incorporate the latest live data, you can run a wizard from the development
environment Business Modeler IDE to log on to the production Teamcenter server
and retrieve the latest extensions. Or, if your production site is offline from your
Business Modeler IDE, you can ask an administrator to run a command line to
extract the latest updates from the site and send them to you for incorporation. In
either case, once the extensions are incorporated, you can continue with testing,
packaging, and deploying to your production site.
2-74
PLM00071 J
PLM00071 J
2-75
Chapter 2
3. At this point, you have integrated the latest live updates with your ongoing
development work. Deploy this template to your test environment and validate
that it works as expected.
4. To update your production site, deploy the template to a production site.
For more information, see Deploying a template to a production site.
5. Before allowing users to edit live data again, reset the Allow Live Updates check
box on the Live Update preference.
2-76
PLM00071 J
PLM00071 J
2-77
Chapter 2
POM schema
At the very top of the BMIDE folder the parent of all business objects is displayed as
POM_object. POM stands for:
An object that is derived from multiple classes requires a join across each of the
class tables from which it is derived.
Classes are the persistent representations of the POM schema and can be viewed in
the Classes view of the Advanced perspective. You can subclass from a class, and
all the attributes of the parent class are inherited by the subclass.
For instructions about how to examine the POM schema, see Viewing POM schema.
For instructions about how to create a class, see Introduction to creating classes.
Business objects (types) are abstract implementations of POM classes. Each POM
class is mapped to a primary business object whose name is the same as the POM
class name. Primary business objects are derived from classes such as Dataset,
Folder, Form, Item, ItemRevision, and so on. Sub-business objects are under
these primary business objects.
The following terms are used to describe classes, business objects, and properties.
2-78
Term
Definition
Class
Attribute
PLM00071 J
Term
Definition
Business object
Sub-business object
Property
PLM00071 J
2-79
Chapter 2
POM_object
POM_application_object
WorkspaceObject
Dataset
Folder
Form
Item
ItemRevision
2-80
PLM00071 J
PLM00071 J
2-81
Chapter 2
In the PLM XML/TC XML Export Import Administration application, select the
ClosureRule node in the lower-left pane of the window. Click the Add clause (+)
button to the right of the clause table. To select the first kind of object to use in
the data structure, click in the Primary Object Class Type cell and select Class
or Type (business object), and type the name of the class or business object in the
Primary Object cell. For the second object in the structure, use the Secondary
Object Class Type cell and the Secondary Object cells.
For more information, see the PLM XML/TC XML Export Import Administration
Guide.
2-82
PLM00071 J
You also must understand business object structure and property inheritance to
perform these Business Modeler IDE tasks:
Development environments
Single production database environment
The first scenario is the simplest. It consists of a single production database and the
Business Modeler IDE client. In this environment, a single user uses the Business
Modeler IDE client to create a template for extending the data model. The production
database may support one to a small number of users. If no other users are logged
on to Teamcenter, the Business Modeler IDE user can log on Teamcenter to establish
the connection and then live update the template from the Business Modeler IDE.
For instructions about how to perform a live update, see How to deploy a template.
If other users are logged on, the users should be notified of a system downtime.
When the system is taken down, use the package wizard in the Business Modeler
IDE to build the template feature, and then use Teamcenter Environment Manager
(TEM) to install/update the feature into the production environment.
For instructions about how to package extensions, see Package extensions into a
template, and for instructions about how to install a template package, see Install
a template using TEM.
This scenario is ideal for a small community of users.
Caution
PLM00071 J
2-83
Chapter 2
2-84
PLM00071 J
design. The training environment allows the user community to get comfortable
with any new processes, objects, or behaviors before going live with the production
environment.
PLM00071 J
2-85
Chapter 2
for correctness. Use the package wizard to build the template feature, and then
use Teamcenter Environment Manager (TEM) to install the template package into
the integration environment.
For instructions about how to package extensions, see Package extensions into a
template, and for instructions about how to install a template package, see Install
a template using TEM.
After all extensions have been tested in the integration environment, the template
feature can be installed into the user testing environment and production
environments using TEM.
This scenario has the same benefits of the previous scenarios with added scalability
to add more Business Modeler IDE developers and increase productivity through
collaboration. Each user should understand the process and follow it so that
extensions are successfully created, tested, and pushed to each environment with
confidence in the quality.
Note
SCM system
Using an SCM system to manage files
The Business Modeler IDE manages the master XML files that contain your
extension definitions. Although these XML definitions are converted to data model
objects in the database during a deploy, these files are not stored in the database and
should be cared for like source code. Back up these files regularly.
If only one person will be using the Business Modeler IDE to manage the data model,
Siemens PLM Software strongly suggests you use a source control management
(SCM) system plug-in with Eclipse to manage the project and source files.
If more than one person will be working on the data model of a single Business
Modeler IDE template, you are required to use an SCM to integrate all developers
Business Modeler IDE clients with the central SCM repository. The SCM plug-in can
be used to maintain version control of the source files, and to ensure protection of the
data in the source files. In addition, with an SCM plug-in, multiple developers can
work on the same project concurrently.
You can use any SCM system that provides plug-ins to Eclipse, such as ClearCase,
CVS, Subversion, or Perforce. Each developer connects to the repository to share and
synchronize definitions.
As a starting point to find SCM plug-ins, go the following URL:
http://www.eclipse.org
2-86
PLM00071 J
Modeler IDE (Eclipse) and each has its own documentation on how to use it.
However, Siemens PLM Software would like to guide you on how to find information
and some best practices to get you started.
To find more information about SCM, perform an Internet search for SCM or source
control system. There are many white papers and Web sites that provide in-depth
information about the advantages and how to use them.
The Business Modeler IDE can be integrated with any SCM that has a plug-in
compatible with Eclipse. To find out, perform an Internet search that includes the
name of your product plus the word Eclipse or plug-in. Or contact the SCM vendor
to see if they have a plug-in for integrating Eclipse with their SCM repository. While
there are many SCMs available that integrate with Eclipse, Siemens PLM Software
has found the following to work well: CVS, Subversion, Perforce, and ClearCase.
CVS and Subversion are free shareware products. By default, the Business Modeler
IDE already has the CVS plug-in built into it; this saves you time from having to
download it. If you have a CVS repository setup, you can connect to it from the
Business Modeler IDE in the matter of a few minutes.
Subversion is the next generation of CVS. Both Subversion and CVS both offer
adequate tools for checking in and out source files and synchronizing with a central
repository.
Perforce and ClearCase are commercial products. These commercial products offer a
richer set of tools and functionality for managing source files.
Siemens PLM Software product development has utilized all four of these SCM
products with Eclipse and was able to work well with a multideveloper environment.
Your decision to use one of these products may be based on factors such as resources,
IT administration, and purchase costs for licenses. If unsure how to proceed, you
may want to start with CVS or Subversion since these are free. After gaining some
experience on using these tools, you could consider a commercial system.
For information about using an SCM in a multideveloper Business Modeler IDE
environment, see Multiple developer environment.
PLM00071 J
2-87
Chapter 2
3. After this developer creates the template project, you should create many
source files. In the Navigator view, right-click the extensions folder and choose
OrganizeAdd new extension file. The best way for multiple developers to add
definitions to one template is to have each developer work in a separate file. This
reduces the number of file merges that need to occur. Organize and name new
files by functionality. All definitions related to the functionality can be added to
the file. If each developer is given an area of functionality to work on, they can
add all of these definitions to their file and not interfere with other developers
adding definitions to another file. Therefore this first developer should work
with the project manager to discuss what kinds of new functionality are needed
and establish the names for these new files. If you find that you have too many
new source files to keep everyone organized, the files can also be organized into
source folders. Use the wizards listed in the user documentation for adding
new folders and files.
4. Once all files and folders are arranged, this first developer should check in the
entire template project into the SCM. For systems like ClearCase and Perforce,
add all source files to the repository. For systems like CVS and Subversion,
go to the Navigator view, select the top-level template project folder, right
mouse button click and select TeamShare Project. Follow the SCM user
documentation on how to fill in the fields in this wizard. After completing this
step, the template project is connected to the SCM. Next synchronize all files
and folders to the repository. This pushes the files and folders to the central
repository where others can start downloading them.
5. Each developer should launch their Business Modeler IDE and download the
Business Modeler IDE template project to their client. For ClearCase and
Perforce, you may have to launch a separate administrator tool to synchronize or
download the latest Business Modeler IDE template files from the repository.
This places the template folder and all of the files in a directory on your machine.
Next use the FileImportBusiness Modeler IDEImport a Business Modeler
IDE Template Project wizard to import the template folder from your local
machine into your Business Modeler IDE.
For more information, see Import a Business Modeler IDE template project.
For CVS or Subversion users, you can use the CVS Repositories view to
locate and download the template folder to your Business Modeler IDE. After
downloading, right-click the project and choose Reload Data Model to load the
template project into the Business Modeler IDE.
6. Once each developer has the template project in the Business Modeler IDE, he
should set the active source file to the file that is assigned to him. The test
environment should not be shared with other developers and this developer
should be the only person deploying to it.
7. Developers can start to use the Business Modeler IDE to add definitions. After
each developer finishes with these definitions, he should test them first by
deploying to a local test environment.
For more information, see Set the active extension file and Multiple developer
environment.
8. After testing in the individual environment is complete, each developer should
submit or synchronize his latest code back to the repository. This step uploads
2-88
PLM00071 J
all changes created by the developer and should also download any new files
that the repository has.
9. To test all developer changes together in one environment, an administrator can
wait until all developers have submitted their changes. Then the administrator
should synchronize or download the latest code. This imports all changes from
all developers into their Business Modeler IDE clients. Use the Package Wizard
to build a deployment package and then use Teamcenter Environment Manager
(TEM) to deploy this package into a Teamcenter database that is being used as
an integration environment.
For instructions about how to package extensions, see Package extensions into
a template, and for instructions about how to install a template package, see
Install a template using TEM.
If integration testing fails, fix the issues in an individual test environment and
resubmit to the repository. The administrator can synchronize again, to import
the latest changes, then rebuild the package and deploy again to the integration
environment. If testing in the integration environment passes, the tested
template package can be deployed to a user testing environment.
10. Finally after all user testing passes, the deployment package can be deployed to
the production environment through TEM.
Getting help
Accessing help
You can access help by pressing the F1 key or clicking the question mark button ? in
the lower left corner of a dialog box. You can also use the online manual or tutorials.
To access the online manual, choose HelpHelp Contents, and in the Help window,
choose the Business Modeler IDE Guide in the left pane.
PLM00071 J
2-89
Chapter 2
b.
c.
Extract the following JAR file into the new directory using a utility such as
WinZip:
com.teamcenter.bmide.helpguide_version.jar
d. Rename the JAR file suffix so that it is no longer being read by the Business
Modeler IDE. For example, add .bak to the end of the file. From this point
onward, the Business Modeler IDE online help is read from the directory
you created.
2. Add the new help topic.
a. Create the new help topic using an HTML editor.
b.
c.
Add the new topic to the table of contents in the toc.xml file located in the
com.teamcenter.bmide.helpguide directory.
Use an XML editor to add the topic to the toc.xml, and follow the
conventions in the rest of the file. Take care to properly close entries with
/>, and if there are subtopics, close the master topic with the </topic> tag.
Verify the structural validity of the file using an XML parser.
Choose HelpHelp Contents, and in the Help window choose the Business
Modeler IDE Guide in the left pane.
c.
You can also remove topics by following similar procedures. Just remove topics from
the toc.xml file and the guide subdirectory.
2-90
PLM00071 J
If you want to retain your new topics release-to-release, make sure you add
them to the next release of the help by following this process. Also consider
creating your own online help book that contains only your companys help
topics.
Note
For more information, see Create a new online help book in the Business
Modeler IDE.
The current version of the Business Modeler IDE uses Eclipse 3.8.
In the Plug-in Project dialog box, type a name in the Project name box, for
example, myhelp. Click Next.
c.
d. In the Templates dialog box, select Plug-in with sample help content and
click Next.
e.
In the Sample Help Table of Contents dialog box, type a name for your
book in the Label for table of Contents box and select the Primary check
box. Click Finish.
Eclipse displays the new help project files in the Package Explorer view to
the left, and in the middle of the window, it displays the Overview editor.
PLM00071 J
b.
In the Runtime editor, click the Add button to the right of the Exported
Packages pane, select your help project, and click OK.
c.
2-91
Chapter 2
d. In the Deployable plug-ins and fragments dialog box, select your help project
and click the Browse button to the right of the Directory box to browse to
the location where the Business Modeler IDE client is installed, for example:
install-location\bmide\client
e.
Click Finish.
The help plug-in is saved as a JAR file in the plugins directory:
install-location\bmide\client\plugins
6. Verify that the book appears in the Business Modeler IDE online help.
a. Run the Business Modeler IDE.
b.
b.
2-92
PLM00071 J
#PlatformRuntime
2. Unzip the binary to a directory. This directory becomes your Eclipse Infocenter
site.
3. Copy your Business Modeler IDE help plug-in into the
infocenter-installation-location\eclipse\plugins directory.
4. Launch Eclipse from the infocenter-installation-location\eclipse directory using
a command similar to the following:
eclipse -command start -eclipsehome infocenter-installation-location\eclipse
-host host-name -port port-number -noexec
Eclipse launches.
5. To start up the Infocenter server on the specified port, issue a start command
similar to the following:
java -classpath
infocenter-installation-location\eclipse\plugins\org.eclipse.help.base_version.jar
org.eclipse.help.standalone.Infocenter -command start -eclipsehome
infocenter-installation-location\eclipse -port port-number
6. To verify that the help is running over the Web, access the help in your Web
browser using an address similar to the following:
http://host-name:port-number/help/index.jsp
7. To access the help over the Web, each user of the Business Modeler IDE must
choose WindowPreferences, and in the left pane of the Preference dialog box,
choose HelpContent. Perform the following steps in the Content pane:
a. Select Include help content from a remote infocenter and click the New
button.
b.
c.
In the Host box, type the name of the host where Infocenter is running.
d. In the Path box, type /help as the location of the online help.
e.
Select Use port and type the number of the port you set earlier.
f.
Choose Apply.
8. To use the Web version of the help, each user of the Business Modeler IDE
must disable their local copy of the help by adding a .bak to the end of the
com.teamcenter.bmide.helpguide plug-in, found at the following location:
install-location\bmide\client\plugins
Note
If the local version of the help is not disabled, the local version of the
help is read instead of the Web version.
9. To shut down the Infocenter server, open another prompt and issue a shutdown
command similar to the following:
java -classpath
infocenter-installation-location\eclipse\plugins\org.eclipse.help.base_version.jar
org.eclipse.help.standalone.Infocenter -command shutdown -eclipsehome
infocenter-installation-location\eclipse -port port-number
PLM00071 J
2-93
Chapter
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
3-1
3-1
3-1
3-5
3-9
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
3-10
3-10
3-10
3-11
3-11
3-12
3-12
3-14
3-18
3-18
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
PLM00071 J
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
3-24
3-24
3-24
3-26
3-28
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-30
Chapter
Before running TEM, you must have the proper version of JRE installed.
You must also set the JRE_HOME environment variable if you have a
32-bit system, or set the JRE64_HOME environment variable if you
have a 64-bit system.
For more information, see the Installation on Windows Clients Guide.
2. Proceed to the Solutions panel. In the Solutions panel, select Business Modeler
IDE, and then click Next.
3. Perform the following steps in the Features panel:
a. Under Base Install, select one of the following:
PLM00071 J
3-1
Chapter 3
When you select one of these options, a server connection profile is added in
the Business Modeler IDE.
For more information about server connection profiles, see Add a server
connection profile.
b.
c.
d. In the Installation Directory box, enter the location where you want to install
the Business Modeler IDE. The Business Modeler IDE files are installed to a
bmide subdirectory.
e.
Click Next.
4. In the Java Development Kit dialog box, click the browse button to locate
the JDK installed on your system. The kit is used for creating services. For
Teamcenter 10.1, use Java Development Kit 7 or later. Click Next.
3-2
PLM00071 J
If you selected the Business Modeler IDE 2-tier option, perform the following
steps in the 2-tier server settings panel:
a. In the Connection Port box, type the server port number. The default
is 1572.
b.
Click the Edit button to the right of the 2-tier Servers box to change the
server connection profile settings, or click the Add button to add another
server to connect to.
c.
d. Click Next.
If you selected the Business Modeler IDE 4-tier option, perform the following
steps in the 4-tier server configurations panel.
a. Leave the Compress (gzip) the responses from the Web application
servers check box selected if you want faster connection performance
from the server.
b.
Click the Add button to the right of the 4-tier Servers table if you want
to add another server to connect to.
c.
Click Next.
PLM00071 J
3-3
Chapter 3
If you do not want to use TCCS, ensure that the Use TcCS Environments
for 4-tier clients check box is cleared and click Next.
If this check box is cleared, the 4-tier server configurations panel is
displayed after you are finished with the current panel.
c.
d. Select Retrieve settings from URL and type a valid proxy URL to
use a proxy autoconfiguration file.
e.
f.
Select the Use TcCS Environments for 4-tier clients check box if
you want to use TCCS, or clear it if you do not. (This check box is
automatically selected if TCCS is installed.)
g.
h. Click Next.
6. Perform the following steps in the Business Modeler IDE Client panel:
a. Click the Add button to the right of the table to select the templates to
install. Templates contain the data model for Teamcenter solutions. The
Teamcenter Foundation template is installed by default. The Foundation
template contains the data model used for core Teamcenter functions. All
customer templates must extend the Foundation template.
Select the same templates that were installed on the server so that you
can see the same data model definitions in the Business Modeler IDE that
were installed on the server.
Tip
Make sure that you select the same templates that are on the
server. To find the templates installed on the server, look in the
TC_DATA\model directory on the server.
For more information, see the Business Modeler IDE Guide.
Note
3-4
PLM00071 J
b.
c.
Click Next.
baselines\template-name_tcbaseline.xml
Contains a snapshot of the templates data model taken at the release of
Teamcenter 10.1, if a baseline was taken.
For more information, see About baseline files.
icons\template-name_icons.zip
Contains the icons used by that template.
For more information about icons, see Add or change a business object icon.
lang\template-name_template_language_locale.xml
Contains the text that is displayed in the Business Modeler IDE user
interface for all languages.
For more information about displaying user interface text in different
languages, see Localization process in the Business Modeler IDE.
template-name_dependency.xml
Lists the other templates that this template is built on top of, for example,
the Foundation template.
template-name_template.xml
Contains the data model for this template, including business objects,
classes, properties, attributes, lists of values (LOVs), and so on.
master.xml
Lists the template XML files included in the data model, for example, the
foundation_template.xml file.
For instructions about how to run the Business Modeler IDE, see Start the
Business Modeler IDE.
PLM00071 J
3-5
Chapter 3
http://www.eclipse.org
Note
1. Ensure you have an Eclipse 3.8 package installed. To download Eclipse, see
the following URL:
http://archive.eclipse.org/eclipse/downloads/drops/R-3.8-201206081200/
2. In the Teamcenter software distribution image, change to the following directory:
additional_applications\bmide_plugins
3. Extract the bmide_plugins.zip file to your Eclipse directory (ECLIPSE_HOME).
This archive contains the Business Modeler IDE plug-ins.
After unzipping the plug-ins, verify their installation at
ECLIPSE_HOME\plugins.
4. Create a LocalSites directory on your computer, and create the following
subdirectories: CDT, DTP, EMF, GEF, JDT, and WTP.
5. Perform the following steps to extract the remaining plug-ins from the
additional_applications\bmide_plugins directory:
a. Extract each of the following archive files into its corresponding LocalSites
subdirectory. These archives contain plug-ins required by the Business
Modeler IDE.
cdt-master-version.zip
Unzip to the CDT directory. This contains the C/C++ Development
Toolkit (CDT) plug-ins. CDT provides the capability to work with
projects that use C or C++ as a programming language.
dtp-sdk_version.zip
Unzip to the DTP directory. This contains the Data Tools Platform (DTP)
plug-ins. DTP provides a number of tools for working with data sources.
eclipse-JDT-SDK-version.zip
Unzip to the JDT directory. This contains the Java Development Tools
(JDT) plug-ins. JDT provides tools for implementing a Java IDE.
emf-xsd-SDK-version.zip
Unzip to the EMF directory. This contains the Eclipse Modeling
Framework (EMF) plug-ins. EMF is a modeling framework and code
generation facility for building tools and other applications based on
a structured data model.
3-6
GEF-ALL-version.zip
PLM00071 J
wtp-sdk-R-version.zip
Unzip to the WTP directory. This contains the Web Tools Platform
(WTP) plug-ins. WTP helps you develop Web and Java EE applications.
b.
NLpack1-GEF-SDK-version.zip
Contains the GEF language pack for German, Spanish, French, Italian,
Japanese, Korean, Portuguese (Brazil), Traditional Chinese, and
Simplified Chinese.
NLpack2-GEF-SDK-version.zip
Contains the GEF language pack for Czech, Hungarian, Polish, and
Russian.
NLpack2a-GEF-SDK-version.zip
Contains the GEF language pack for Danish, Dutch, Finnish, Greek,
Norwegian, Portuguese, Swedish, and Turkish.
NLpackBidi-GEF-SDK-version.zip
Contains the GEF language pack for Arabic and Hebrew.
6. Launch Eclipse by running the eclipse file from the eclipse directory.
When Eclipse opens, set the workspace if asked and close the Welcome tab
if it appears.
7. Install the remaining plug-ins using the Eclipse installation feature.
For more information about installing plug-ins to Eclipse, see the following
article:
http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.platform.doc.user/
tasks/tasks-124.htm
a. Choose HelpInstall New Software from the top menu bar.
The Available Software dialog box is displayed.
b.
In the Available Software dialog box, click the Add button to the right of the
Work with box.
The Add Site dialog box is displayed.
c.
PLM00071 J
In the Add Site dialog box, click the Local button and browse to each
subdirectory under the LocalSites directory, for example, CDT\eclipse,
DTP\eclipse, and so on.
3-7
Chapter 3
As you add each site, type a name for each in the Name box in the Add Site
dialog box. As you add sites, the plug-in items display on the Available
Software dialog box.
d. In the Available Software dialog box, click the arrow in the Work with box
and choose each site in turn (for example, CDT, DTP, and so on).
The plug-in items are displayed in the pane.
Note
You must clear the Group items by category check box to see the
plug-in items. If you leave it selected, you may see the message:
There are no categorized items
Select the Hide items that are already installed check box to only
see uninstalled features.
Install plug-ins
e.
Select all the items for the site and click Next to install them.
Install all the sites (CDT, DTP, and so on).
f.
g.
Restart Eclipse.
8. After all the plug-ins are installed, you should be able to open the Advanced
perspective. In Eclipse, choose WindowOpen PerspectiveOther and select
the Advanced perspective.
3-8
PLM00071 J
BusinessModelerIDE.ini file
To increase the memory allocated to the Business Modeler IDE, open the
install-location/bmide/client/BusinessModelerIDE.ini file and change the
-Xmx1024M value to a higher number to allocate maximum Java heap size. For
example, if you have 2 GB available to dedicate for this purpose, set the value to
-Xmx2048M. Do this only if your machine has the available memory.
The Xms value in this file sets the initial Java heap size, and the Xmx value sets
the maximum Java heap size.
Caution
If you are running the Business Modeler IDE in an Eclipse environment, run
the following command to increase virtual memory to 2 GB:
eclipse.exe -vmargs -Xmx2048M
For instructions about how to run the Business Modeler IDE, see Start the Business
Modeler IDE.
PLM00071 J
3-9
Chapter 3
3-10
PLM00071 J
Extension files
Set the active extension file
1. Right-click the project where you want to save your work and choose
OrganizeSet active extension file.
2. Open the Project Files\extensions folders and select the active extension file, for
example, default.xml. A green arrow symbol appears on the active extension file.
Note
To add a new extension file, right-click the extensions folder and choose
OrganizeAdd new extension file.
PLM00071 J
3-11
Chapter 3
You should never manually edit the XML files since this may corrupt
data.
An exception to this rule is if you are using a source control management
(SCM) system and you need to merge changes from two or more users
in one file. In this case you need to manually edit the file. After you
complete the edit, save the file, and right-click in any view and choose
Reload Data Model. The Business Modeler IDE reloads all the XML
definitions from the source and validates them for correctness. If there
are any issues with the XML files or definitions, they are displayed in
the Console view.
In the Project Files folder, right-click the extensions folder and choose
OrganizeAdd new extension file.
3-12
PLM00071 J
General preferences
o
PLM00071 J
3-13
Chapter 3
Displays the most commonly used business objects such as Item and
Document that are used to represent work objects to be tracked in
Teamcenter.
o
Toolbar Customization
Specifies the buttons to display on the toolbar.
For more information, see Customize the Business Modeler IDE toolbar.
4. To set the active extension file indicator, in the left pane of the Preferences
dialog box, choose GeneralAppearanceLabel Decorations, and select
Teamcenter Active Extension File Decorator. The active extension file is the file
in the project selected to hold data model changes.
For more information about active extension files, see Set the active extension file.
5. When done making changes, click Apply to commit the changes for that
preference. Click Restore Defaults to revert changes to the originally shipped
settings for the preference.
6. Click OK to commit the changes you have made to all preferences.
3-14
PLM00071 J
HTTP
Sets a Web communication protocol (used in a four-tier Teamcenter
environment). If you selected the Business Modeler IDE 4-tier option under
Base Install when you installed the Business Modeler IDE, the protocol is
already set up for HTTP as TcWeb1.
For more information, see Install the Business Modeler IDE as a stand-alone
application.
IIOP
Sets a network communication protocol (used in a two-tier Teamcenter
environment). If you selected the Business Modeler IDE 2-tier option under
PLM00071 J
3-15
Chapter 3
Base Install when you installed the Business Modeler IDE, the protocol is
already set up for IIOP as TcData.
HTTPS
Sets a secure Web communication protocol (used in a four-tier Teamcenter
environment).
TCCS
Sets a Teamcenter client communication system (TCCS) protocol. This
protocol is used when you need Teamcenter communications through a
firewall using a forward proxy.
Depending on what you selected for the protocol, enter the following:
a. In the Host box, type the host name assigned to the Teamcenter server (for
the IIOP protocol) or the Web application server (for the HTTP or HTTPS
protocol). For IIOP, this is typically set to localhost.
b.
In the Port box, type the port assigned to the Teamcenter server (for the IIOP
protocol) or the port of the Web application server (for the HTTP protocol).
For example, if you selected the IIOP protocol, you could enter the default
port of 1572. If you chose the HTTP protocol and you are using WebLogic as
your Web application server, you could enter the default port of 7001, or for
Apache Tomcat, the default port of 8080.
c.
d. If you selected TCCS as the protocol, in the Environment Name box, select
the environment that was set up when TCCS was installed.
To install TCCS, run the
installation-source\additional_applications\tccs_install\tccs.exe
file. To change TCCS setup, run the
tccs-installation-location\tccs\_Teamcenter Communication
Service_installation\Change Teamcenter Communication Service
Installation file.
6. In the User ID box, type the ID of the authorized user on the Teamcenter server.
7. In the Group box, type the group the user is assigned to (for example, type dba
for the database administration group). This is optional.
8. In the Role box, type the role the user is assigned (for example, type DBA for
the database administrator role). This is optional.
3-16
PLM00071 J
b.
Open the Item business object and click the Display Rules tab.
c.
d. In the Display Rule dialog box, click the Browse button to the right of the
Organization box.
The Teamcenter Repository Connection wizard prompts you to log on to a
server to look up the available groups and roles in the organization. (You are
not asked again to log on if the Business Modeler IDE needs to query the
server for data. You only have to log on once per session.)
e.
Now that you have configured the Business Modeler IDE, you are ready to extend
the data model.
PLM00071 J
3-17
Chapter 3
For more information, see Basic process for using the Business Modeler IDE to create
data model definitions.
Toolbar customization
3. To add buttons to the toolbar, move model elements from the left column to
the right column.
4. Click OK.
The new buttons appear on the tool bar.
3-18
PLM00071 J
By default, projects are backed up to your local computer when you close a
project or shut down the Business Modeler IDE (Enable backup to Local File
System check box), and backed up to the database when you deploy the project
to a server (Enable backup to Teamcenter Database check box).
PLM00071 J
When you close a project or shut down the Business Modeler IDE, execute
the backup using the following dialog box.
3-19
Chapter 3
When you deploy the project to a server, execute the backup using the
following dialog box.
3-20
PLM00071 J
Local backup
The backed-up projects are saved on your hard disk (by default in the
C:\BMIDEProjectBackup directory).
Database backup
a. To locate backed-up project ZIP files in the database, in the rich client
use the BMIDEProjectBackupRecovery saved query.
PLM00071 J
3-21
Chapter 3
In the search results, right-click the project archive file, choose Named
References, select the file, and click Download.
3-22
manage_model_files utility
PLM00071 J
To ensure that you have enough memory to run Eclipse, you can run
the Eclipse.exe command with a virtual memory argument. For
example, the following command increases virtual memory to 2 GB:
Eclipse.exe -vmargs -Xmx2024M
3. To work in the IDE, click the Workbench button in the right side of the Welcome
window.
The Workbench is the main window in Eclipse. The Workbench window shows
one or more perspectives. A perspective is an arrangement of views (such as the
Navigator) and editors. At the top of the Workbench is a toolbar that allows you
to open new perspectives and move between ones already open. The name of the
active perspective is shown in the title of the window.
PLM00071 J
3-23
Chapter 3
Note
4. Examine the BMIDE view in the Standard perspective. This view provides a
centralized location for favorites, data model elements, and project files.
To learn more about the Business Modeler IDE interface, see Orientation to
the Business Modeler IDE interface.
Note
3-24
PLM00071 J
Welcome window
When you first open the Business Modeler IDE after installing it, the Welcome
window is displayed. Click the Upgrade your BMIDE template from a previous
Teamcenter release link in this window to run the import wizard. This imports
your template into the new version of the Business Modeler IDE.
For more information about importing a template, see Import a Business Modeler
IDE template project.
Import wizard
If your template project is not already in the workspace, import it into the new
version of the Business Modeler IDE:
1. Choose FileImport.
2. In the Import dialog box, choose Business Modeler IDEImport a Business
Modeler IDE Template Project.
While importing the project, the Business Modeler IDE automatically
upgrades the project to the new data model format.
For more information about importing a template, see Import a Business Modeler
IDE template project.
Caution
Upgrading the custom template may be part of a larger process when you upgrade to
the latest version of Teamcenter:
1. Import the older project into the latest version of the Business Modeler IDE.
This updates the data model to the latest data model version.
PLM00071 J
3-25
Chapter 3
For more information about the create operation, see the Server Customization
Programmers Guide.
As of Teamcenter 9.1, this create and save pattern requires that any postactions
attached to the create message (operation) should not assume the created objects
are already saved into the database, and any create operation overrides should
not make that assumption either. The create operation override refers to the
override of the create operations (finalizeCreateInput, validateCreateInput,
setPropertiesFromCreateInput, and createPost) on a custom business object.
When a custom template is upgraded to Teamcenter 9.1 or later, the Teamcenter
migration service recognizes all the existing postactions that are attached to any
of the following create messages and adds them into the attached value list of the
Fnd0MigratedPostActions global constant:
AE_create_dataset
ITEM_create
ITEM_create_rev
FULLTEXT_create
GRM_create
You can open the Global Constants Editor to view the attached value list on the
Fnd0MigratedPostActions global constant. The format for an attached value
is as follows:
business-object-name||extension-name||source-message-name||
target-message-name
For example:
Item||autoAssignToProject||ITEM_create||IMAN_save
CAEAnalysisRevision||createDefaultDatasets||ITEM_create||IMAN_save
Dataset||setOrgOnCreation||AE_create_dataset||AE_save_dataset
FullText||setOrgOnCreation||FULLTEXT_create||AE_save_dataset
Thumbnail||CreateTNRelationForIR||GRM_create||IMAN_save
All the create postactions in the attached value list are automatically dispatched
(or executed) as postactions of the save message. In doing so, the create and save
pattern has no impact on the existing create postactions, which continue to work
without mandatory refactoring. It is mandatory that both the new create postactions
3-26
PLM00071 J
and the create operation overrides do not make any database query against the
newly created objects.
You can perform the following procedure to refactor an existing create postaction.
(The refactoring of the create postactions is optional):
1. Upgrade a pre-Teamcenter 9.1 project by choosing FileImportBusiness
Modeler IDEImport a Business Modeler IDE Template Project.
For instructions about upgrading a project, see Upgrade a template project to
the current data model format.
When the project is upgraded, a postaction migration service script is run to
identify the postactions attached to the create messages described previously.
You can find this service listed in the upgrade log. To see the upgrade log, open
the Project Files folder and look in the \output\upgrade folder.
2. Open the Global Constants Editor to view the create postactions added to the
Fnd0MigratedPostActions global constant:
Examine the codes for each create postaction and perform one of the following
actions:
The create postaction does not make any database query against the newly
created objects, and no refactoring is needed.
Use the Global Constants Editor to modify the Fnd0MigratedPostActions
global constant attachment by deleting the attached value corresponding to
the postaction. Once removed from this global constant attachment, the
postaction is then executed as a postaction of the create operation as before.
The create postaction makes a database query against the newly created
objects and can be refactored.
a. Modify the postaction code so that no database query is made against
the newly created objects.
b.
The postaction makes a database query against the newly created objects
but cannot be refactored.
a. Use the Business Modeler IDE to modify the postaction to be attached to
the save message instead of the create message as shown in the following
table. Add the save message to the validity list of the postaction
extension, detach it from the create message, and attach it to the save
message.
PLM00071 J
Old message
New message
ITEM_create
IMAN_save
ITEM_create_rev
IMAN_save
3-27
Chapter 3
Old message
New message
AE_create_dataset
AE_save_dataset
FULLTEXT_create
AE_save_dataset
GRM_create
IMAN_save
b.
ItemRevision-business-object_Maturity_Level
These preferences set the status that an item revision must reach to be
considered mature. These preferences are obsolete and are migrated to values on
the MaturityStatuses business object constant. For example, if your database
had a DocumenRevision_Maturity_Level preference set to the Frozen value,
3-28
PLM00071 J
To find any custom preferences that fit the converted preferences, choose
EditOptionsSearch in the My Teamcenter application in the rich client. If you
find that your database contains at least one of the converted preferences, you must
perform the following steps to migrate the preferences:
1. Use the preferences_manager utility to extract site level preferences from
your current database. This is the database currently in use at your site and
not yet upgraded.
Run the command from the Teamcenter command prompt:
preferences_manager -u=user-name -p=password -g=group
-mode=generatexml -context=Teamcenter
-out_file=c:\temp\exported_preferences.xml
This extracts all the site-level preferences to the specified XML file.
2. In the Business Modeler IDE, choose BMIDEUpgrade ToolsPreferences
Migration Wizard. Click Next.
3. In the Preferences Migration dialog box, perform the following steps:
a. Click the arrow in the Project box to select the project that the preferences
will be migrated into.
b.
Click the Browse button to the right of the Preferences XML File to locate
the output XML file that resulted from running the preferences_manager
utility.
c.
Click Finish.
A project/install/cleanup_preferences.txt file is created that contains the
list of preferences to be deleted from the database. Do not delete this file.
This file must be maintained in your source control. This file is packaged
when you run the Package Template Extensions wizard in the Business
Modeler IDE and is used during the database upgrade to remove the
converted preferences from the database.
In addition, a Project Files/output/upgrade/preferences_migration.log
file is created that contains the migration log.
4. To verify the migration, in the Business Modeler IDE, open the new business
objects that are created by the migration process. Ensure that the Business
Object Constants table contains the new business object constants.
PLM00071 J
3-29
Chapter 3
Note
5. To save the changes to the data model, choose BMIDESave Data Model, or
click the Save Data Model button
on the main toolbar. This saves template
extension files that now contain preferences converted to template elements.
6. Update the customer upgrade script to remove the migrated preferences
from the database during upgrade of the customer database. This step
ensures that when the database is upgraded, the obsolete preferences listed in
cleanup_preferences.txt also get deleted from the database.
a. Open the upgrade_template-name_vversion.default file. If this file does not
exist, create one using your old upgrade_template-name_vversion.default
script as an example.
b.
3-30
PLM00071 J
6. In the Features panel, clear all the check boxes for Business Modeler IDE and
click Next.
7. In the confirmation panel, click Next.
The old version of the Business Modeler IDE is uninstalled.
PLM00071 J
3-31
Chapter
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
4-10
4-10
4-12
4-16
PLM00071 J
4-26
4-26
4-27
4-29
4-29
4-30
4-32
4-33
4-33
4-35
4-37
4-40
4-44
4-44
4-45
4-45
4-46
4-46
4-46
4-51
4-52
4-53
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
4-54
4-54
4-57
4-58
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
4-58
4-58
4-59
4-59
4-67
4-68
4-69
PLM00071 J
PLM00071 J
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 4-99
. 4-99
. 4-99
4-100
4-100
4-101
4-101
4-102
4-102
4-104
4-104
Chapter
Template process
Templates are files that hold data model changes. Following is the general process
for working with templates:
1. Create a template project to hold your custom data model.
For information, see Create a Business Modeler IDE template project.
2. Deploy your template to a test server to verify its behavior.
For information, see Introduction to deploying templates.
3. Package your template for installation to a production server.
For information, see Package extensions into a template.
4. Install your template to a production server.
For information, see Install a template using TEM.
5. Live update the nonschema data model (such as lists of values) on the production
server.
For information, see Introduction to live updates.
PLM00071 J
4-1
Chapter 4
Select the Use default location check box if you want to create the project
under your default workspace.
To find the workspace location, choose FileSwitch Workspace in the
Advanced perspective. For example, on Windows systems, the default
workspace is at install-location\bmide\workspace\. On Linux, users
must have permission to the workspace directory.
If you want to create the project in another location, clear the Use default
location check box and click Browse to choose another location. For example,
if you are using a source control management (SCM) system to manage your
XML source files, you may want to create the project in a location where the
SCM can recognize it.
Caution
c.
Select the Add project to working sets check box if you want to add the
project to a working set that you have already created in Eclipse. (You can
use this option only if you have installed the Business Modeler IDE to an
Eclipse environment.)
d. Click Next.
4-2
PLM00071 J
c.
PLM00071 J
In the Dependent Templates pane, select the boxes for the templates you
want to use in this project, for example, Foundation. (Templates contain the
4-3
Chapter 4
data model for Teamcenter solutions. The Foundation template contains the
data model used for core Teamcenter functions.)
Note
Make sure that you select the same templates that are on the server.
For more information, see Templates installation process. For
information about how to install more templates to the Business
Modeler IDE, see Add a template to a Business Modeler IDE project.
d. Click Next.
Caution
Note
Click Next.
5. If you plan to write code, set up the location of generated source files in the Code
Generation Information dialog box.
For more information about writing code, see Customization methods in the
Business Modeler IDE.
4-4
PLM00071 J
Click the Browse button to the right of the Base Path box to change the
workspace location where the generated code is placed.
To find the workspace location, choose FileSwitch Workspace. For
example, a Windows system, generated code is saved by default to:
install-location\bmide\workspace\
version\project\output\
Select the Folders check box if you want to change names of the folders
to contain generated code.
d. In the Source Folder box, type the name of the folder to contain source files.
The default is src. The source files are where you write business logic.
e.
In the Generate Source Folder box, type the name of the folder to contain
generated source files. The default is gensrc. The generated source files
contain boilerplate code. You should never edit these files.
f.
In the Object Folder box, type the name of the folder to contain binary object
files. The default is obj.
g.
In the Library Folder box, type the name of the folder to contain binary
library files. The default is lib.
The Dispatch Library Name box displays the name of the directory where
generated files are collected. The default is templatedispatch. This directory
is placed under the gensrc directory.
The Copyright box displays the copyright text placed into each generated file.
PLM00071 J
4-5
Chapter 4
i.
Click the arrow in the Number of Allowed Releases before Deletion box to
select how many releases before objects can be deleted from the project.
For more information about releases, see Create a release.
j.
Click Next.
Click the Browse button to the right of the Compiler Home box to select
the location where your C++ compiler is located. For example, if your
platform is Windows and you are using Microsoft Visual Studio, browse
to compiler-install-path\VC.
For information about supported C++ compilers, see the Siemens PLM
Software Certification Database:
http://support.industrysoftware.automation.siemens.com/
4-6
PLM00071 J
certification/teamcenter.shtml
Note
c.
Click Next.
PLM00071 J
4-7
Chapter 4
For instructions about how to create services, see The process for creating services
in the Business Modeler IDE.
Services are Teamcenter actions that can be called by external clients, such as
check in, check out, and so on. Services are used by system administrators to
connect their companys applications to Teamcenter. Client binding files are used
to connect the client to the Teamcenter server and are written in the language of
the client, for example, C++, Java, or .NET.
In the Teamcenter Service Bindings Configuration Information dialog box,
perform the following steps:
a. Click the Browse button to the right of the Teamcenter Services client
kit home box to select the location where the service-oriented architecture
files have been extracted from the soa_client.zip file, for example,
install_location\soa_client.
Note
b.
If you want to create .NET bindings, click the Browse button to the right
of the .NET MSBuild Location box to select the location where Microsoft
.NET is installed.
c.
In the Service binding options area, select the check boxes for the kind
of clients you want to connect to Teamcenter using services. When you
generate service code, the kinds of binding files you select on this dialog
box are created.
Note
4-8
PLM00071 J
Create WSDLs
Create bindings for clients using Web Service Definition Language
(WSDL), an XML-based language that provides a model for creating
Web services.
Resolve all errors before using the Business Modeler IDE. Otherwise,
you may risk extending corrupted data.
If you want to change the project settings later, right-click the project, choose
Properties, and select Teamcenter.
PLM00071 J
4-9
Chapter 4
Deploying templates
Introduction to deploying templates
After you make changes to the data model, you can deploy them to a server using
the Deploy wizard. Choose BMIDEDeploy Template on the menu bar, or select
the project and click the Deploy Template button
on the main toolbar. This is
also known as live update. All your extensions are rolled up from your individual
extension files into a single template and placed in the database.
For more information, see How to deploy a template and Introduction to live updates.
If you are deploying live updates to production servers, you can also use the
Deployment Page by right-clicking a live update template project and choosing
Open Deployment Page.
For more information, see Deployment page.
Use the Deploy wizard in two different situations:
Localizations
Do not use live update to place localization changes on a server.
Doing so could result in the following error:
Error Code: 515062
4-10
PLM00071 J
Business rules
Compound property rules
Deep copy rules
Display rules
Extension rules
GRM rules
ID context rules
Naming rules
Conditions
Options
Changes
ID contexts
Occurrence types
Statuses
Storage media
Tools
Units of measure
View types
Constants
Business object constants
Global constants
Property constants
PLM00071 J
4-11
Chapter 4
If your process requires you to add both schema and nonschema data to
a production server, you must use an SCM system and two Business
Modeler IDE clients. One client should be used for deploying nonschema
data on a regular basis, and the other for maintaining schema data to be
packaged into a installable template. Use the SCM to synchronize both
sets of definitions to update the production system with the installable
template.
If you have codeful customizations, you cannot use live update to a test server
because codeful customizations have libraries. Instead, you must package
your template and install it using Teamcenter Environment Manager (TEM).
For more information, see Coding process and Package extensions into a
template. For instructions about how to install a template using TEM, see
Install a template using TEM.
1. The person performing the deployment should log into Teamcenter and
ensure that the Teamcenter server is running. (This user should be the
only user logged in to the test Teamcenter server.) Also check that the
BMIDE_ALLOW_DEPLOYMENT_FROM_CLIENT preference on the server
is set to TRUE. By default, the preference is set to TRUE to allow deployment.
To access preferences in the My Teamcenter application within the Teamcenter
rich client, choose EditOptions and click Search at the bottom of the Options
dialog box.
2. To save any uncommitted changes to the data model, choose BMIDESave Data
Model, or click the Save Data Model button
For more information about saving your extension work, see Save your changes.
3. On the menu bar, choose BMIDEDeploy Template.
You can also select the project in a view and click the Deploy Template button
on the main toolbar.
4-12
PLM00071 J
Click the arrow in the Server Profile box to choose the server to deploy the
extensions to.
Note
c.
In the User ID box, type the ID of the authorized user on the Teamcenter
server.
d. In the Password box, type the password for the authorized user on the
Teamcenter server.
e.
In the Group box, type the group the user is assigned to (for example, type
dba for the database administration group). This step is optional.
f.
In the Role box, type the role the user is assigned (for example, type DBA for
the database administrator role). This step is optional.
g.
Click Connect.
The Business Modeler IDE client connects to the server.
PLM00071 J
4-13
Chapter 4
Deploying template
h. Select the following check boxes to regenerate cache as part of deployment.
Caution
4-14
PLM00071 J
Warning
Note
Click Finish.
The Deployment to Teamcenter Server dialog box displays the progress of
the deployment.
Deployment progress
When deployment is done, the Deployment Results dialog box displays the
outcome of deployment.
Deployment results
PLM00071 J
4-15
Chapter 4
The Console view displays links to the log files. If there are any deployment
errors, take corrective action and attempt to deploy again.
For more information, see Check the deployment log.
5. Verify the data model changes are in the server by launching the Teamcenter
rich client.
4-16
PLM00071 J
log_files_archive.zip file
Contains all of the business_model_updater and
business_model_extractor logs and the tc_install or tc_upgrade logs
that are created during the deployment.
compare_history_files_archive.zip file
Contains the model*, delta*, model_lang*, and delta_lang* files for this
deployment
PLM00071 J
4-17
Chapter 4
Leave the Use default location check box selected if you want the template
files to be placed in your workspace in the output\packaging folder under
your project.
If you want to set the folder where the template files are stored, clear the Use
default location box, and click the Browse button to the right of the Target
folder box to choose the folder where the template files are to be saved.
4-18
PLM00071 J
Packaging a template
c.
Click Finish.
By default, the template files are saved to the \output\packaging folder.
Note
You can also locate the files in your workspace. To find the workspace
location, in the Advanced perspective, choose FileSwitch
Workspace.
For example, on a Windows system, they are saved by default to:
install-location\bmide\workspace\
version\project\output\packaging
PLM00071 J
4-19
Chapter 4
Packaged files
The following template files are placed in the Project
Files/output/packaging directory:
feature_template-name.xml
This file contains the information necessary for TEM to recognize the
template and how to handle the template for installation and upgrade.
template-name_install.zip
This ZIP file contains all the support files for installing and upgrading
your template, and any data files that were stored in the project/install
folder.
template-name_template.zip
This ZIP file contains the template definitions
(template-name_template.xml), the dependency file
(template-name_dependency.xml), and the optional baseline file
(template-name_tcbaseline.xml.
template-nameBundle_language-code_country-code.xml
This file contains the localized text for the feature file so that TEM can
display the feature description in the localized version.
4-20
PLM00071 J
If you have generated C++ classes or services artifacts, the following files
are added:
template-name_rtserver.zip
This file contains C++ run-time libraries (template-name_rtserver.xml).
template-name_soa_client_kit.zip
This file contains new services.
Web_tier
This folder contains new services Web-tier deployment files for .NET
and J2EE servers.
You should back up your data on a regular basis so that you can restore
it in the event of a template installation failure.
For more information, see Backup and recovery of Business Modeler IDE
data.
1. Copy the template files from the packaging directory on your Business Modeler
IDE client to a directory that is accessible by the server.
By default, packaged template files are located in the Business Modeler IDE
workspace directory in the output\packaging folder under the project. To find
the workspace location, choose FileSwitch Workspace. For example, on a
Windows system, they are saved by default to:
install-location\bmide\workspace\version\project\output\packaging
PLM00071 J
4-21
Chapter 4
7. In the Features panel, click the Browse button on the lower right side of the
panel.
4-22
PLM00071 J
PLM00071 J
4-23
Chapter 4
Note
c.
13. To verify the installation of the new template, confirm that the TC_DATA\model
directory on the Teamcenter server contains the new template files.
Also log on to the server and confirm that you can create instances of your new
data model.
Note
4-24
PLM00071 J
Use the Add/Update Templates for working with the Business Modeler
IDE Client option under Business Modeler only if you want to add or
update a dependent template to your Business Modeler IDE.
7. Click Next
8. In the Teamcenter Administrative User panel, enter your user name and
password to log on to the server. Click Next.
The Update Database panel displays currently installed templates.
9. Click the Browse button to navigate to the directory where the packaged
template files are located. Select the updated feature_template-name.xml file.
Note
PLM00071 J
4-25
Chapter 4
Live updates
Introduction to live updates
Live updates is the revision on a live running system of nonschema data such as lists
of values (LOVs) that requires frequent update. The live updates functionality in
the Business Modeler IDE allows an administrator to revise data in the production
database without shutting down the production server. It also provides tighter
control on which elements get updated live in a production database.
Use one of the following processes to update live data:
Single administrator
Use this process if you are a single administrator who makes live updates
and distributes them to servers. In this process, make your updates on a
preproduction server before sending the updates to production servers. This
process is recommended in most situations.
For steps in the process, see Live update process: single administrator.
Multiple administrators
Use this process if you have multiple administrators who make live updates and
distribute them to servers. In this process, there is no preproduction server.
4-26
PLM00071 J
For steps in the process, see Live update process: multiple administrators.
Caution
PLM00071 J
Prevalidate updates.
4-27
Chapter 4
4-28
PLM00071 J
PLM00071 J
4-29
Chapter 4
6. If other sites also require the data updates you have created, such as vendors or
partners, you can package the template and send it to each site so the updates
can be installed using Teamcenter Environment Manager (TEM).
For more information, see Package a live update project for installation to other
sites.
7. In the developer environment, incorporate the latest live updates from the
production site by running the Incorporate Latest Live Update Changes wizard.
For more information, see Incorporate latest live updates.
Enable a template for live updates and deploy it
You must create a Business Modeler IDE template project and install it to the server
before you create a live updates project. The Business Modeler IDE template project
holds the schema data such as business objects and classes that can only be installed
to a production server in a template using Teamcenter Environment Manager
(TEM); the live updates project contains the nonschema elements such as LOVs and
rules that can be installed to a production server using live update.
1. Create the Business Modeler IDE template project.
a. Choose FileNewProject.
b.
For more information about how to create a Business Modeler IDE template
project, see Create a Business Modeler IDE template project.
2. Enable the Business Modeler IDE template project for live updates.
a. Right-click the Business Modeler IDE template project, choose Properties,
and choose TeamcenterBMIDE.
b.
In the BMIDE dialog box, select the Enable Live Updates? check box.
This specifies that the Business Modeler IDE template project can have
a live updates project created in conjunction with it. This option must be
selected to enable the creation of a live updates project.
Note
c.
4-30
This check box is selected by default when you create a new template
project.
Click OK.
PLM00071 J
If you want to distribute this template later to a site that you do not
want to be able to receive live updates, clear the Enable Live Updates?
check box. For example, to distribute this template to a supplier who
should not receive live updates, provide this template with the box
cleared. You may also have some servers in your company that should
not receive live updates, and in these situations, you can clear this box
and then install the template to those servers.
Test server
If you are installing to a test server only, choose BMIDEDeploy Template
on the menu bar.
For more information about deploying templates, see How to deploy a
template.
Production server
Package the template and install it using Teamcenter Environment Manager
(TEM).
For more information, see Package extensions into a template. For
instructions about how to install a template to a production server, see
Install a template using TEM.
PLM00071 J
4-31
Chapter 4
4-32
PLM00071 J
Note
When incorporating live updates from a production site, before you extract
the latest live updates, it is a good practice to first block anyone from making
any more live updates to ensure you get the latest. Do this by clearing the
Allow Live Updates? check box in the Live Update preference dialog box
in the rich client at the production site. After you finish incorporating the
updates, select the Allow Live Updates? check box again.
When you select the Allow Live Updates? check box, it sets the
BMIDE_ALLOW_LIVE_UPDATES preference to true.
For more information, see the Preferences and Environment Variables
Reference.
Install the Business Modeler IDE client for the live updates administrator
The Business Modeler IDE must be installed for the live updates administrator on a
machine with a minimum of 4 GB of RAM. This is to accommodate incorporating live
data changes. If there is less than 4 GB of RAM, performance when incorporating live
data changes is degraded significantly, or the incorporation may not complete at all.
1. Install the Business Modeler IDE on a machine with a minimum of 4 GB of RAM.
For more information about installing the Business Modeler IDE, see
Introduction to installing the Business Modeler IDE.
2. Allocate memory to the Business Modeler IDE using the Xmx setting in the
BusinessModelerIDE.ini file.
For more information, see Allocate memory to the Business Modeler IDE.
Caution
PLM00071 J
4-33
Chapter 4
In the User ID box, type the administrator user name authorized for server
access.
c.
In the Password box, type the administrator password for server access.
d. In the Group box, type the group name of the administrator user (optional).
e.
In the Role box, type the role name of the administrator user (optional).
f.
Click Connect.
The Business Modeler IDE client connects to the server.
g.
If there is only one template on the server that is enabled for live updates,
the Next button is unavailable. Click Finish.
h. If there are multiple templates on the server enabled for live updates, click
Next.
Click the arrow in the Template Name box to select the template to use
for live updates.
Click Finish.
The project is created and named template-name_live_update.
4-34
PLM00071 J
Note
If a live update project with the same name already exists, a number
is appended to the name of the new live update project (for example,
template-name_live_update1).
Note
PLM00071 J
Type the password, click the Connect button, and when a connection is
established, click Finish.
4-35
Chapter 4
Deploying a template
Note
c.
The system checks if the live update project is synchronized with the
server. If there is data on the server that is not in the live update
project, the Synchronize wizard runs, allowing you to resolve the
conflicts.
See the links to the logs in the Console view to verify the success of the
update.
d. To verify the live update, log on to the preproduction server and confirm that
you can create instances of your newly revised data model.
4. Deploy to production servers.
a. After you finish testing and are ready to deploy to the production servers,
choose BMIDELive UpdateDeployment Page or right-click the live
update project and choose Open Deployment Page.
Deployment Page
4-36
PLM00071 J
b.
c.
To verify the live update, log on to a production server and confirm that you
can create instances of your newly revised data model.
Note
To see the data changes, end users must log off and log on again and
wait for servers to cycle through the changes.
For more information, see Make live updates visible to end users.
Click the arrow in the Project box to select the live update project to package.
Click Finish.
The packaged files are saved in the /output/packaging/live_update folder.
Packaged files are placed in timestamped folders to keep track of packages.
The most recent package is in the top folder.
PLM00071 J
4-37
Chapter 4
Packaged files
2. Copy the template-name_template_live_update.zip file from the packaging
directory on your Business Modeler IDE client to a directory that is accessible
by the administrators at other sites.
Note
3. Administrators at other sites perform the live update by installing the live
updates using TEM. In this scenario, TEM has already been used to install the
template that the live updates are intended for.
a. Start Teamcenter Environment Manager (TEM).
b.
c.
4-38
PLM00071 J
Click Next
g.
In the Teamcenter Administrative User panel, type your user name and
password to log on to the server. Click Next.
The Update Database panel displays currently installed templates.
Select the template in the table to receive live updates and click Next.
j.
The system checks if the live update project is synchronized with the
server. If there is data on the server that is not in the live update
project, the update fails. You must synchronize the data model from
the Business Modeler IDE, repackage, and attempt the update once
more.
For more information about synchronization, see Synchronize data
model.
If installation of the live updates fails, check the message in the
TEM panel. Installation may have failed because the server
you are attempting to install to does not have the Live Update
preference set to accept live changes. In this case, you must ask the
administrator of that production server to change the preference to
accept the live updates.
PLM00071 J
4-39
Chapter 4
To see the live data changes, end users must log off and log on again,
and wait for servers to cycle through the changes.
For more information, see Make live updates visible to end users.
Under Database Site, select the mode to provide the data model:
Teamcenter Server
Select if you want to incorporate all the custom live updates data model
on a server into your project.
This option accesses the server directly to obtain the templates from
the server.
4-40
PLM00071 J
Note
This packages all data model in the template, including all the
live updates in the template.
c.
Click Next.
e.
If you selected Teamcenter Server, in the dialog box, type your user
name and password and click Connect to log on to the server.
If you selected Live Update Zip, click the Browse button to the right of
the Template Zip box to locate the packaged templates ZIP file.
Click Next.
The system checks if the live update project is synchronized with the server.
If there is data on the server that is not in the live update project, the Merge
Data Model wizard runs, allowing you to resolve the conflicts.
Caution
PLM00071 J
4-41
Chapter 4
3. In the Merge Data Model dialog box, resolve any conflicts that the merge compare
identified between the data model in your target project and in the source.
Note
Because there are many different scenarios you may encounter when
performing a merge, samples are provided in the Merge Samples wizard.
For tutorials, choose BMIDEMerge Samples.
For more information, see Merge samples.
If multiple database sites are merged into your project, verify them by
viewing the Incorporated Database Site Information dialog box on the
project properties. Right-click the project, choose Properties, and in
the left navigation pane, choose TeamcenterIncorporated Database
Site Information.
The Incorporated Database Site Information dialog box displays the IDs,
names, and the deploy consistency stamp for the merged sites. (To see a
sites ID, use the Organization application in the rich client.)
For more information about project properties, see View Business
Modeler IDE template project properties.
5. Once you incorporate live update changes, you must perform a full model update.
a. Package your template by choosing BMIDEPackage Template Extensions.
b.
4-42
PLM00071 J
c.
f.
Click Next
h. In the Teamcenter Administrative User panel, type your user name and
password to log on to the server. Click Next.
The Update Database panel displays currently installed templates.
PLM00071 J
i.
Click the Browse button to navigate to the directory where the packaged
template files are located. Select the updated feature XML file.
j.
Click Next.
4-43
Chapter 4
TEM verifies that your template package contains the latest live
updates that were performed on the production environment. If the
template package does not contain the updates, TEM blocks the
update and advises you on the actions to take. This is to protect you
from inadvertently deleting the administrator updates.
4-44
PLM00071 J
on the toolbar.
The Merge Data Model wizard displays the differences between your Business
Modeler IDE and the database.
For more information, see Synchronize data model.
2. Review the changes and resolve any conflicts that the merge compare identified
between the data model in your target project and in the source. To automatically
perform the merge, click the Auto Merge button.
Note
Because there are many different scenarios you may encounter when
performing a merge, samples are provided in the Merge Samples wizard.
For tutorials, choose BMIDEToolsMerge Samples.
For more information, see Merge samples.
PLM00071 J
4-45
Chapter 4
Incorporate the latest live updates from the production sites using the
package_live_updates utility
At the next system downtime, you must incorporate all of the latest live updates
from the production environment into the developer environment. Use the
package_live_updates utility to generate the template package file from each
administrators server site. If you do not do this, Teamcenter Environment Manager
(TEM) prevents you from making a system update to each of the sites that you
omitted from the latest live updates.
1. At each site, run the package_live_updates utility, for example:
package_live_updates -u=jsmith -p=jsmithpassword -g=dba
-template=testproject -dir=d:\scratch
This packages all data model in the template on the server, including all the
live updates in the template.
2. Incorporate changes from each resulting packaged template one by one, using
the Incorporate Latest Live Update Changes wizard. Select the Live Update Zip
option to select the packaged template file.
For more information, see Incorporate latest live updates.
Internal name
Description
Alias ID Rule
TcAliasIdRule
Alternate ID Rule
TcAlternateIdRule
Application Extension
Point
TcAppExtensionPoint
Application Extension
Rule
TcAppExtensionRule
4-46
PLM00071 J
Display name
Internal name
Description
Business Context
TcBusinessContext
Change
TcChange
Represents an alteration to
requirements.
Condition
Condition
TcDeepCopyRule
Display Rule
TcTypeDisplayRule
EDADerivedDataConfig
Global Constant
TcGlobalConstant
PLM00071 J
4-47
Chapter 4
Display name
Internal name
Description
TcGlobalConstantAttach
GRM Rule
TcGRMRule
ID Context
TcIdContext
IRDC
IRDC
Localization
Localization
LOV
TcLOV
Naming Rule
TcNamingRule
Note Type
4-48
TcNoteType
PLM00071 J
Display name
Internal name
Description
Occurrence Type
TcPSOccurrenceType
Print Configuration
PrintConfiguration
Property Constant
TcPropertyConstant
TcPropertyConstantAttach
TcRevNamingRule
Status
TcStatus
Storage Media
TcStorageMedia
System Stamp
Configuration
SystemStampConfiguration
Teamcenter Component
Teamcenter Component
PLM00071 J
4-49
Chapter 4
Display name
Internal name
Description
Tool
TcTool
Represents a software
application, such as Microsoft
Word or Adobe Acrobat. Associate
a tool with a type of dataset so
you can launch the dataset file
from Teamcenter.
Verification Rule
VerificationRule
View Type
TcViewType
Unit of Measure
TcUnitOfMeasure
Following are the elements that should never be used in live updates:
BusinessObjectInterface
ExternalDataType
Library
MetaEnum
MetaExternalException
Operation
OperationAttach
OperationInputType
OperationTemplate
PrimitiveDataType
PropertyOperation
Release
ServiceInterface
ServiceLibrary
Struct
TcAppInterface
TcApplication
TcAttribute
TcAttributeAttach
TcClass
TcCompoundPropertyRule
TcDataset
TcDatasetReferenceAttach
TcDatasetToolActionAttach
TcDatasetToolAttach
TcExtension
TcExtensionAttach
4-50
PLM00071 J
TcForm
TcIntDataCapture
TcItemElement
TcLink
TcLOVAttach
TcNoteType
TcObjectTypeAttach
TcOperation
TcOperationAttach
TcPropertyAttach
TcPropertyRule
TcRelationProperty
TcRuntimeProperty
TcRuntimeType
TcStandardType
TcStructureContext
TcUserExitGroup
TcValidationData
TcViewTypeAttach
TemplateDataType
Typedef
Synchronize data model
Synchronize the data model to ensure your live update project and dependent
templates have the most up-to-date data model.
1. Select the project to be synchronized and choose BMIDELive
UpdatesSynchronize with Server, or click the Synchronize button
toolbar.
on the
PLM00071 J
If the preference is set to Show Merge Tool only for conflicts that need my
resolution, if there are no change conflicts, all elements of the data model
are automerged, and the Merge wizard is not shown. If there are change
4-51
Chapter 4
conflicts, all other elements except for the change conflict elements are
automerged, and the Merge wizard is shown.
For more information about the synchronization preferences, see Set data
model merge and compare preferences. For information about how to run the
Incorporate Latest Live Update Changes wizard, see Incorporate latest live
updates.
Set data model merge and compare preferences
To ensure that your live update project has all the latest custom live updates
elements, choose BMIDELive UpdatesIncorporate Latest Live Update Changes
to run the Incorporate Latest Live Update Changes wizard. You can also select the
project to be synchronized and choose BMIDELive UpdatesSynchronize with
on the main toolbar. The Incorporate
Server or click the Synchronize button
Latest Live Update Changes wizard displays differences between your live update
project and what is in the database.
Perform the following steps to set preferences for the Incorporate Latest Live Update
Changes wizard:
1. Choose WindowPreferences.
2. In the Preferences dialog box, choose TeamcenterData Model Merge /
Compare Tool.
4-52
PLM00071 J
are automatically merged when the wizard runs. If the check box is cleared, no
merges are done when the wizard is launched.
4. In the Color Picker pane, select the following options:
a. User action required
Displays this color when the user must manually perform a merge action.
The default color is red.
b.
c.
Merged
Displays this color when a merge action has been performed. The default
color is blue.
b.
PLM00071 J
4-53
Chapter 4
caches are not updated. Administrators ask users to log off and log on again to see
the changes so that a new cache is built.
In four-tier environments, administrators can use the server manager to restart
servers at off-peak hours to ensure all live update changes are reflected in servers.
On J2EE consoles, a system administrator can facilitate warm server refresh. (This
is not available on .NET.)
1. Launch the server manager.
2. Navigate to the Description of Change_Pool-Specific_Configuration section of
the pool manager.
3. In the Parameter Name box, type PROCESS_WARM, and in the Parameter
Name box, type 0.
This clears the warm servers.
4. Click the Change Pool-Specific Configuration button.
The parameter is updated.
5. In the Parameter Name box, type PROCESS_TARGET, and in the Parameter
Name box, type the time and number of assigned servers, for example, 0700 3,
1700 2.
6. To verify that the changes are made, click the view the values of
Pool-Specific_Configuration link in the List of MBean attributes table.
7. Wait for the manager to get rid of the warm servers and restore
PROCESS_WARM and PROCESS_TARGET to desired values.
For more information about using the server manager, see the System Administration
Guide.
Package live updates in the database
Run the package_live_updates utility to package data model for a template that
resides on the server. The template package file that is created includes all the live
updates in the template. This is similar to packaging a template within the Business
Modeler IDE, but this utility is run on the Teamcenter server. This utility can only
be run on a template that is enabled for live updates deployment.
For example:
package_live_updates -u=user-id -p=password -g=group
-template=template-name -dir=directory
After running this utility, you can merge the live updates that the template contains
into a template on your system by running the merge wizard.
For more information, see Incorporate latest live updates.
Study the merge samples
To become familiar with merge scenarios, study the merge samples. Choose
BMIDEToolsMerge Samples.
4-54
PLM00071 J
Automerge
Click the Auto Merge button to let the tool merge all changes for you. Merged
(changed) elements display a light-blue background for easy identification.
PLM00071 J
4-55
Chapter 4
Before automerge
4-56
PLM00071 J
After automerge
Stepping
Click the forward and backward arrows to step through each change.
Filtering
To see only the rows where there are differences, click the Display Equal Rows
button so that it is not selected. This is a toggle button. When it is not selected,
only rows with different values are shown. When it is selected, all rows are
shown, including all those with equal values.
PLM00071 J
4-57
Chapter 4
<fscgroup id="mygroup">
<fsc id="FSC_MYHOST_usermywork" address="http://MYHOST:4544"
ismaster="true">
<volume id="00f34da72a9e826b7aa8" enterpriseid="-2106885464"
root="d:\Siemens\myworkshop\volume1" priority="0" />
<transientvolume id="63ae660c47df33be2d024a346fe4512c" enterpriseid="-2106885464"
root="C:\\Temp\\transientVolume_mywork" />
</fsc>
<clientmap subnet="127.0.0.1" mask="0.0.0.0">
<assignedfsc fscid="FSC_MYHOST_usermywork" priority="0" />
</clientmap>
</fscgroup>
3. Launch Teamcenter Environment Manager (TEM) for site A and in the Feature
Maintenance panel under FMS Server Cache, select Modify FMS Master Imports
and click Next.
4. On the FSC Service: Additional Sites page, click the Add button and add the
information for site B (the enterprise ID, the FSC ID, the host and port that you
noted in the previous step). Keep the priority set at 0.
5. Complete the process and restart the FSC service for site A.
6. Repeat the steps for site C:
a. Open the fmsmaster*.xml file for site C.
b.
Obtain the enterprise ID, the FSC ID, the host and port values.
c.
Merge samples
To access merge samples, choose BMIDEMerge Samples.
Browse through the list of available samples to learn how to use the merge tool.
Note that these are only samples. Clicking the Finish button has no effect on your
data model.
4-58
PLM00071 J
Deleting projects
To stop working with a project, Siemens PLM Software recommends that you close
the project by right-clicking it and choosing Close Project.
However, if you want to remove the project altogether, Siemens PLM Software
strongly recommends you back up the project files first to ensure they are archived. A
project contains the master definitions for any data model created with the project,
and if you delete a project, those master definitions are gone for good.
After you archive the project files, you can delete the project. Right-click the project
and choose Delete. If you need to use an archived project again, you can import it.
For more information, see Import a Business Modeler IDE template project.
In the Prefix box, you can change the naming prefix for new objects created
in the template.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
Caution
c.
The GUID box shows the globally unique identifier (GUID) automatically
assigned to this project. You cannot change this value.
d. Select the Enable Live Updates? check box to specify that the Business
Modeler IDE template project can have a live updates project created in
conjunction with it. This option must be selected to enable the creation of a
live updates project.
For more information, see Enable a template for live updates and deploy it.
PLM00071 J
4-59
Chapter 4
e.
Select the Make Description Mandatory? check box to make the Description
box required when creating new data model elements in the Business
Modeler IDE.
f.
In the Template description box, you can change the description of the
template that appears in Teamcenter Environment Manager.
g.
In the Dependent templates directory box, you can change the directory
where the base templates are read from. These are the templates on top of
which you are adding your custom template.
Note
h. In the Dependent Templates pane, you can choose the templates used to
provide the data model for the project.
4-60
PLM00071 J
Click the Browse button to the right of the Compiler Home to select
the location where your C++ compiler is located. For example, if your
platform is Windows and you are using Microsoft Visual Studio, browse
to compiler-install-path\VC.
For information about supported C++ compilers, see the Siemens PLM
Software Certification Database:
http://support.industrysoftware.automation.siemens.com/
certification/teamcenter.shtml
Note
c.
PLM00071 J
In the tabs at the bottom of the Build Configuration dialog box, you can
change the compiler commands for the platform you are working on. To
restore the commands to the original default settings, click the Restore
button.
4-61
Chapter 4
If you want to create .NET bindings, click the Browse button to the right
of the .NET MSBuild Location box to select the location where Microsoft
.NET is installed.
c.
In the Service binding options area, select the check boxes for the kind
of clients you want to connect to Teamcenter using services. When you
generate service code, the kinds of binding files you select in this dialog
box are created.
Note
4-62
PLM00071 J
Create bindings for managed C++ clients that use Microsofts C++ syntax
and language for the .NET Framework.
Create WSDLs
Create bindings for clients using Web Service Definition Language
(WSDL), an XML-based language that provides a model for creating
Web services.
Rich Client dependent Jar files (This option only appears when you edit
project properties.)
Add external component rich client JAR files as dependents. Separate
the file names with a semicolon ( ; ).
PLM00071 J
4-63
Chapter 4
Click the Browse button to the right of the Base Path box to change the
location where the generated code is placed.
By default, the generated code is placed in your workspace in a
project\output\ directory. To find the workspace location, choose FileSwitch
Workspace. For example, on a Windows system, generated code is saved
by default to:
install-location\bmide\workspace\version\project\output\
After you create the project, you can generate code by right-clicking a
business object in the Business Objects folder and choosing Generate Code.
To see the generated files, open the Project Files\output folder under your
project.
For more information, see Introduction to generating boilerplate code.
c.
Select the Folders check box if you want to change names of the folders
to contain generated code.
A. In the Source Folder box, type the name of the folder to contain the
source files where you write business logic. The default is src\server.
B. In the Generate Source Folder box, type the name of the folder to
contain generated source files. The default is output\server\gensrc.
C. In the Object Folder box, type the name of the folder to contain built
binary object files. The default is output\server\obj.
D. In the Library Folder box, type the name of the folder to contain built
library files. The default is output\server\lib.
d. The Dispatch Library Name box displays the name of the directory where
generated files are placed. The default is template-namedispatch. This
directory is placed under the gensrc directory.
e.
The Copyright box displays the copyright text placed into each generated file.
f.
Select the Enable Deprecation Policy check box to allow for removal of
obsolete objects from the project. Deprecation means announcing that
something is no longer supported and that it will be removed in a future
product release.
For more information about deprecation, see Deprecating objects.
g.
4-64
Click the arrow in the Number of Allowed Releases before Deletion box to
select how many releases before objects can be deleted from the project.
PLM00071 J
PLM00071 J
4-65
Chapter 4
incorporate the latest through one of the two options (directly from the server or
through a package file). When you deploy from your development environment,
Teamcenter Environment Manager (TEM) validates that your template includes
the latest updates. This is done through consistency stamp tracking.
For each live update, a new consistency stamp (CS) is updated in the production
database. When you use the Incorporate Latest Operational Data Changes
wizard from the development Business Modeler IDE to incorporate the
operational data updates from the production database, the wizard also takes a
snapshot of the consistency stamp and stores it with the Business Modeler IDE
template in the development environment. For each site you incorporate, you
can see the site name, operational deploy consistency stamp, and date updated
on the Incorporated Database Site Information dialog box.
You can compare the consistency stamp in the Business Modeler IDE to the
consistency stamp in the database site by extracting a report using a command
prompt at the database site:
bmide_manage_templates u=username p=password -g=dba option=list
4-66
b.
c.
Select the Include output folder contents check box to back up the contents
of your projects output folder.
PLM00071 J
PLM00071 J
4-67
Chapter 4
6. In the Business Modeler IDE Client panel, click the Add button to select
standard Teamcenter templates.
To select your own templates (for example, from a vendor) click the Browse
button and locate the directory where the template files are located. (For
example, the standard Siemens PLM Software templates are located in the
installation source in the tc directory.)
Click Next.
7. In the Confirmation panel, click Next.
The new templates are installed to the Business Modeler IDE templates folder.
8. To add the new templates to your project, perform the following steps in the
Business Modeler IDE:
a. Right-click the project and choose Properties.
The Properties dialog box appears.
b.
c.
d. Click OK.
For more information about changing project properties, see View Business
Modeler IDE template project properties.
3. To add a new group under the Extensions group to hold the new feature:
a. Navigate to where TEM is installed: install-location\install\install.
b.
c.
Edit the new group file to create a new group name, for example:
<group>
<name>My Group</name>
4-68
PLM00071 J
<group>package</group>
<bundle>TcBundle.xml</bundle>
</group>
Select the Use default location check box if you want to generate the
template files in the default reference directory.
Clear the Use default location check box if you want to create the template
files in another directory, and click the Browse button to the right of the
Target folder box to choose the directory.
c.
Click Finish.
The template files are created in the indicated directory.
3. Right-click the project you want to work on and choose Reload Data Model. This
reloads all data model elements from the project source and the templates in the
reference directory. Check the console for any conflicts and resolve them.
Now you can create a project that builds on top of this new template.
For instructions about how to create a project and point to the reference directory,
see Create a Business Modeler IDE template project.
PLM00071 J
4-69
Chapter 4
Templates reference
Templates overview
A template is a container that holds all of the Business Modeler IDE data model
definitions for a specific customer, site, industry, or application. A template data
model is comprised of schema, business objects, business rules, and configuration
definitions.
Teamcenter has a base template called foundation that contains all of the core
definitions to run the default Teamcenter corporate server installation. The
foundation template is required at a minimum when installing Teamcenter.
Additional templates with their own data model can be installed on top of the
foundation template to create a more robust system. In effect, all of the definitions
in each installed template are combined to give the customer the net result of all
data model extensions in one system (for example, all classes, attributes, business
objects, business rules, LOVs, and so on).
A template can have dependencies. Each new template must declare at a minimum
that it is dependent on the foundation template, and can also declare additional
dependencies on other templates. If a template is dependent on other templates,
TEM ensures during the installation of the template that all other dependent
templates are installed before your template is added to the database.
Template name
This is the name of the template. The name must be a globally unique name that
identifies the template. The name must consist of letters or digits and must be
all lowercase. This name can be a total of 180 character length. When coming up
with a template name, you should choose a descriptive name.
4-70
PLM00071 J
This is the displayable name of the template. This name is displayed to the users
of TEM when picking templates to install. The name can consist of characters,
digits, and spaces, and can use a mixture of uppercase and lowercase letters.
The name should be globally unique so as to identify your template from others
in TEM.
Template description
This is the description that appears in Teamcenter Environment Manager for
this template.
After the Business Modeler IDE first loads the dependent extensions, each of
your template extension definitions is loaded and validated against the existing
model. If any validation errors occur, they are displayed in the Console view
in the Business Modeler IDE.
You can also to load and validate your model using the Reload Data Model menu
command (available in most views within the Business Modeler IDE).
This validation tool becomes very important to you whenever you add a template
dependency, manually edit a source file during a SCM merge from another user, add
a new version of the dependent templates, or upgrade to the next release. Whenever
any of these conditions occur, you should right-click in a Business Modeler IDE
view and choose the Reload Data Model command to reload your model and have
it validated. If no errors occur, then you can be sure that your template can install
correctly into a server.
PLM00071 J
4-71
Chapter 4
4-72
PLM00071 J
Source files
Source files are XML files that contain the template extensions to the data
model and business rules. The definitions can be saved into any source file. The
Business Modeler IDE can load definitions in any order.
The user of the Business Modeler IDE can determine the number of source
files, the file names, and structure. Subdirectories can also be created under the
extensions directory to suit the needs of the template developers.
If developers use an SCM and two or more of them change a file in their own
SCM branch, they must manually merge the XML changes. It is suggested
that more source files are better than one. Developers should spread out their
definitions into different files based on functionality or business objects, or any
developer defined organization. Spreading out definitions makes it easier to
manage file changes and avoid merge conflicts with files if there is more than
one developer working on a template.
dependency.xml
The dependency.xml file contains the following:
o
The optional flag indicates if the template is optional for Teamcenter. Only the
foundation template is required (optional=false). All other templates are
optional (optional=true).
master.xml
The master.xml file is a specialized XML file. This file contains the master
include list of all XML source definition files for your template project.
The order of the files does not matter because the Business Modeler IDE can
load definitions in any order. However, the Business Modeler IDE loads faster if
the definitions are in order of dependency. For example, if Class2 is parented
under Class1, Class1 should be defined before Class2.
Feature file
A feature file is used to present your template as a choice in TEM for install and
upgrade. All templates must be installed through a feature file. A feature file
PLM00071 J
4-73
Chapter 4
Bundle file
The bundle file is used to provide localizable strings for your TEM feature file.
Typically this file includes the description for your template feature.
For more information, see Bundle file.
Installation script
The installation file is required for each template feature. The installation
file contains a set of ordered commands that installs your template into a
Teamcenter server.
For more information, see Installation file.
Upgrade scripts
The upgrade files assist TEM with upgrading your template. Each template can
provide upgrade scripts, but they are not required. They are only required if you
have additional objects to be installed beyond what is managed inside your
template (for example, process templates). If you do need an upgrade script, a
separate script must be provided for each version of upgrade that is supported.
For more information, see Upgrade file.
Output directory
The output directory is a directory where files are generated from the template
source code. Typically the files in this directory do not need to be placed under
control of an SCM because they would be potentially different for each user.
deploy directory
When the deploy wizard is used, the Business Modeler IDE consolidates all
of the individual sources files into a template and places the template and
dependency files in this directory before it sends it to the server for processing.
For more information, see Introduction to deploying templates.
merges directory
This directory contains data on data merged into the project from the database
during live updates.
For more information, see Incorporate latest live updates.
packaging directory
The packaging directory is used by the Package Template Extensions wizard.
The wizard places the template into a package that is then used by TEM to
install or upgrade the template on a server.
For more information, see Package extensions into a template.
4-74
reports
PLM00071 J
tcplmxml directory
This directory is used by Global Multi-site to generate the TC XML file based on
the model in the Business Modeler IDE.
For more information, see Export a TC XML schema file.
upgrade
This directory contains files related to upgrading the template project to the
most recent version of the Business Modeler IDE.
For more information, see Upgrade a template project to the current data model
format.
.project file
This file is used by the Business Modeler IDE and contains specific information about
the type of template project the directory contains. Without this file, the Business
Modeler IDE cannot recognize this directory as a template project directory.
ProjectInfo.xml file
The ProjectInfo.xml file contains additional project information, such as settings
used for building and compiling. To see the project information that is placed in this
file, right-click the project and choose Properties, and then choose Teamcenter in the
left pane of the Properties dialog box.
PLM00071 J
4-75
Chapter 4
Teamcenter
Test Server
Templates are
added to:
Teamcenter
Environment
Manager
(Templates on the
server and the
Business Modeler
IDE must match)
TC_DATA\model
Business
Modeler IDE
Templates are
added to:
bmide\templates
4-76
PLM00071 J
Teamcenter
Test Server
Templates are
added to:
Teamcenter
Environment
Manager
(Templates on the
server and the
Business Modeler
IDE must match)
TC_DATA\model
Business
Modeler IDE
Templates are
added to:
bmide\templates
c.
In the Features panel, select the template, or click Browse to locate the
template.
Note
2. Perform the following steps to install a new template to the Business Modeler
IDE:
a. Run the Teamcenter Environment Manager and proceed to the Feature
Maintenance panel.
b.
Select Add/Update Templates for working within the Business Modeler IDE
Client and click Next.
c.
In the Business Modeler IDE Client panel, click Add to add a standard
Teamcenter template, or click Browse to locate a custom template.
d. Perform the following steps in the Business Modeler IDE to add the new
template to your project:
A. Right-click the project and choose Properties.
B. Choose TeamcenterBMIDE in the left pane.
PLM00071 J
4-77
Chapter 4
Business
Modeler IDE
Template is
deployed from:
project\output
\deploy
Connection
Profile
2-tier or
4-tier
Teamcenter
Test Server
Template is
added to:
TC_DATA\model
\delta.xml
Business
Modeler IDE
Packaged template
is taken from:
Teamcenter
Environment
Manager
project\output
\packaging
Teamcenter
Production
Server
Template is
installed to:
TC_DATA\model
2. Copy the template files to a directory that is accessible by the production server.
3. In Teamcenter Environment Manager on the production server, proceed to the
Feature Maintenance panel.
4-78
PLM00071 J
When the administrative user selects the Corporate Server option, TEM does the
following:
1. Copies the feature file to the TC_ROOT/install/module directory.
2. Copies the bundle file to the TC_ROOT/install/install/lang/lang directory
3. Unzips the contents of the foundation_template.zip file to the
TC_ROOT/install/foundation directory.
4. Unzips the contents of the foundation_install.zip to the
TC_ROOT/install/foundation directory.
5. Creates a TC_ROOT/model directory.
6. Creates a TC_DATA/model/baselines directory.
7. TEM executes the <pre-install> and <install> sections of the Foundation
feature file, which does the following:
a. Copies the foundation_template.xml and foundation_dependency.xml
files from the TC_ROOT/install/foundation directory to TC_DATA/model
directory.
b.
c.
PLM00071 J
4-79
Chapter 4
e.
f.
g.
4-80
b.
c.
PLM00071 J
f.
g.
PLM00071 J
4-81
Chapter 4
wizard knows that all four files are located together and copies them into the
TC_ROOT directory accordingly:
feature_template-name.xml
template-nameBundle_language-code_country-code .xml
template-name_template.zip
template-name_install.zip
Upgrading from release to release
TEM can upgrade any template that is already installed in Teamcenter. Upgrade
means synchronizing the data model definitions in a server to the latest template
definitions in the new release. When a user initiates an upgrade through TEM, TEM
upgrades all previously installed templates at one time. Any templates that the user
wants to add in addition to the ones that already exist in the database must be
added after the upgrade is completed.
TEM automatically determines the templates that must be upgraded and preselects
them in the TEM features panel. The autoselected features are checked but disabled
so that the user can not unselect them. TEM has two provisions for ensuring that
it selects the correct template features:
Teamcenter 2007
If your feature template was installed in Teamcenter 2007, TEM required that
all features must have their own globally unique ID (GUID). When TEM installs
a feature, it tracks the GUID for each feature. Later, during an upgrade, TEM
matches the installed GUIDs and finds the corresponding features and forces
them to be upgraded.
The following example describes how TEM upgrades both the Foundation and tcae
templates.
The Foundation and tcae templates are packaged on the installation source as
follows:
Foundation
install/modules/feature_base.xml
install/lang/en/TcBundle_language-code_country-code.xml
tc/foundation_template.zip
tc/foundation _install.zip
tcae
install/modules/feature_tcae.xml
install/lang/language-code/tcaeBundle_language-code_country-code.xml
tc/tcae_template.zip
tc/tcae _install.zip
4-82
PLM00071 J
When the administrative user upgrades a Teamcenter installation, TEM does the
following:
1. For each selected template, TEM performs the following:
a. Copies the feature_template-name.xml file to the TC_ROOT/install/module
directory.
b.
c.
c.
c.
PLM00071 J
4-83
Chapter 4
classes and attributes of the two models, and writes a delta.xml file that
contains the differences between the two models.
Note
f.
g.
4-84
PLM00071 J
j.
About upgrade_runner
During the previous steps the upgrade_runner gives each template an opportunity
to hook in optional utilities to create additional data or migrate data. The runner
checks each upgrade_ template-name_version.default file to see if it has any
utilities in the appropriate section. Seven sections are provided so that each
template can add data or migrate data at specific segments in the upgrade.
For a complete description of these hook points, see Upgrade file.
About baseline files
The Business Modeler IDE XML template functionality is introduced in Teamcenter
2007. The Business Modeler IDE XML templates contain an exact XML specification
of all Business Modeler IDE related definitions that should be installed into a
database. Before this time, there were no XML definitions, and all data model objects
were loaded by utilities and PLM XML files.
As of Teamcenter 2007, the new XML template definitions are used, and Teamcenter
can upgrade by comparing the latest XML templates to a file that contains the
extracted data model definitions from the database. Computing the differences
between these two files tells the upgrade what to do to synchronize the data model in
the database. This strategy works in any upgrade coming from Teamcenter 2007.
However, this algorithm does not work if you do not have the latest definitions for
all definitions in the database, including the custom definitions. For example, if a
customer defines new C1 and C2 classes, these two classes appear in the extracted
XML file, but they do not exist in the template files. When the differences are
computed, the C1 and C2 classes appear in the delta.xml in the <delete> section,
and the business_model_updater utility tries to delete them. This results in
PLM00071 J
4-85
Chapter 4
the deletion of custom defined objects that should not be deleted. They must be
preserved.
To preserve the customer-defined definitions, these custom definitions must be
placed into their own XML template and must be included as a part of the latest
template definitions during the upgrade. This alleviates the issue of deleting
unknown elements. However, this cannot happen until the upgrade is completed.
As an alternative, there is another solution that applies to any upgrade that
upgrades a Teamcenter product prior to XML templates (that is, Engineering
Process Management 9.1.3, 2005, or 2005 SR1). These upgrades combine the former
method of upgrading using utilities and the new XML template file method. When
the Business Modeler IDE replaced the former Business Modeler and utilities
way of upgrading with XML, Siemens PLM Software stated that all customers
should stop using business modeler related utilities on an upgrade once we release
Teamcenter 2007. At that point, the Business Modeler IDE team took snapshots
of the foundation template data model and any optional solutions and called them
template-name_tcbaseline.xml and packaged them with each template bundle.
When an upgrade from 9.1.3, 2005, or 2005 SR1 to the latest version is initiated,
each upgrade script first calls all the utilities first, which effectively brings the data
model up to date from the former version to Business Modeler IDE 2007. Next the
latest release template files are compared to the baseline files (a snapshot of the
Business Modeler IDE 2007 data model) and the computed differences are used
by the business_model_updater to upgrade the database definitions from the
Business Modeler IDE 2007 point to the latest release.
Note
Once the upgrade is complete, you can execute the bmide_postupgradetotc utility
which extracts the custom defined definitions by first extracting all definitions from
the database and comparing this file to the latest XML template definitions. Note
this is why the upgrades must be perfect. If the upgrade does not get the database to
the same definitions as listed in the released template files, the discrepancies end
up being extracted into the customer template. This effectively means that you
own that discrepancy (that is, adding a attribute definition). Or the discrepancy
shows up in your template as something you are not allowed to do (that is, changing
a COTS attribute definition).
The baseline files are required for upgrade until all customers have been converted
to XML templates. Once this is done, the baseline files can be discarded and all
upgrades must strictly use the comparison of extracted model to the latest release
model to compute the upgrade.
Therefore any add-on solution that existed before Teamcenter 2007 requires a
template-name_tcbaseline.xml file. The tcbaseline file is created automatically
for you when you run the bmide_postupgradetotc utility to extract their custom
definitions.
Template match tags
Teamcenter Environment Manager (TEM) uses template match tags to determine
which templates are required for upgrade. The results of the match are shown in
the Upgrade Database Features panel. These tags are only used by TEM to match
templates that were available in Engineering Process Management. Therefore,
new templates introduced only for Teamcenter architecture do not have template
4-86
PLM00071 J
match tags. If you plan to use your Business Modeler IDE template to upgrade
other Engineering Process Management databases, read on. Otherwise, you may
skip this topic.
Note
The Upgrade Database Features TEM panel shows a list of all templates that were
available in the Engineering Process Management time frame. Each template
provides two or three template match tags. Each tag tells TEM to search in the
database for a specific data model definition that should be in the database if the
template data model had been installed in Engineering Process Management. If all
template match tags are found, the template is a match in the database and the
template is marked for upgrade. If any of the template tags are not matched, the
template is not marked for upgrade. Typically the template match tags are used to
look for a class or type definition because these are the most common extensions in
any given template. However, other data model definitions can be used as long as
they are unique to your template and are not also defined in another template.
Warning
Not only are template match tags used by all of the templates delivered by Siemens
PLM Software and our partners, the template match tags can also be used by
customers. The following is a list of reasons why you should use template match
tags. If any of these scenarios apply to you, continue reading. Otherwise, you may
skip this topic.
If you need to create template match tags, create a minimum of two or three if
possible. The template match tags are placed in the feature.xml file for your
template. If you are assured that your data model definitions are unique to your
add-on solution, you can assume that TEM uses the template_match tags to match
your template and not a template that belongs to someone else.
Because a template defines data model definitions, only use template match tags
to match those data model definitions that should exist in an Engineering Process
Management database that has your solution installed. Do not match something
that was optional, because all the template match tags must match for TEM to
match the template. For example, if you gave your customer the option to install a
class, LOV, or naming rule, you cannot assume that all databases have that class,
PLM00071 J
4-87
Chapter 4
LOV, or naming rule. Therefore, these optional elements are not candidates for
a template match tag. Additionally, do not try to match instances of data model
classes. For example, do not try to match an item ID, form name, or dataset name
entered by a user; you can only match a data model definition.
Good candidates for template match tags are those data model definitions that
were added by your solution and existed in all supported Engineering Process
Management versions (V913, V10, V10 SR1). Examples include:
Class name
Type name
Dataset type name
LOV name
Naming rule name
GRM rule
Tool name
View type
All data model definitions, when loaded into a database, are stored as an instance of
a class. For example, every class that is added to a database is stored as an instance
of the POM_class class (in addition to the fact that it also adds its own table in the
database). Each type that is added to a database is stored as an instance of the
ImanType class. Therefore, when you build template match tags, you want to see if
the database table for classes (POM_class) has a class by a given name or if the
data table for types (ImanType) has a type by a given name.
Template match tags require the following:
Class name that stores the data model definition (database table)
Attribute name that stores the name of the definition (database table column)
Template match tags are written to the feature.xml file in the following format.
Note that there are no spaces directly before or after the comma; however, it is
okay to have a space within the value field if the value has a space in it. Also, each
template match tag increments the property name value (template_match1,
template_match2, template_match3, template_matchN).
<property name="template_match_1" value="ClassName,AttributeName,value"/>
<property name="template_match_2" value="ClassName,AttributeName,value"/>
<property name="template_match_3" value="ClassName,AttributeName,value"/>
If your template added two classes, the template match tags look like the following:
<property name="template_match_1" value="POM_class,name,ClassA"/>
<property name="template_match_2" value="POM_class,name,ClassB"/>
In this example, the first field is POM_class; this is the name of a database class
(database table) that stores Teamcenter class definitions. The second field name is
the attribute name (database table column) of the POM_class (table) that stores
the name of the class. ClassA and ClassB are Teamcenter class names and each of
these two values should be found as a value of one of the instances of the specified
database table and column.
In the following example, if your template added TypeA and TypeB types, the
template match tags look like the following:
<property name="template_match_1" value="ImanType,type_name,TypeA"/>
4-88
PLM00071 J
ImanType is the database class that holds type definitions, and type_name is the
attribute name (database table column) that stores the type names. TypeA and
TypeB types are two values that should be found in this table and column.
Following are other examples:
Datasets
To match dataset type definitions DatasetName1 and DatasetName2, use
the following format:
<property name="template_match_1"
value="WorkspaceObject,object_name,DatasetName1"/>
<property name="template_match_2"
value="WorkspaceObject,object_name,DatasetName2"/>
These two match tags use the WorkspaceObject class and object_name
attribute to match because the dataset type definitions are stored in the Dataset
class which is a subclass of the WorkspaceObject class. The dataset name is
an attribute that is defined on the WorkspaceObject class (not defined on
the Dataset class). Because these template match tags use a SQL query to
find the match, specify the exact table that has the instance. Therefore, use
WorkspaceObject class for the first field.
Tools
To match Tool definitions, use the following format:
<property name="template_match_1" value="WorkspaceObject,object_name,Tool1"/>
<property name="template_match_2" value="WorkspaceObject,object_name,Tool2"/>
As in the case of Dataset type definitions, Tool objects are stored in the Tool
class that is a subclass of the WorkspaceObject class. The tools name is stored
in the object_name attribute that is defined on the WorkspaceObject class.
Therefore, use the WorkspaceObject value in the first field.
LOVs
To match LOV names, use the following format:
<property name="template_match_1" value="ListOfValues,lov_name,LOV 1"/>
<property name="template_match_2" value="ListOfValues,lov_name,LOV 2"/>
<property name="template_match_3" value="ListOfValues,lov_name,LOV 3"/>
The LOV definitions are stored in the ListOfValues class using the lov_name
attribute. Each of the value fields has a space in the LOV name, which is allowed
if the value has a space in it. Many type names, LOV names, and other data
model elements can have spaces.
View types
To match view type definitions, use the following format:
<property name="template_match_1" value="PSViewType,name,View Name 1"/>
<property name="template_match_2" value="PSViewType,name,View Name 2"/>
The view type definitions are stored in the PSViewType class using the name
attribute.
You can also use a combination of classes and types or other data model objects:
<property name="template_match_1" value="POM_class,name,ClassA"/>
PLM00071 J
4-89
Chapter 4
By default, your feature file does not include any template match tags; therefore, you
must add them. They also must be added in the proper section of your feature.xml
file. To add them, launch the Business Modeler IDE and go to the Project Files\insall
folder. Find and double-click your feature_template_name.xml file. This opens the
file in an editor. Find the section in the file that has the following line:
<property name="template-file" value="${template-name}_template.xml"/>
4-90
The model.xml file contains the latest template extensions and the
model_backup.xml file contains the previous definitions from the
database. Therefore, the differences between the two files would be the
differences between the two older customer template and the latest
customer template.
PLM00071 J
Use TEM to install or upgrade the template into a test or production server.
Distribute the template to other sites or customers who want to share your
extensions.
c.
PLM00071 J
b.
c.
Copies any other data files in the project/install directory to the ZIP file.
4-91
Chapter 4
When the packaging wizard is complete, the following four files are located in the
project/output/packaging directory:
feature_template-name.xml
This file contains the information necessary for TEM to recognize the template
and how to handle the template for install and upgrade.
template-nameBundle_language-code_country-code.xml
This file contains the localized text for the feature file so that TEM can display
the feature description in the localized version.
template-name_template.zip
This ZIP file contains the template definitions (template-name_template.xml),
dependency file (template-name_dependency.xml), and the optional baseline
file (template-name_tcbaseline.xml).
template-name_install.zip
This ZIP file contains all the support files for installing and upgrading your
template:
install_template-name.xml
upgrade_template-name_v913.xml
upgrade_template-name_v1000.xml
upgrade_template-name_v1001.xml
upgrade_template-name_v2007.xml
Any data files.
Once the template package is created, the four bundled files must be transported
to the server so that the TEM wizard can locate and install the templates. You
can copy the bundled files to the server or burn to a CD-ROM and transport the
CD-ROM contents to the server.
If you have any custom utilities that are called in the installation or upgrade scripts,
ensure that the appropriate platform binaries for these utilities are placed into the
TC_ROOT/bin directory before using TEM to install or upgrade the template.
Behind the scenes of live update
Live update enables a Business Modeler IDE user to deploy data model extensions
directly from the Business Modeler IDE to a running Teamcenter server. You can run
live update by choosing BMIDEDeploy Template. In most instances, live update
is appropriate for test servers where a Business Modeler IDE user is developing
and testing extensions before putting them into production. However, you can also
deploy some types of data directly to a production server.
For more information, see Introduction to deploying templates.
Live update has the advantage of not requiring a packaged template and can deploy
through a two-tier or four-tier environment. A disadvantage of live update is that it
does not execute the extra utilities listed in your install_template-name.default file
or upgrade_template-name_version.default file. Therefore, if you need Teamcenter
to process the upgrade or installation utilities, you must package your template and
install it through TEM. If you are only making data model changes to the template
and want to deploy them quickly to test the changes, you can use live update.
4-92
PLM00071 J
Another disadvantage of live update is that only the session that makes the changes
can see the changes. All other users of the test server must log off and back on
to see the data model changes.
The Deploy wizard does the following:
1. Consolidates all XML files listed in the master.xml into a single
project/output/packaging/template_name_template.xml file.
2. Copies the project/extensions/dependency.xml file to
project/output/packaging/template-name_dependency.xml file
3. Creates an SOA (services-oriented architecture) connection to the specified
server using the login credentials, and sends the template-name_template.xml
and template-name_dependency.xml to the server using FMS.
4. The SOA service writes the files to the TC_DATA/model directory.
5. The SOA service adds the template name to the TC_DATA/model/master.xml
file if it is not already included.
6. Deletes the existing TC_DATA/model/model_backup.xml file.
7. Renames the TC_DATA/model/model.xml file to
TC_DATA/model/model_backup.xml.
8. Consolidates all definitions in the templates listed in the master.xml file to
a TC_DATA/model/model.xml file.
9. Executes a compare tool which loads the model.xml and model_backup.xml
files into a Java model, compares the two models, and writes a delta.xml file
that contains the differences between the two models.
Note
The model.xml file contains the latest template extensions and the
model_backup.xml file contains the previous definitions from the
database. Therefore, the differences between the two files are the
differences between the two older customer template and the latest
customer template.
10. Lists all executed actions in a log file. If any elements listed in the delta.xml file
fail to execute, the failed elements are also listed in the log file.
11. Extracts the data model contents of the database to the
TC_DATA/model/model.xml file so that the next live update is able
to compute the differences against a file that reflects the accurate contents of
the database. This step is executed only if there are unprocessed elements in
the delta file.
12. Sends the log file back through the SOA service and places it in the
project/output/packaging directory, and names the file with a timestamp.
PLM00071 J
4-93
Chapter 4
Template artifacts
Feature file
Feature file description
The feature file is used for the following purposes:
A feature file is required by TEM so that you can present your template as a
choice in TEM to be installed into the corporate server.
If a customer chooses your template for the corporate server, the extensions in
your template are combined with the other choices of the user and added to
the corporate server database.
When you choose your template for the corporate server, also choose to install
your template as a reference template when using the Business Modeler IDE
to extend your own template. That way a customer can see all the extensions
provided in your template and add their own.
A feature file ensures that your template is chosen for upgrade if it was
previously installed into the database.
If you provide extensions from a previous release, ensure that your template is
selected during upgrade. Once a template is installed, it must always persist in
future releases. You can keep providing updates, but it can never be removed.
The TEM wizard needs to ensure that you select all previously installed
templates during upgrade. The feature file helps this in one of two ways:
o
GUIDs
A GUID is a global unique ID which identifies your template with unique ID
from other templates. TEM started using GUIDs in Teamcenter 2007. Once
your template (feature) is assigned a GUID, you keep the same GUID for
the lifetime of your template. When TEM installs features, it keeps track
of the GUIDs installed. When the user upgrades to the next release, TEM
ensures that the same features are picked during the upgrade by matching
the GUIDs from the installation with the feature files.
Template match
This option is provided to those features that were installed prior to GUIDs
(pre-Teamcenter 2007). If you provided data model extensions to Teamcenter
that a user installed prior to Teamcenter 2007, either through TEM features
or through a manual install steps, then TEM needs a way to automatically
force you to select your feature if it was previously installed. The feature
file allows you to provide template_match elements that look for specific
data model definitions in the database that only could have come from your
template. If the data matches, then TEM forces you to pick your template
during install.
4-94
A feature file contains a list of the dependent feature templates that should be
installed before your template can be installed.
PLM00071 J
For instructions about how to modify this file, see Edit the template feature file.
Feature file naming convention
The feature file must be named as follows: feature_template-name.xml where
template-name is your template name. All characters should be lowercase.
Following are examples of feature file names:
feature_tcae.xml
feature_gmo.xml
feature_mytemplate.xml
The Business Modeler IDE application creates this default feature file for a given
template when the project is created.
Sample feature file
<?xml version="1.0" encoding="UTF-8"?>
<!-- Document
: feature_template-name.xml
Description: This XML is used by TEM to install or upgrade the "template-name" solution.-->
<feature>
<name value="template-name"/>
<property name="feature_name" value="template-name"/>
<group value="package"/>
<guid value="049B06807BDA0239E0A054B39495661A"/>
<bundle value="${feature_name}Bundle.xml"/>
<description value="${feature_name}.description"/>
<include file="dataModelDependency.xml"/>
<relation/>
<feature>
<!-- Feature: Data Model -->
<name value="Data Model"/>
<property name="feature_id" value="datamodel"/>
<property name="bmide_optional" value="false"/>
<property name="template_name" value="${feature_name}"/>
<property name="template_file" value="${template_name}_template.xml"/>
<removable value="false"/>
<root value="true"/>
<bundle value="${template_name}Bundle.xml"/>
<description value="${template_name}.description"/>
<guid value="1D388F052C95BE2EFCC70355B229BA03"/>
<include file="coreDataModel.xml"/>
<include file="generatePlmxmlSchema.xml"/>
</feature>
</feature>
For instructions about how to modify this file, see Edit the template feature file.
Feature file header section
The following example shows header information and contains a description
comment about the purpose of the feature file:
<?xml version="1.0" encoding="UTF-8"?>
<!-Document
: feature_<template_name>.xml
Description: This XML is used by TEM to install or upgrade the <template_name> solution.
-->
Feature section
The feature section contains the following. (The following list is presented in
alphabetical order.)
PLM00071 J
The bundle value tag indicates the localization file that should be used with the
feature to provide the display name for the feature in TEM panels. All bundle
files are named with the following format template_nameBundle.xml. This tag
4-95
Chapter 4
The relation/depends name tag specifies the data model features that
your template is dependent on. This ensures that the dependent templates
are installed prior to your feature if the user selects your template. By
default all templates are dependent on the Foundation template at a
minimum, so the Foundation template is implicitly specified (by including the
dataModelDependency.xml file). You must add an additional <depends> tag
for each dependent template. The name key should specify the template name,
and the value should specify the GUID. The GUID can be obtained by looking in
the dependency files for each template. If you are dependent on another template
that also has its own dependencies, you need not specify all dependencies. You
only need to provide your templates dependencies. TEM takes care of the rest.
<depends name=foundation value="8C061DD51E13E0CB9DC4687B1A3348BE"/>
The description value tag indicates which key in the bundle.xml file to use
for getting the features description. Never change this value.
<description value="template.description"/>
The group value tag indicates that your feature should appear in TEM under
the Extensions option. This is the option where all template features appear.
If you have suboptions for a feature, you must create a group_name.xml. The
group name and the parent group name must be specified.
<group value="package"/>
For example, you have a solution called solution1 that has template1,
template2 and template3 options. solution1 is a high-level group name and
not installable template by itself. The group_solution.xml file must be created
with the following entries:
<group>
<name>solution-display-name</name>
<parent>foundation</parent>
</group>
4-96
The guid tag specifies the GUID for your feature (template). If a unique GUID
has not been assigned, then you should get one assigned from the TEM team and
PLM00071 J
update the value. A GUID is automatically created by the Business Modeler IDE
application and assigned to the feature file when the project is created.
<guid value="C0E54180924C29FE0B89C9D3CDCC7A17"/>
The include tag allows you to include XML content in a separate file within a
feature XML. There are no file name restrictions. This also reduces the feature
file size by taking the common elements and keeping them in separate files.
The property name="feature_id" tag specifies the subfeature type. This tag
is used by TEM to determine the subfeature type. For example, "datamodel"
represents a datamodel (template) feature, "rtserver" represents a run-time
server component, and "rac" represents a rich client add-on component.
The removable value tag indicates whether TEM lets you remove this feature.
By default no template feature can be allowed to be removed since it would
be difficult to remove all instances of each extension. Therefore, all template
features can never be removed.
<removable value="false"/>
The root value tag indicates that the user who installs the feature must have
administrative privileges on the machine. This tag is only used by Windows.
Because the feature is used on all platforms, it should always be provided.
Because each feature can potentially make changes to services, this tag should
always be set to true.
<root value="true"/>
The template_match tag provides the data model object to match for template
matching. This is required for any template feature that may have been installed
prior to Teamcenter 2007. A feature can provide as many template_match tags
as needed to appropriately match your feature with the database. For example,
it may not be sufficient to try to match only one data model object.
<property name=template_match_1 value=ImanType,type_name, ALIAS_PROJECT/>
<property name=template_match_2 value=Tool,object_name, AUTOSTUDIO_TOOL/>
The match works by providing a class, attribute, and value. TEM queries for the
class and attribute pair, and if it finds that one of the rows matches the value
you provided, there is a match on this tag.
Examples:
template_match_1
template_match_2
template_match_3
Edit these tags as needed.
PLM00071 J
4-97
Chapter 4
Files section
The files section of the feature file (in the coreDataModel.xml file) provides two
commands to unzip a ZIP file provided with the feature. The command gives the
location of the ZIP files with respect to TC_CDROM. Each ZIP file should be zipped
specifically so that when unzipped, the file contents end up in the correct locations in
TC_ROOT. The relative path of the files in the ZIP file is with respect to TC_ROOT.
For customer templates, the Business Modeler IDE zips these files accordingly. For
Siemens PLM Software templates, these ZIP files are placed into an installation kit
to accomplish the same things. Do not edit this section.
<files>
<code>
<unzip file="tc/${template_name}_template.zip"/>
<unzip file="tc/${template_name}_install.zip"/>
</code>
</files>
Install section
<preinstall>
</preinstall>
<install>
<gui>
<panel class="com.teamcenter.install.tceng.base.gui.AdminUserPanel"
factory="acquirePanel"/>
</gui>
<code>
<tcexec cmd="bmide_pretemplateinstall${script_ext}" parms="-u=${adminUser.user}
-p=${adminUser.password} -g=dba -templates=${template_name}"/>
<condition property="template_installed" value="true" else="false">
<checktemplate value="${template_name}"/>
</condition>
<tcexec script="${tcroot.path}/install/${template_name}/install_${template_name}.default"
whenfalse="${template_installed}"/>
<tcexec cmd="business_model_updater" parms="-u=${adminUser.user}
-p=${adminUser.password} -g=dba -mode=upgrade -update=types
-file=${tcroot.path}/install/${template_name}/${template_file}"
whentrue="${template_installed}"/>
</code>
</install>
The preinstall and install sections (in the coreDataModel.xml file) are called by
TEM during the first installation of your template. The install section commands
take care of copying your zipped template files to the TC_DATA\model directory,
and then ensures that the correct tools are run to add your template extensions
to the data model. The template_installed condition is used by TEM to see if
the template is already installed in the database. The TEM installer installs the
template only if it is not already installed. If the template is already installed,
business_model_updater is run to install any types in the database to populate
the .des files. This may be when installing an alternate TC_DATA to an existing
database.
There is no need to edit these sections. The empty preinstall section is provided as
a placeholder in case it is needed in the future.
Update section
<preupgrade>
</preupgrade>
<upgrade>
4-98
PLM00071 J
</upgrade>
The preupgrade and upgrade sections are called by TEM during the upgrade of your
template. The preupgrade and upgrade sections are placeholders for any commands
needed for upgrading. Currently these sections are empty. TEM knows that if your
feature is a template feature, it automatically runs the appropriate upgrade runner
script utility provided by the Business Modeler IDE. The upgrade runner calls
sections in your upgrade script (depending upon the version of the upgrade).
There is no need to change or remove the sections. There are provided in case they
are needed for future needs.
Bundle file
Bundle file description
A bundle file is used to provide localized text to TEM. This file contains your
features description that are displayed in the various TEM panels where the user
can select your template.
Your bundle should contain a text name template.description that corresponds
to the feature file. The feature file is looking for the localized description of your
feature in the bundle file by the name of template.description. Ensure that have
corresponding entries in both the feature file and bundle file.
For more information, see Feature file description.
<description value="$(template_name).description"/>
In the bundle file, be sure to update the comments section and the TextID to reflect
your template:
<TextID name="template_name.description" text=" Installs the XX Solution application."/>
PLM00071 J
4-99
Chapter 4
<!-Document
: template_nameBundle.xml
Description: Localized text for template_name template feature
-->
<IDMap>
<TextID name="template_name.description" text="Installs the XX Solution application."/>
</IDMap
Installation file
Installation file description
Every template must have an installation script. This script is run by TEM when
your template feature is selected by the user to install into a Teamcenter corporate
server. This install script has very specific content and ordering of commands to
get your Business Modeler IDE extensions installed into the database. This order
and content cannot be changed.
The installation script is separated into sections labeled with the # SECTION:
comment and the name of the section. TEM must install the templates data model
extensions in a specific order, therefore these sections must be kept in the order that
they are given and this order and the content should never be changed.
The solid and dotted lines that separate the sections are intentional and should
not be changed. The solid lines indicate the sections that contain utilities that
the templates cannot alter. These are required so that the Business Modeler IDE
utilities can install the template data model. The dotted line sections are areas
where the template can add additional utilities to support the installation of the
template. For example, you may want to load process template objects.
To add any utilities, only add them in the appropriate (dotted) sections. Be sure to
carefully read each section so that you can determine the correct placement of your
utility with respect to the installation of the pieces of the data model.
4-100
SECTION
Type
Description
SECTION:
Database
Preparation
Restricted
SECTION:
Schema
Additions
Restricted
SECTION:
Utilities
PLM00071 J
SECTION
Type
Description
SECTION:
Non-Schema
Additions
Restricted
SECTION:
Utilities Post BMIDE
SECTION:
Database
Finalization
Restricted
PLM00071 J
4-101
Chapter 4
# ..............................................................................
#
# _____________________________________________________________________________
# SECTION: Non-Schema Additions
# _____________________________________________________________________________
#
THIS SECTION IS RESERVERED for the BMIDE tools to install the Business Objects,
#
Business Rules, LOVs, Options, etc. which are managed by BMIDE.
#
Do Not add any utilities commands in this section.
# _____________________________________________________________________________
business_model_updater -u=mgr -p=${TC_USER_PASSWD} -g=dba -update=non_schema
-mode=upgrade -file=${TC_DATA_MODEL}/delta.xml
# ..............................................................................
# SECTION: Utilities - Post BMIDE
# ..............................................................................
#
Use this section if your solution needs to install any solution objects
#
that must be installed after the BMIDE tools install
#
Business Objects (Items, Datasets, Forms, Item Element, App Interface,
#
IntDataCapture),
#
Business Rules, LOVs, Change Objects, Validation Data, Tools.
# ..............................................................................
# _____________________________________________________________________________
# SECTION: Database Finalization
# _____________________________________________________________________________
#
THIS SECTION IS RESERVERED for those commands that finish up the
#
install.
#
Do Not add any utilities commands in this section.
# _____________________________________________________________________________
install -regen_schema_file mgr ${TC_USER_PASSWD} dba
clearlocks -assert_all_dead mgr ${TC_USER_PASSWD} dba
install -gen_xmit_file mgr ${TC_USER_PASSWD} dba
install -unlock_db mgr ${TC_USER_PASSWD} dba
Upgrade file
Upgrade file description
The upgrade is used to synchronize the data model extensions and any other
related data objects to the latest release. If you have your template packaged in a
feature, then TEM automatically knows how to upgrade your Business Modeler IDE
definitions to the latest release.
In addition to the Business Modeler IDE data model in your template, you may have
additional data that needs to be added during your upgrade. You can do this in an
upgrade script. An upgrade script is not required if you have no additional things
to add during an upgrade. However to be consistent with the other templates, you
should provide an upgrade script even if it has no special commands in it. That way
you can add things quickly later if needed.
This upgrade script has very specific content and ordering of sections to get your
objects installed into the database. This order and content cannot be changed.
The upgrade script is separated into sections labeled with the # SECTION: comment
and the name of the section. TEM needs to upgrade the templates data model
extensions in a specific order. Therefore, these sections must be kept in the order
that they are given, and this order and the content should never be changed.
Each section in the upgrade script is separated using dotted lines. As in the install
script, this means that each of these sections is editable by the solution and you can
add specific utilities in these sections. Because all sections are separated with dotted
lines, this means that all sections can have utilities added.
Each section has two parts; the comments follow:
#..............................................................................
# SECTION: Pre Schema Additions
#..............................................................................
#
Use this section to add any commands that should migrate data before the
#
the BMIDE tools have added the new classes and attributes.
#..............................................................................
4-102
PLM00071 J
Whenever you add utilities, the utilities must go between the specific opening and
closing tags. Any commands outside these tags are not executed.
Also, do not alter the tags in any way. The TEM upgrade runner is looking
specifically for these tags and does not recognize any new ones or tags by another
name or spelling.
PLM00071 J
SECTION
Type
Description
SECTION:
Pre Schema
Additions
SECTION:
Post Schema
Additions
SECTION:
Post Schema
Changes
SECTION:
Post
Non-Schema
Additions
SECTION:
Post
Non-Schema
Changes
SECTION:
Post
Non-Schema
Deletions
SECTION:
Post Schema
Deletions
4-103
Chapter 4
4-104
PLM00071 J
#
Use this section to add any commands that should migrate data after the
#
the BMIDE tools have changed any existing Business Objects, Business Rules, LOVs,
#
Change objects, Validation Data, Tools, etc.
#..............................................................................
<post-non-schema-change>
</post-non-schema-change>
#..............................................................................
# SECTION: Post Non-Schema Deletions
#..............................................................................
#
Use this section to add any commands that should migrate data after the
#
the BMIDE tools have deleted any existing Business Objects, Business Rules, LOVs,
#
Change objects, Validation Data, Tools, etc.
#..............................................................................
<post-non-schema-delete>
</post-non-schema-delete>
#..............................................................................
# SECTION: Post Schema Deletions
#..............................................................................
#
Use this section to add any commands that should migrate data after the
#
the BMIDE tools have added/changed/deleted Business Objects, Business Rules, LOVs,
#
Change objects, Validation Data, Tools, etc.
#..............................................................................
<post-schema-delete>
</post-schema-delete>
PLM00071 J
4-105
Chapter
PLM00071 J
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
5-4
5-4
5-4
5-4
5-7
5-10
5-10
5-11
5-15
5-16
5-17
5-17
5-17
5-20
5-20
5-21
5-21
5-21
5-22
5-26
5-26
5-27
5-29
5-29
5-30
5-31
5-31
5-33
5-33
5-33
5-35
5-37
5-38
5-40
5-41
5-41
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
5-48
5-51
5-51
5-51
5-56
5-60
5-60
5-61
5-63
5-64
5-96
5-97
5-98
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 5-99
. 5-99
5-100
5-103
5-103
5-104
5-108
5-110
Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Introduction to properties . . . . . . . . . . . . . . . . . . . . . . . .
Properties table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Hide properties on a form business object . . . . . . . . . . . . .
Add properties to a custom form business object . . . . . . . .
Available actions on properties . . . . . . . . . . . . . . . . . . . . .
Add properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Overview of how to add properties . . . . . . . . . . . . . . .
Add a persistent property . . . . . . . . . . . . . . . . . . . . . .
Add a run-time property . . . . . . . . . . . . . . . . . . . . . .
Add a compound property . . . . . . . . . . . . . . . . . . . . .
Add a relation property . . . . . . . . . . . . . . . . . . . . . . .
Property constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Setting property behavior with property constants . . . .
Create a property constant . . . . . . . . . . . . . . . . . . . . .
Change the value of a custom property constant . . . . . .
Property constants reference . . . . . . . . . . . . . . . . . . .
Ccd0TypeRefInitCols property constant . . . . . . . . .
Ccd0TypeRefInitRows property constant . . . . . . . .
Ccd0TypeRefInitValue property constant . . . . . . . .
ComplexProperty property constant . . . . . . . . . . .
CopyFromOriginal property constant . . . . . . . . . .
Enabled property constant . . . . . . . . . . . . . . . . . .
Enabled property constant . . . . . . . . . . . . . . . . . .
Fnd0AttrIcesToExclude property constant . . . . . . .
Fnd0InheritFrom property constant . . . . . . . . . . .
Fnd0SecurityPropagationEnabled property constant
Fnd0TrimZeroes property constant . . . . . . . . . . . .
InitialValue property constant . . . . . . . . . . . . . . .
Localizable property constant . . . . . . . . . . . . . . . .
Modifiable property constant . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
5-111
5-111
5-112
5-115
5-115
5-116
5-116
5-116
5-118
5-124
5-128
5-132
5-134
5-134
5-135
5-138
5-139
5-139
5-139
5-139
5-139
5-140
5-140
5-141
5-141
5-142
5-142
5-143
5-144
5-145
5-145
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
PLM00071 J
PLM00071 J
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
5-146
5-146
5-146
5-147
5-147
5-148
5-148
5-149
Lists of values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Introduction to lists of values (LOVs) . . . . . . . . . . . . . . . . . . . . . . . . .
Create classic lists of values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Batch LOVs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Create batch lists of values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Convert an LOV managed in a template to an externally managed
LOV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Convert an externally managed LOV to an LOV managed in a
template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Considerations for externally managing LOVs . . . . . . . . . . . . . . . .
Dynamic LOVs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Introduction to dynamic LOVs . . . . . . . . . . . . . . . . . . . . . . . . . . .
Create dynamic lists of values . . . . . . . . . . . . . . . . . . . . . . . . . . .
Considerations for creating dynamic LOVs . . . . . . . . . . . . . . . . . .
Examples of dynamic LOVs . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Dynamic LOV example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Dynamic LOV example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Dynamic LOV example 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Dynamic LOV example using external data . . . . . . . . . . . . . . .
Attach an LOV to a property . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Add values to an existing classic LOV . . . . . . . . . . . . . . . . . . . . . . . . .
Create a filter LOV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Create a cascading LOV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Create an interdependent LOV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Interdependent LOV attachment problems . . . . . . . . . . . . . . . . . . . . .
Attaching LOVs with conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Display LOVs based on project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
About using conditions to display LOVs based on a project . . . . . . .
Project LOV scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Project LOV use case . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
LOV types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
LOV value types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
LOV usage types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Balanced/unbalanced LOVs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
5-150
5-150
5-150
5-156
5-156
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
5-162
5-163
5-165
5-165
5-166
5-173
5-174
5-174
5-178
5-182
5-187
5-192
5-194
5-195
5-196
5-198
5-201
5-202
5-206
5-206
5-206
5-207
5-210
5-211
5-211
5-212
Creating options . . . . . . . . . . .
About the Options folder . .
Add an ID context . . . . . . .
Introduction to notes . . . . .
Add a note type . . . . . . . . .
Add an occurrence type . . .
Introduction to view types .
Add a view type . . . . . . . .
Add a status type . . . . . . .
Add a storage media option
.
.
.
.
.
.
.
.
.
.
5-212
5-212
5-212
5-213
5-213
5-215
5-216
5-217
5-218
5-221
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 5-160
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
5-226
5-226
5-227
5-232
5-240
5-243
5-245
5-247
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
5-250
5-250
5-251
5-252
Global constants . . . . . . . . . . . . . . . . . .
Introduction to global constants . . . .
Create a global constant . . . . . . . . .
Change the value of a global constant
Global constants reference . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
5-253
5-253
5-254
5-256
5-257
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
5-276
5-276
5-276
5-276
5-277
5-277
5-278
5-279
5-279
5-279
5-280
5-281
5-282
5-283
5-284
5-284
5-285
5-286
5-286
5-288
5-289
5-290
5-290
5-291
5-291
5-291
5-291
5-293
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
PLM00071 J
Chapter
PLM00071 J
5-1
Chapter 5
Description
The fundamental objects used to model business data. Create
business objects to represent product parts, documents, change
processes, and so on. Business objects were formerly known as
types in Engineering Process Management.
For more information, see Introduction to creating business
objects.
5-2
PLM00071 J
Data model
objects
Classes
Description
The persistent representations of business objects in the
database.
For more information, see Introduction to creating classes.
A class is the logical data model and maps the storage of a
business object to the database. Every class has a business
object by the same name. A class can have attributes defined on
it. Every attribute defined on the class results as a property on
the business object. Classes support inheritance. Any attribute
defined on a parent class is inherited by its children.
Properties
Lists of values
(LOVs)
Business rules
Constants
Options
Code generation
objects
After you create these new data model objects, you can deploy them to a test server.
And after you verify the new data model on the test server, you can package it for
installation to a production server.
For more information, see Introduction to deploying templates and Package
extensions into a template.
PLM00071 J
5-3
Chapter 5
Business objects
Create business objects
Introduction to creating business objects
To create a new business object in the BMIDE view of the Business Modeler IDE,
right-click a business object in the Business Objects folder and choose New
Business Object. The Business Objects folder is used for working with business
objects, the fundamental objects that model business data. You can create business
objects and add properties to them. You can also add operations or business rules to
business objects.
The most common business objects you create are children of the Item, Form, and
Dataset business objects. The process for creating business objects is the same for
most kinds of business objects.
For more information see The general process for adding a new business object.
Tip
When you create a new business object, it is often exposed in the dialog boxes
accessed from the FileNew menu in the My Teamcenter application in the
rich client. To find where to add the business object in the Business Modeler
IDE tree of business objects, search in the tree for the objects shown in these
FileNew menu dialog boxes. You can also create business objects in the My
Teamcenter application by choosing FileNewOther.
Where classes are the logical data model, business objects are the objects that the
user works with in the clients. Typically, most business objects have a storage class
that helps map the attributes to the database. However, run-time business objects
do not have any persistent storage and therefore do not have storage classes.
Business objects get their properties from two locations. Any attribute defined on
the storage class is derived as a propriety on the business object. These properties
are called persistent properties. Additional properties such as compound properties,
relation properties, and run-time properties can be defined directly on the business
object.
Business objects also support inheritance. Any compound property, relation property,
and run-time property defined on a parent business object is inherited by its children.
Business objects can also have behavior attached to them in the form of operations
and business rules. Operations and rules defined on parent business objects are also
inherited by the children. Typical business rules include GRM rules, deep copy rules,
naming rules, revision naming rules, LOVs, business object constants, property
constants, IRDCs, business object display rules, and extension rules.
The general process for adding a new business object
When you add a new business object using the Business Modeler IDE, you select a
parent business object under which to create it. The child business object inherits
the properties and behaviors of the parent.
You can add a primary or secondary business object. A primary business object has
the same name as its associated storage class. A secondary business object uses the
storage class of its parent business object. When you add a primary business object,
a corresponding class is created to hold data for the primary business object.
5-4
PLM00071 J
The following steps are the generic procedure for adding a new business object,
whether primary or secondary:
1. In the Business Objects folder, browse to a business object under which you
want to create the new object. To search for a business object, you can click the
Find button
2. Right-click the business object you want to use as the parent and choose New
Business Object.
The New Business Object wizard runs.
There are several other ways to launch the New Business Object wizard:
Right-click a business object displayed in the UML Editor and choose Add
Business Object.
Drag Business Object from the UML Editor palette into the UML editor.
For more information, see Introduction to the UML editor.
When you choose this method, the New Business Object wizard allows you
to select the type of business object to create, for example, Item, Form, and
so on.
PLM00071 J
5-5
Chapter 5
5-6
b.
c.
PLM00071 J
4. Click Finish.
The new business object appears in the Business Objects folder. A c on the
business object symbol indicates that it is a custom business object.
If you create a primary business object, the corresponding class appears in the
Classes view in the Advanced perspective.
5. To add the business object to your Favorites folder, right-click the business object
and choose Add to Favorites.
If you create a child of the Item or Document business object, you can find the
master, revision, and revision master business objects that were also created.
Click the Find button
business object name.
at the top of the BMIDE view and search for the new
6. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
7. After you create a business object, you can deploy your changes to the test server.
Choose BMIDEDeploy Template on the menu bar, or select the project and click
the Deploy Template button
Note
If you select the Is Abstract? check box during creation of the new
business object, you cannot create an instance of the business object.
You can create your own custom icon to assign to the new business object.
For more information, see Add or change a business object icon.
PLM00071 J
5-7
Chapter 5
Note
Not all objects you want to create are business objects. Use the
Extensions\Options folder in the Business Modeler IDE to create the
following: contexts, note types, occurrence types, view types, status, storage
media, tools, or units of measure.
POM_object
Represents storage classes in the database.
ImanRelation
Represents relationships between objects.
POM_application_object
Represents Teamcenter application classes in the database.
WorkspaceObject
Holds the objects that can be displayed in the end-user workspace.
AppearanceGroup
Persists occurrence groups.
Dataset
Represents file types.
Folder
Organizes groups of objects.
Form
Displays properties.
GeneralDesignElement
Models a connectable interface of a product.
GeneralDesignElementLink
Models connectivity between one or more general design
element (GDE) objects. This object serves the same
functional purpose as a PSConnection business object
except that it is not revisable.
Item
Represents parts and documents.
When you create a new subclass of the Item business object or one of
its children, the following are automatically created: ItemMaster,
ItemMasterS, ItemRevision, ItemRevisionMaster,
ItemRevMasterS. The same types of master forms are also created
for all the children of the Item business object.
Architecture
Represents product structures.
5-8
PLM00071 J
GPA
Represents a generic physical architecture type.
Design
Represents designs.
Document
Represents documents.
Specification
Represents a collection of requirements specifications.
RequirementSpec
Represents a requirements specification.
Drawing
Represents part drawings.
MEOP
Represents a measurement operation being done at a station
in a plant. It aggregates all the inspection features that are
measured at that operation.
Part
Represents parts.
PSConnection
Models connectivity between one or more general design element
(GDE) objects.
Schedule
Represents a group of planned tasks that must be performed to
complete a project.
ScheduleTask
Represents a planned task that must be completed to make
progress in the schedule.
SpecElement
Represents an individual requirement specification element.
Paragraph
Represents a requirements paragraph.
Requirement
Represents a specific requirement.
ItemRevision
PLM00071 J
5-9
Chapter 5
Item
Generally used for data that represents an element of a product that is CAD
defined and for which product structure (BOM) data is maintained in the system.
5-10
Document
PLM00071 J
Generally used for all other data that is considered revision controlled but not
necessarily considered as a product or is not defined using CAD applications.
Create an Item business object
Item is the most common business object under which you create a new business
object. Use the Item business object or its children when you want to create business
objects to represent product parts. When you create a business object using Item (or
one of its children) as the parent, in addition to the new business object, you also
create an item master form, an item revision, and an item revision master form.
For an example of creating an item business object, see Workshop 3: Create a new
item type. For reference information about item business objects, see Introduction
to item business objects.
Note
When you create a child of the Item business object, a child ItemRevision
business object is created automatically. You cannot create a child of the
ItemRevision object directly.
On the menu bar, choose BMIDENew Model Element, type Item in the
Wizards box, and click Next.
In the Name box, type the name you want to assign to the new business
object in the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A5_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
In the Display Name box, type the name as you want it to appear in the
user interface.
For more information, see Localization process in the Business Modeler IDE.
d. The Parent box displays the business object you already selected as the
parent business object.
PLM00071 J
e.
In the Description box, type a description for the new business object.
f.
Select Create Primary Business Object to make a new class that stores the
data for the new business object. Clear this option to set the storage class
as the same used by the parent business object.
5-11
Chapter 5
g.
h. Click the Add button to the right of the Properties table to add a property
to the business object.
The New Property wizard runs.
For instructions about how to fill in the Persistent Property dialog box, see
Add a persistent property.
i.
Click Next.
5-12
In the Description box, type a description for the new business object
revision.
PLM00071 J
c.
Click the Add button to the right of the Properties table to add a property to
the revision business object.
The New Property wizard runs.
For instructions about how to fill in the Persistent Property dialog box, see
Add a persistent property.
PLM00071 J
5-13
Chapter 5
The Master form holds properties for the item, and the
RevisionMaster form holds properties for the item revision. For
style sheets used on the form display, type inheritance is not allowed.
A style sheet registered on a parent form display is not used for
its subtypes, and different properties are shown on the custom
RevisionMaster form than are shown on the RevisionMaster
form of the parent business object. If you want to show the same
properties on the custom RevisionMaster as on the parent
RevisionMaster, you must create a new style sheet for the custom
form display.
For more information about creating style sheets, see the Client
Customization Programmers Guide.
4. Perform additional steps to configure the new item business object type:
Configure the properties that appear in the new item dialog box when an end
user creates an instance of the item business object.
For more information, see Manage business objects for the CreateInput
operation.
For example, to make the Configuration Item check box appear in
the New Item wizard, open the item business object type, click the
Operation Descriptor tab, click the CreateInput tab, and select the
is_configuration_item property. On the Property Constants tab, select the
Visible property constant.
Set business object constants for the new item business object type.
For more information, see Business object constants reference.
5-14
PLM00071 J
For example, to allow checkout of a new item when it is created, set the
Fnd0AllowCheckOutOnCreate business object constant to true.
5. To save the changes to the data model, choose BMIDESave Data Model on the
menu bar, or click the Save Data Model button
6. Deploy your changes to the test server. Choose BMIDEDeploy Template on the
menu bar, or select the project and click the Deploy Template button
the main toolbar.
on
Note
If you select the Is Abstract? check box during creation of the new
business object, you cannot create an instance of the business object.
You can create your own custom icon to assign to the new business object.
For more information, see Add or change a business object icon.
PLM00071 J
5-15
Chapter 5
Item
Collects data that is globally applicable to all revisions of the item. You typically
add custom attributes directly to the custom item business object.
ItemMaster (Form)
A form object that is often used to extend the stored property data for an item to
include data unique to the customer.
ItemMasterS
The storage object for the item master form.
ItemRevision
Collects data that is applicable to a single revision of the item.
ItemRevMasterS
The storage object for the item revision master form.
Different rules for naming conventions, deep copy rules, and so on, can be
configured for one type of Item business object compared to another type.
Default process model association for one type of Item business object versus
another is easier to implement.
Different designs for the Item Master and ItemRevision Master forms may
be desired. Each type of Item business object can have unique and different
master form definitions.
In the following example, a new type of Item business object (EndItem) has
been defined so that the customer can define customer specific attribute data that
Teamcenter stores for this kind of data.
EndItem
EndItem Master (Form business object)
EndItem Revision
EndItem Revision Master (Form business object)
5-16
PLM00071 J
at the top of the BMIDE view and search for the Form
2. In the Business Objects folder, right-click the Form business object or one of its
children and choose New Business Object.
The Create New Form Business Object wizard runs.
3. In the Create New Form Business Object dialog box, enter the following
information:
a. The Project box defaults to the already-selected project.
b.
In the Name box, type the name you want to assign to the new business
object in the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
PLM00071 J
In the Display Name box, type the name as you want it to appear in the
user interface.
5-17
Chapter 5
For more information, see Localization process in the Business Modeler IDE.
d. The Parent box displays the business object you already selected as the
parent business object.
e.
In the Description box, type a description for the new business object.
f.
Click Use new class to create a new storage class to store the attributes.
In the Name box, type the name for the new form storage class. Click
the Browse button to the right of the Parent box if you want to select a
different class you want to be the parent of the new form storage class.
Click Use existing class to use an existing class to store the attributes.
Click the Browse button to the right of the Name box if you want to
select a different class you want to be the form storage class.
g.
Click the Add button to the right of the Properties table to add a property
to the business object.
The New Property wizard runs.
For instructions about how to fill in the Persistent Property dialog box, see
Add a persistent property.
5-18
PLM00071 J
on
PLM00071 J
5-19
Chapter 5
Choose FileNewItem. When an item is created, at least two form objects are
also created: the item master and item revision master.
To view a form in the Teamcenter rich client, select the form object and click the
Viewer tab.
Threshold properties must exist on the new Form storage classes
If the standard form business object has any threshold properties and you change
the form storage class on that standard form type, the form type does not include the
threshold properties. This causes exceptions in the Business Modeler IDE, loader,
comparator, and so on.
A threshold property is property on a form that is derived from its form storage class.
The property has one of the following: LOV attachment, naming rule attachment,
property business modeler operation, extension attachment, and so on. A property is
referred to as a threshold property if it has required functionality connected to it
such as business rules, list of values, or extension rules.
When business rules, lists of values, and so on, are defined on a property by the
owner of a Business Modeler IDE template, they are assumed to be present on the
property and there may even be code logic that assumes the functionality is present
on the property. If a subsequent customer switches the form storage class and
chooses a class with a different set of attributes, the original threshold properties are
not available on the Form business object. This creates problems where threshold
properties become invalid or are dangling.
If the customer has a Form type with threshold properties and later switches the
Form storage class on that form type and generates the custom template, loading
of the custom template in the Business Modeler IDE client fails and throws one
of the following model errors:
The Form Storage Class on the form type form-name cannot be changed to the
class new-form-storage-class unless the class has the following threshold
properties: threshold-properties Add the missing properties from the
original form storage class to this new form storage class.
The Form Storage Class cannot be removed from the form type
form_name because the form requires the following threshold properties:
threshold-properties. Either set this form to point to the original
5-20
PLM00071 J
form storage class or use a new class that adds the threshold properties
from the original form storage class.
If either of the two errors occur in your Business Modeler IDE, you must manually
add the missing threshold properties to the new form storage class in the custom
template. The property definition must be identical to the original property
definition. This must be performed manually by editing the XML source files in your
template to add the missing threshold property to your form storage class. After you
complete the edit, save the file, close it, and perform a Reload Data Model action
in the Business Modeler IDE. This reloads the XML and performs the validation
to ensure there are no errors.
If after adding the missing threshold properties, you do not want to see these
attributes on this form business object, set the Visible property constant to False on
the form property that corresponds to the attribute.
Changing form storage class
Switching the storage class of a Form business object is no longer allowed.
As of Teamcenter 2007.1 MP5, you can no longer switch the storage class of a Form
business object.
In previous versions, you could switch the storage class of a Form business object
if the existing storage class did not meet your requirements, which led to dangling
data model objects. For example, if a template contained a Form business object
with business rules and a list of values configured on the form properties and the
dependent template switched storage classes, the business rules and list of values
attachments from the parent template became invalid and the database contained
dangling data model objects.
Perform the following steps to resolve the issue:
1. Define a new property on the Form business object with the Business Modeler
IDE.
2. If the existing form properties are not useful, hide them by setting the Visible
property constant to false on the form property that corresponds to the attribute.
Note that if you use the Business Modeler IDE Deploy wizard to commit this visibility
change to the server, the server must be reset to see these changes in the clients.
Dataset business objects
Introduction to dataset business objects
Datasets are objects used to manage file data associated with external software
applications. They typically consist of a single application data file or logical
groupings of application data files. There are numerous types of datasets predefined
in Teamcenter. However, your site may need to add more types to be able to
manage your sites specific application data files and the viewing/editing software
applications associated with these files.
For instructions about how to create datasets, see Create a dataset business object.
PLM00071 J
5-21
Chapter 5
On the menu bar, choose BMIDENew Model Element, type Dataset in the
Wizards box, and click Next.
2. In the Business Objects folder, right-click the Dataset business object and
choose New Business Object.
The New Dataset wizard runs.
3. In the Dataset dialog box, enter the following information:
a. The Project box defaults to the already-selected project.
b.
In the Name box, type the name you want to assign to the new business
object in the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
In the Display Name box, type the name as you want it to appear in the
user interface.
For more information, see Localization process in the Business Modeler IDE.
d. In the Parent box, Dataset is already selected as the parent business object.
5-22
e.
f.
Select Create Primary Business Object to make a new class that stores the
data for the new business object. Clear this option to set the storage class as
the same used by the parent business object (in this case, the Dataset class).
g.
PLM00071 J
h. To the right of the Tools for Edit pane, click the Add button to select the
software application to launch when the dataset is selected in Teamcenter. If
the tool does not exist, you must create one using the Tool option.
For more information, see Add a tool.
i.
To the right of the Tools for View pane, click the Add button to select the
software application to be used to view the dataset files. If the desired tool
does not exist, you must create one using the Tool option.
For more information, see Add a tool.
j.
Click Next if you want to add references and parameters to the dataset.
Otherwise, click Finish to complete the dataset creation.
PLM00071 J
For File Type, enter the file name extension (for example, txt, pdf, doc, and
so on).
5-23
Chapter 5
c.
For Format, choose whether the files are binary, object, or text.
d. Click Finish.
Click the arrow in the Operations box to choose the operation to use with the
dataset (for example, Open, OpenUsing, Print, PrintUsing, or Send).
The OpenUsing operation allows the user to select the tool to use for opening
the dataset, and the PrintUsing operation allows the user to select the tool
to use to print the dataset.
c.
To set the file name extensions to associate with the action, click the Add
button to the right of the References table.
The Add Reference wizard runs. In the Reference dialog box, click the arrow
in the Select the Reference Name box to choose the file name reference
for this tool action. Select the Export check box to export the dataset out
of the database.
d. To add parameters to be passed with the action, click the Add button to the
right of the Parameters box.
The Add Parameter wizard runs. Select a parameter and click Finish.
5-24
PLM00071 J
e.
f.
on
You can also create an instance of the custom dataset in the Teamcenter rich
client by choosing FileNewOther.
PLM00071 J
5-25
Chapter 5
Named references
Named references are files attached to a dataset object. A single dataset object may
have one or more named references. To view the named references of a dataset
from the Teamcenter rich client, in My Teamcenter, select the dataset and choose
ViewNamed References, or right-click and choose Named References.
Named references are not to be confused with dataset references, which are the kind
of applications associated with a dataset type.
To view dataset references in the Business Modeler IDE, see References tab.
Dataset creation process in the Teamcenter rich client
When a new dataset is created in the Teamcenter rich client, initially there are no
named references for the dataset or physical files stored on a Teamcenter volume.
When a Teamcenter rich client user opens the new dataset, the following chain of
events takes place:
1. If the user has write access to the dataset object, an implicit (automatic) checkout
occurs. Thereby the user maintains exclusive write access to the data during the
modification session.
2. What happens next is not directly visible to the user:
a. Teamcenter creates a temporary operating system (OS) directory.
b.
c.
c.
5-26
If there are changed or new files, Teamcenter Imports these files back to
Teamcenter and creates the next version of the dataset object.
PLM00071 J
c.
Click the Add button to the right of the Tool Action table. The
Add/Modify Dataset Tool Action dialog box displays.
ii. In the Add/Modify Dataset Tool Action dialog box, click the Browse
button to the right of the Tools box and choose the tool to be used to
open the dataset. For this example, choose the MSWord tool.
iii. Click the arrow in the Operations box and choose the Open action.
PLM00071 J
5-27
Chapter 5
Click Finish.
Windows systems:
Perform one of the following. Either method sets the MIME type:
o
In the Folder Options dialog box, choose the File Types tab and
select the file type. (For this example, choose TXT.)
Click the Advanced button.
c.
d. In the New Action dialog box, type Open with MSWord in the Action
box. Click the Browse button to locate the program executable.
For this example, locate the winword.exe file.
e.
o
Click OK.
c.
Click the arrow in the Dataset Type box and select Text.
e.
Select the Use MIME Type to Search Application for Default Tool
check box.
f.
Click OK.
Linux systems:
Change the mailcap file to specify the action, MIME type, and the associated
application to be launched:
5-28
PLM00071 J
MIME TYPE;Action;Tool:Path
For example:
text/plain;\
view:Notepad:/usr/openwin/bin/xedit
Note
Many applications can support the same MIME type. You can define a
number of tools with the same MIME type, but actually launch different
applications.
Tool definitions affect Teamcenter rich client datasets only. The thin
client uses MIME type associations in an FMS configuration file that are
independent of the tool definitions, but generally compatible. If a script
is identified in the tool definition for the dataset type, and if that script
is found, it is launched. For those tools without scripts, on Windows
clients, the file extension defined in the Windows registry is used, and
the registered applications can be seen from the Windows Explorer
by selecting ToolsFolder OptionsFile Types. On Linux clients,
a Teamcenter supplied .mailcap file is used that contains mappings
between the MIME type and the application name. If the MIME type
of the tool is not specified in the .mailcap file, the application does not
get launched. The .mailcap file can be easily inspected to determine
the mappings.
Specification relations
The IMAN_specification business object defines this relation. Specification
relations are detailed methods, designs, processes, and procedures used to satisfy
requirements. A specification relationship can only be established with an
item revision, not an item. Although requirements may remain fairly constant
for a product (item), actual manufacturing methods, designs, processes, and
procedures may change drastically from model to model (item revisions).
Requirement relations
The IMAN_requirement business object defines this relation. Requirement
relations are criteria that must be satisfied by this item or item revision.
However, requirements often do not specify how this criteria should be satisfied.
PLM00071 J
5-29
Chapter 5
For example, a requirements relation may specify maximum weight for an item
revision but not how to construct it. Extend the business object to create your
own specification relations.
Manifestation relations
The IMAN_manifestation business object defines this relation. Manifestation
relations are nondefining snapshots of a particular aspect of an item or item
revision at a particular moment in time. For example, numerically controlled
(NC) program files are a common manifestation. Consider that they represent
one aspect of an item revision (that is, machining information) and that this
information is only accurate as long as the item revision does not change. If
the item revision does change, the NC program files may no longer be accurate
and may need to be re-created.
Reference relations
The IMAN_reference business object defines this relation. Reference relations
describe a general nondefining relationship of a workspace object to an item or
item revision. This relation type can be thought of as a miscellaneous relation
type. Typical examples of reference relations are white papers, field reports,
trade articles, customer letters, lab notes, and so on.
Click the Properties tab and click the Add button to the right of the
properties table.
c.
Choose Relation as the property type, click the Browse button to the right
of the Relation Business Object box, and select the new relation business
object.
5-30
PLM00071 J
In the Name box, type the name you want to assign to the new business
object in the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
In the Display Name box, type the name as you want it to appear in the
user interface.
For more information, see Localization process in the Business Modeler IDE.
PLM00071 J
5-31
Chapter 5
d. In the Parent box, Identifier is already selected as the parent business object.
e.
f.
Select Create Primary Business Object to make a new class that stores the
data for the new business object. Clear this option to set the storage class as
the same used by the parent business object (in this case, the Identifier class).
g.
h. Click the Add button to the right of the Properties table to add a property
to the business object.
The New Property wizard runs.
For instructions about how to fill in the Persistent Property dialog box, see
Add a persistent property.
i.
Click Next.
In the Parent box, Identifier is already selected as the parent business object.
c.
d. Click the Add button to the right of the Properties table if you want to add
properties to the new business object.
For instructions about how to add properties see Add a persistent property.
e.
Click Finish.
The master and supplemental Identifier business object are created.
5. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
on
5-32
PLM00071 J
Alias identifiers
Alias identifiers are used to store part numbers and other attribute information for
similar parts and they can be associated with many items or item revisions.
For information about how to create alias ID rules, see Add an alias ID rule. For
information about how to use alias and alternate identifiers, see the My Teamcenter
Guide.
Alias identifiers allow you to store information about external entities. For example,
parts can be stored according to their internal naming conventions and also
according to the naming conventions of other companies, such as suppliers. You can
also use alias IDs to maintain a cross reference of the relationship between other
manufacturers part numbers and your own.
In this scenario, each supplier is considered a separate context or a single context
called suppliers and can be created. You then create an identifier business object and
associated attributes, such as supplier name, address, and cost. Contexts are defined
by your administrator and you assign them when you create an alias ID.
Assign an alias identifier in the rich client by choosing FileNewID.
Alternate identifiers
Alternate identifiers store information about part numbers and attributes of the
same part from different perspectives. They allow different user communities to
identify and display an item or item revision according to their own rules rather
than by the rules of the user who created the object.
For instructions about how to create alternate ID rules, see Add an alternate ID
rule. For information about how to use alias and alternate identifiers, see the My
Teamcenter Guide.
Assigning alternate identifiers to a part at different stages of development and
production allows you to maintain a history of the life cycle of the part.
The alternate identifier functionality is enabled by creating identifier business
objects, accessed by users of the rich client from the Revise, New Item, and Save As
dialog boxes or by choosing FileNewID.
Create an application interface business object
Children of the AppInterface business object are used to transfer data between
Teamcenter and an external application. A new entry for each application interface
type is added to the ToolsSend Data To dialog box in the rich client applications
that support application interfaces. The Application Interface Viewer allows you to
control data exchanges between Teamcenter and an external application.
For more information about using the Application Interface Viewer, see the
Multi-Structure Manager Guide.
at the top of the BMIDE view. Type AppInterface in
1. Click the Find button
the search box and click OK.
The AppInterface business object is selected in the Business Objects folder.
2. In the Business Objects folder, right-click the AppInterface business object or
one of its children and choose New Business Object.
PLM00071 J
5-33
Chapter 5
In the Name box, type the name you want to assign to the new business
object in the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
In the Display Name box, type the name as you want it to appear in the
user interface.
For more information, see Localization process in the Business Modeler IDE.
f.
Click the arrow in the Available Tool box to select the application interface
to share data with.
g.
Click the Browse button to the right of the Transfer Mode for Import XML
box. The Teamcenter Repository Connection wizard prompts you to log on to
a server to look up its available transfer modes. Select the transfer mode to
use when importing objects into your database for this application interface.
For more information about setting up a server profile for the Teamcenter
Repository Connection wizard, see Add a server connection profile. For
more information about transfer modes, see the PLM XML/TC XML Export
Import Administration Guide.
h. Click the Browse button to the right of the Transfer Mode for Export XML
box to select the transfer mode to use when exporting objects from your
database for this application interface.
i.
Select the Is Logical Incremental Change Required check box if you need to
create an incremental change object for this application interface. This object
documents the differences between the two states of a product structure.
For additional information about incremental change objects, see the
Structure Manager Guide.
j.
Select Create Primary Business Object to make a new class that stores the
data for the new business object. Clear this option to set the storage class as
the same used by the parent business object (for example, the AppInterface
class).
5-34
PLM00071 J
l.
Click Next.
Click the Add button to the right of the Object List pane to choose the
business objects that can be sent to the external application.
c.
Click Finish.
The new business object appears in the Business Objects folder. A c on the
business object symbol indicates that it is a custom business object.
5. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
on
PLM00071 J
5-35
Chapter 5
3. In the Intermediate Data Capture dialog box, enter the following information:
a. The Project box defaults to the already-selected project.
b.
In the Name box, type the name you want to assign to the new business
object in the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
In the Display Name box, type the name as you want it to appear in the
user interface.
For more information, see Localization process in the Business Modeler IDE.
f.
Click the Browse button to the right of the Transfer Mode for XML box.
You are prompted to log on to a test server to look up its available transfer
modes. Select the transfer mode to use for capturing data and exporting it
to your database.
For more information about setting up a server profile for the Teamcenter
Repository Connection wizard, see Add a server connection profile. For
more information about transfer modes, see the PLM XML/TC XML Export
Import Administration Guide.
g.
h. Click Finish.
The new IntermediateDataCapture object appears in the tree of business
objects.
4. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
on
5-36
PLM00071 J
context object you created and choose ToolsIntermediate Data Capture. Select
your new intermediate data capture business object on the left of the New
Intermediate Data Capture dialog box, select the Open on create check box
and click OK.
The new collaboration context is opened in the Multi-Structure Manager page
with the IDC transfer mode applied.
Create a structure context business object
A StructureContext business object is a BOM or assembly structure contained in a
collaboration context. The structure context can contain occurrence groups, items,
and item revisions.
For more information about structure contexts, see the Multi-Structure Manager
Guide or the My Teamcenter Guide.
at the top of the BMIDE view. Type StructureContext
1. Click the Find button
in the search box and click OK.
The StructureContext business object is selected in the Business Objects
folder.
2. In the Business Objects folder, right-click the StructureContext business object
or one of its children and choose New Business Object.
The New Structure Context wizard runs.
3. In the Structure Context dialog box, enter the following information:
a. The Project box defaults to the already-selected project.
b.
In the Name box, type the name you want to assign to the new business
object in the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
In the Display Name box, type the name as you want it to appear in the
user interface.
For more information, see Localization process in the Business Modeler IDE.
PLM00071 J
e.
f.
g.
Select Create Primary Business Object to make a new class that stores the
data for the new business object. Clear this option to set the storage class
as the same used by the parent business object.
5-37
Chapter 5
Click Finish.
The new business object appears in the tree of business objects.
4. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
menu bar, or select the project and click the Deploy Template button
the main toolbar.
For more information, see How to deploy a template.
6. After deployment, test your new business object in the Teamcenter rich client
by creating an instance of it.
For example, in the My Teamcenter application choose FileNewStructure
Context. Click the More... button and choose the new business object from the
list of available ones. Create an instance of the object and click OK.
Create a general design element business object
A GeneralDesignElement (GDE) business object, also known as an item element,
is used to model any non-physical feature, such as electrical connections, weld
points, mating relationships, and so on. You can manage, release, and instantiate
item elements in a product structure. The GeneralDesignElement business object
is a child of the Form business object.
For more information about using item elements in Teamcenter, see the My
Teamcenter Guide.
at the top of the BMIDE view. Type
1. Click the Find button
GeneralDesignElement in the search box and click OK.
The GeneralDesignElement business object is selected in the Business Objects
folder.
2. In the Business Objects folder, right-click the GeneralDesignElement business
object and choose New Business Object.
The New Item Element wizard runs.
3. In the Item Element dialog box, enter the following information:
a. The Project box defaults to the already-selected project.
b.
In the Name box, type the name you want to assign to the new business
object in the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
5-38
PLM00071 J
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
In the Display Name box, type the name as you want it to appear in the
user interface.
For more information, see Localization process in the Business Modeler IDE.
f.
In the Maximum Instances per Interface box, enter the maximum number
of occurrences allowed for this GDE. You can enter any positive integer,
0, or -1 (infinite).
g.
Select Create Primary Business Object to make a new class that stores the
data for the new business object. Clear this option to set the storage class
as the same used by the parent business object.
Note
Click the Add button to the right of the Attributes table to add attributes
to the business object.
For more information about using the New Attribute wizard, Add or change
attributes on classes.
j.
Click the Add button to the right of the View List to choose the views to
associate with this GDE.
To create view types, see Add a view type.
k. Click Finish.
The new GeneralDesignElement object appears in the tree of business
objects.
4. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
on
PLM00071 J
5-39
Chapter 5
In the Name box, type the name you want to assign to the new business
object in the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
In the Display Name box, type the name as you want it to appear in the
user interface.
For more information, see Localization process in the Business Modeler IDE.
In the Description box, type a description for the new business object.
Enter the following information in the Storage Class pane:
A. Click Use new class to create a new storage class to store the properties
and attributes.
To choose an existing class as the form storage class, click the Use
existing class button and click Browse.
B. In the Name box, type the name you want for the form storage class.
C. If you previously chose the Use new class button, in the Parent box
enter the class you want to be the parent of new form storage class.
5-40
PLM00071 J
g.
If you want to add a property to the form storage class, click the Add button
on the right side of the Properties dialog box.
The New Property wizard runs. After the attribute is added, you can change
values as desired by clicking cells in the attribute table.
For instructions about how to fill in the Persistent Property dialog box, see
Add a persistent property.
h. Click Finish.
The new business object appears in the business objects tree. A c on the
business object symbol indicates that it is a custom business object.
4. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
on
PLM00071 J
5-41
Chapter 5
When an instance of the business object is checked in, a check mark is placed
on the icon:
5-42
File name
Description
A5_pencil_16.png
PLM00071 J
Image
File name
Description
A5_checkmark_16.png
A5_xmark_16.png
On the Main tab in the Business Object Constants table, select the
Fnd0Icon business object constant and choose the Edit button.
c.
In the Modify Business Object Constant dialog box, click the Browse button
to the right of the Icon box and select the primary icon you want to represent
the business object.
The icon appears in the Fnd0Icon business object constant row of the table.
At this point, you can deploy your project template to a test server or
package your project template for installation to a production server, and
the icon displays on all instances of the specified business object in the rich
client. However, if you want to overlay decorations onto the primary icon,
PLM00071 J
5-43
Chapter 5
you must also create a property renderer file to render the overlays on the
primary icon.
4. Create a property renderer to associate icons with properties.
In this step, you define images to appear depending on the properties on the
business object. For example, you can overlay an image on the primary icon if
the checked_out property resolves to the Y value.
a. Create the property renderer.
A. Choose one of these methods:
D. Click Finish.
b.
5-44
PLM00071 J
Note
C. Click the Browse button to the right of the Condition box to select the
condition to specify when the renderer should be used.
For the purposes of the example, to add an overly icon, choose the isTrue
condition.
D. Click Finish.
c.
To save the changes to the data model, choose BMIDESave Data Model, or
click the Save Data Model button
PLM00071 J
5-45
Chapter 5
Property renderer
5. Deploy the icons to a server in one of two ways:
Package the template using the Package Template Extensions wizard and
deploy to a production server using Teamcenter Environment Manager
(TEM).
For more information, see Package extensions into a template and Install a
template using TEM.
When you deploy or package the template, the icons are placed in a
project_icons.zip file.
5-46
PLM00071 J
Packaged icons
When icons are deployed to a server, the zipped template icon files are placed
in the TC_DATA/model/icons directory, and the manage_icon_files utility is
used internally to upload the icons into Fnd0IconResource dataset instances
in the database. To search for these datasets using the rich client, search for the
Icon Resource Dataset type.
6. View the icons in the rich client.
a. Create an instance of the business object in the rich client.
For example, in the My Teamcenter application in the rich client, choose
FileNewItem and choose the custom business object in the example. Note
the new icon on the business object.
PLM00071 J
5-47
Chapter 5
If any overlays are placed on the icon, change the state of the business object
instance to view them.
For example, when the custom business object is checked in, a check mark
appears on the icon. And when the custom business object is checked out, an
X appears on the icon.
Icons
Represents the root element icons and is the outer container element that
maintains a sequence of the propertyMap, primaryIcon, and overlayIcon
elements. It also contains a version attribute to support versioning of the XML.
overlayIcon
Represents the icon that is overlayed on top of a base primary icon. The
overlay icon should be transparent so not to obscure the primary icon. This
element contains a string source attribute. The overlay icon can be limited to
a specific primary icon (placed as a child element) of the primary icon, or it
can be independent of the primary icon thus applying to any primary icon. If
5-48
PLM00071 J
the visibleWhen expression is used with an overlay icon, the overlay icon is
rendered only if the visibleWhen expression evaluates to true.
primaryIcon
Represents the base icon. It contains a string source attribute that refers to
the dataset name containing the icon, either directly or indirectly through
the propertyMap element. This element can contain a visibleWhen clause
as well as overlayIcon elements that are tied to this specific primary icon.
Only one primary icon may be visible for a given type. If multiple primary icon
visibleWhen expressions evaluate to true, an error occurs.
This element can contain the following elements:
o
source
Contains a string source attribute that refers to the dataset name
containing the icon. This can be done directly (for example, <primaryIcon
source="A5_icon.png"/>), or indirectly using the propertyMap
element or the name of a property (for example, <primaryIcon
source="a5_MyProperty"/>), or by pointing to the Fnd0Icon business
object constant (for example, <primaryIcon source="Fnd0Icon"/>).
visibleWhen
Specifies when icons are visible. This element is valid for both the
primaryIcon element and overlayIcon element. The expression it
contains is passed to the Eclipse expression engine for evaluation. All cached
properties for the given component, as well as metadata about the type such
as type constants, are used as context for the expression to evaluate. For
more information about the core Eclipse expressions used to evaluate the
visibleWhen element, see the following URL:
http://wiki.eclipse.org/Command_Core_Expressions
You can use the currentTcComponent variable to access the
TCComponent method, as shown in this example from the
Fnd0sm_scheduletask_icon property renderer:
<visibleWhen>
<with variable="currentTcComponent">
<test property="com.teamcenter.rac.kernel.TCComponent.property"
value="1" args="task_type" />
</with>
</visibleWhen>
PLM00071 J
propertyMap
5-49
Chapter 5
In this example, different overlay icons are placed on the primary icon depending
on a property value:
<?xml version="1.0" encoding="UTF-8"?>
<icons Version="1.0">
<propertyMap name="checkoutMap">
<item key="Y" value="A5_small_green_dot"/>
<item key="N" value="A5_small_red_dot"/>
<item key=" " value="A5_small_blue_dot"/>
</propertyMap>
<primaryIcon source="A5_Requirement.png">
<overlayIcon source="checked_out" mapName="checkoutMap"/>
</primaryIcon>
</icons>
In this example, the overlay icons are visible only when a property has a certain
value:
<?xml version="1.0" encoding="UTF-8"?>
<icons Version="1.0">
<propertyMap name="CheckedOutMap">
<item key="Y" value="A5_small_green_dot.png"/>
<item key="N" value="A5_small_red_dot.png"/>
<item key=" " value="A5_small_blue_dot.png" />
</propertyMap>
<primaryIcon source="A5_draw.png"/>
<overlayIcon source="checked_out" mapName="CheckedOutMap" >
<visibleWhen>
<with variable="current_desc">
<equals value="overlay" />
</with>
</visibleWhen>
</overlayIcon>
</icons>
In this example, the overlay icon is visible when a property condition is met:
<?xml version="1.0" encoding="UTF-8"?>
<icons Version="1.0">
<propertyMap name="checkoutMap">
<item key=" " value=""/>
<item key="Y" value="small_red_dot"/>
<item key="N" value=""/>
</propertyMap>
<primaryIcon source="A5_Email.png"/>
<overlayIcon source="checked_out" mapName="checkoutMap">
<visibleWhen>
<with variable="is_modifiable">
<not>
<equals value="Y"/>
</not>
</with>
</visibleWhen>
</overlayIcon>
</icons>
In this example, the overlay icon is visible when multiple property conditions
are met:
<?xml version="1.0" encoding="UTF-8"?>
<icons Version="1.0">
<propertyMap name="IsCheckoutableMap">
<item key="Y" value="A5_small_blue_dot.png" />
</propertyMap>
<propertyMap name="checkoutMap">
<item key=" " value="A5_small_red_dot.png"/>
<item key="Y" value="A5_small_green_dot.png"/>
<item key="N" value="A5_small_red_dot.png"/>
</propertyMap>
5-50
PLM00071 J
<primaryIcon source="A5_CompanyAlt.png">
<visibleWhen>
<with variable="item_revision">
<not>
<equals value="1" />
</not>
</with>
</visibleWhen>
</primaryIcon>
<primaryIcon source="A5_Company.png" />
<overlayIcon source="checked_out" mapName="checkoutMap">
<visibleWhen>
<with variable="checked_out">
<not>
<equals value="N"/>
</not>
</with>
</visibleWhen>
</overlayIcon>
<overlayIcon source="fnd0IsCheckoutable" mapName="IsCheckoutableMap">
<visibleWhen>
<with variable="IsCheckoutable" >
<equals value="Y" />
</with>
</visibleWhen>
</overlayIcon>
</icons>
PLM00071 J
5-51
Chapter 5
For more information about the Operation Descriptor tab, see Operation Descriptor
tab.
Note
1. Right-click the business object for which you want to make the change, choose
Open, click the Operation Descriptor tab in the resulting view, and in the
Operation box, select CreateInput.
2. If there is a property in the table for which you want to change its visible or
required behavior, select the property in the table and click the Edit button.
In the OperationInput Property dialog box, select the Required or Visible check
boxes and click Finish.
3. If there is a property you want to add to the list of visible and required properties
on the business object, click the Add button to the right of the table.
The New OperationInput Property wizard runs.
4. In the OperationInputProperty dialog box, select one of the two options to add a
property:
b.
Select Required to make the property required for entry in the creation
dialog box. The property on the creation dialog box displays a red
asterisk indicating that the user is required to fill it in.
Select Visible to make the property display in the creation dialog box.
c.
None
Select if the property is not a relation or reference property that
references a secondary object.
Type
Select if this is a property associated with a secondary object that is
to be created from the value in the CompoundObjectType box.
5-52
Constant
PLM00071 J
f.
g.
Click Finish.
PLM00071 J
5-53
Chapter 5
In the Name box, type a name for the new run-time property.
c.
In the Attribute Type box, select the storage type for the attribute, for
example, String. Choose from the following attribute types:
o
Boolean
Allows two choices to the user (True or False).
Character
A single character, such as A, B, Z.
Date
A calendar date. A form using this format displays a shortcut date
selector.
Double
An 8-byte decimal number from the range 1.7E to 308.
ExternalReference
Points to data outside of Teamcenter.
Integer
An integer without decimals from 1 to 999999999.
Logical
A Boolean value of True or False.
String
A string of characters.
TypedReference
Points to a Teamcenter class.
UntypedReference
Points to any class of data.
d. If the attribute is a string attribute, in the String Length box, type the
byte length of the attribute.
For Western languages, one character requires one byte. For example, a
field with a string length of 128 can accommodate 128 characters of a
Western language. However, for multibyte languages such as Chinese,
Japanese, and Korean, one character requires two bytes. Therefore, a
field with a string length of 128 can accommodate only 64 characters.
e.
5-54
PLM00071 J
f.
g.
The Required and Visible check boxes are not available because
run-time properties are calculated during run time and therefore
cannot be configured for the creation input.
Array?
Specifies that the attribute is an array of the data of the data type
(for example, string).
Unlimited
Indicates that there is no limit on the number of array elements
used for the attribute.
MaxLength
Specifies the maximum number of array elements allowed for the
attribute.
h. Click Finish.
PLM00071 J
5-55
Chapter 5
on
1. In the Business Objects folder, right-click the business object for which you
want to make the change and choose Open. Click the Operation Descriptor tab
in the resulting view, and in the Operation box, select SaveAsInput.
2. If there is a property in the table for which you want to change its visible or
required behavior, select the property in the table and click the Edit button.
In the OperationInput Property dialog box, select the Required or Visible check
boxes and click Finish.
3. If there is a property you want to add to the list of visible and required properties
on the business object, click the Add button to the right of the table.
The New OperationInput Property wizard runs.
4. In the OperationInputProperty dialog box, select one of the two options to add a
property:
5-56
PLM00071 J
a. Click the Browse button to the right of the Property Name box to select
an existing property.
Note
b.
Required
Makes the property required for entry in the save as dialog box. The
property on the save as dialog box displays a red asterisk indicating
that the user is required to fill it in.
CopyFromOriginal
Copies the value of the property from the original object.
Visible
Displays the property in the creation dialog box.
c.
d. Click Finish.
PLM00071 J
5-57
Chapter 5
In the Name box, type a name for the new run-time property.
c.
In the Display Name box, type the name as you want it to appear in the
user interface.
d. In the Attribute Type box, select the storage type for the attribute, for
example, String. Choose from the following attribute types:
o
Boolean
Allows two choices to the user (True or False).
Character
A single character, such as A, B, Z.
Date
A calendar date. A form using this format displays a shortcut date
selector.
Double
An 8-byte decimal number from the range 1.7E to 308.
ExternalReference
Points to data outside of Teamcenter.
Integer
An integer without decimals from 1 to 999999999.
Logical
A Boolean value of True or False.
String
A string of characters.
TypedReference
Points to a Teamcenter class.
UntypedReference
Points to any class of data.
e.
If the attribute is a string attribute, in the String Length box, type the
byte length of the attribute.
For Western languages, one character requires one byte. For example, a
field with a string length of 128 can accommodate 128 characters of a
5-58
PLM00071 J
g.
The Required and Visible check boxes are not available because
run-time properties are calculated during run time and therefore
cannot be configured for the creation input.
Array?
Specifies that the attribute is an array of the data of the data type
(for example, string).
Unlimited
Indicates that there is no limit on the number of array elements
used for the attribute.
MaxLength
Specifies the maximum number of array elements allowed for the
attribute.
i.
PLM00071 J
Click Finish.
5-59
Chapter 5
on
5-60
PLM00071 J
You can define a constant to have a specific scope so that it is available only on
certain business objects. This ensures that server API can retrieve the value
properly on just those business objects. When you create a new constant, you must
also add the code on the server to return the constants value to the caller, so the
caller can branch the business logic based on the returned value.
You can create business object constants for a number of situations. Some examples
are:
Set the display name of a Workspace business object or one of its children.
Define the icon to be used for the business object in the user interface.
For example, create a business object constant to show an icon for Microsoft Word
datasets. It can be called IconName and have a scope of MSWord, a data type of
String, and a default value of MSIcon.png. Then a My Teamcenter application
developer can link the MSWord.IconName=MSIcon.png value so that the icon is
displayed for Microsoft Word datasets in My Teamcenter.
The server side code can use the following published ITK to retrieve a business
object constant value:
int CONSTANTS_get_type_constant_value (
const char*
constant_name,
const char*
type_name,
char**
value
);
/* <I> */
/* <I> */
/* <OF> */
For instructions about how to create business object constants, see Create a business
object constant. For instructions about how to change business object constants, see
Change the value of a business object constant. For reference information about
business object constants, see Business object constants reference.
Create a business object constant
1. Choose one of these methods:
In the Name box, type the name you want to assign to the new constant
in the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
PLM00071 J
5-61
Chapter 5
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
Click the arrow in the Data Type box to choose one of the following:
Boolean
Allows two choices to the user (True or False).
String
Indicates that the value is a text string.
List
Contains a list of values.
f.
If you selected the List data type, a Values table appears. Click the Add
button to the right of the Values table to add values to the list:
A. In the Value box, type a value for the list.
B. Select Secured to prevent the selected value from being overridden by
another template.
C. Click Finish.
g.
In the Default Value box, enter the initial value of the constant. Entry differs
depending on the data type you previously chose:
If you selected the String data type, type in the default value.
If you selected the Boolean data type, click the arrow to select True or
False for the default value.
If you selected the List data type, click Browse to select a value from the
available ones on the list.
Note
h. Use the following check boxes to enable the constant for live updates:
5-62
PLM00071 J
In a live updates environment, you can deploy changes for custom constants,
but you cannot deploy changes for COTS constants.
For more information about live updates, see Introduction to live updates.
i.
Click Finish.
The new constant appears under the Business Object Constants folder.
Note
You can also see the constant on the business object it is applied
to. Right-click the business object and choose Open. The constant
appears in the Business Object Constants table on the Main tab.
To modify the value of the constant, select the constant on the
Business Object Constants table and click the Edit button.
3. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
4. Deploy your changes to the test server. Choose BMIDEDeploy Template on the
menu bar, or select the project and click the Deploy Template button
the main toolbar.
on
PLM00071 J
5-63
Chapter 5
2. In the Business Object Constants table, select the constant that you want
to change and click the Edit button.
The Modify Business Object Constant dialog box is displayed.
3. Type an entry in the Value box.
Valid values are dependent on the business object constant. For valid values,
view the description of the constant. To see the description of the constant, in
the Extensions folder, open the Constants\Business Object Constants folders
and select the constant. The constant details, including a description of the
constant, appear in the Business Object Constant editor.
For more information about the valid values for the business object constants,
see Business object constants reference.
4. Click Finish.
The new value for the constant displays in the Value column of the Business
Objects Constants table.
If you want to set the value back to its previous value, click the Reset button.
This reloads the data model, because all children of a parent business object
inherit the parent constants, and resetting the value on a parent business object
also resets the value on all the children.
5. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
If you want to set the value back to its previous value, click the Reset button
to the right of the Business Objects Constants table. This reloads the data
model, because all children of a parent business object inherit the parent
constants, and resetting the value on a parent business object also resets
the value on all the children.
Adc0AssociateWithChangeNotice
Associates an item revision type with a change notice during creation and
revision. The business objects for which the value of this constant is true are
5-64
PLM00071 J
AttributesNotCpdFwdIDReviseAlter
Specifies the attributes not to copy forward during revision of alternate
identifiers. This constant is placed on Identifier business objects and their
children. This constant is used by the setIdentifierProperties extension.
In the Value box, type the attributes that you do not want to be copied forward.
Separate the attributes by commas, for example:
archive_date,archive_info
AttributesNotCpdFwdIDSaveasAlter
Specifies the attributes not to copy forward when performing a save as operation
on alternate identifiers. This constant is placed on Identifier business objects
and their children. This constant is used by the setIdentifierProperties
extension.
In the Value box, type the attributes that you do not want to be copied forward
when the Save As operation is run on an alternate ID. Separate the attributes
by commas, for example:
archive_date,archive_info
AutoAssignOwningOrg
Allows the owning organization for an object to be set automatically when
the object is created. The owning organization is set as the organization
corresponding to the login group of the user. This constant is placed on
WorkspaceObject business objects and their children. Select the Value check
box to toggle the value between true and false.
This constant is provided by the adsfoundation template file.
AutoCopyRel
Finds the latest revision of the related objects when an item revision is
revised, and creates a relation to the new revision. This constant is placed on
ItemRevision business objects and their children.
In the Value box, type an entry to set how relations are copied. The format for
the constant is a comma-separated list of string values specifying the relation
PLM00071 J
5-65
Chapter 5
AutoRevise
Finds the latest revision of a related object when an item revision is revised,
revises it, and creates the relation to the new revision. This constant is placed on
ItemRevision business objects and their children.
Type an entry in the Value box to set how revisions are made. The format for the
constant is a comma-separated list of string values specifying the relation name
(TC_Is_Represented_By), the related business object name, and the direction
to expand the relation (either LookLeft or LookRight).
For example, to configure the system to automatically revise a mature design
when a part is revised for a part revision, set this constant to:
TC_Is_Represented_By,Design Revision,LookRight
If the related latest revision is not mature, the relation is created without
revising the other side.
This constant is provided by the foundation template file.
Note
BaselineCheckNXBVRSync
Enables checks for NX data synchronization when baselining. Set the constant
to true to enable the check. This constant is placed on the ItemRevision
business object and its children. The default value is false. Select the Value
check box to change the value between true and false.
This constant is provided by the foundation template file.
For more information about baselines, see the Structure Manager Guide.
BatchPrintProviderName
Defines the provider name for batch printing. This constant is placed on Item,
ItemRevision, and Dataset business objects and their children. If these
business objects are selected for a print configuration, this constant specifies the
name of the provider in the print configuration. The default value is SIEMENS.
5-66
PLM00071 J
BatchPrintServiceName
Defines the service name for batch printing. This constant is placed on Item,
ItemRevision, and Dataset business objects and their children. If these
business objects are selected for a print configuration, this constant specifies the
name of the service in the print configuration. The default value is batchprint.
This constant is provided by the foundation template file.
For directions about how to create print configurations, see Create a print
configuration.
BidPackageLineItemCustAttrs
Contains the line item custom attributes form to be associated with a bid
package line item. When an end user in the Teamcenter rich client creates a new
vendor management bid package, he can add line items to the bid. The form
holds custom attributes to bid package line items. This constant is placed on
BidPackageLineItem business objects and their children.
Type an entry in the Value box to set the form to use for line item custom
attributes. By default, no value is set for this constant, and no form is assigned.
This constant is provided by the vendormanagement template file.
Ccd0ExportOptions
Specifies a form business object to be used for CCDM data export. This constant
is placed on the Ccd0ParmFile business object and its children. The default
value is NULL. Type a value in the Value box to add a form business object type.
If form business object types are placed in this constant, when an end user will
selects a project from the Software Parameter Management application and
chooses ToolsExportSoftware Parameters, the Export File Type Options
dialog box shows the values exported from the form type.
This constant is provided by the ccdm template file. This constant is used by
Embedded Software Solutions.
For more information about Embedded Software Solutions, see the Embedded
Software Solutions Guide.
Ccd0FileTypeExchangeSupported
Specifies the actions that can be taken on a business object for CCDM data
import or export. This constant is placed on the Ccd0ParmFile business object
and its children. The default values are Export, Import, None, and Both. The
default value set on the Ccd0ParmFile business object is None. To select
another value, choose it in the Value box on the business object.
This constant is provided by the ccdm template file. This constant is used by
Embedded Software Solutions.
For more information about Embedded Software Solutions, see the Embedded
Software Solutions Guide.
PLM00071 J
5-67
Chapter 5
Ccd0ImportOptions
Specifies a form business object to be used for CCDM data import. This constant
is placed on the Ccd0ParmFile business object and its children. The default
value is NULL. Type a value in the Value box to add a form business object type.
This constant is used by Embedded Software Solutions.
If form business object types are placed in this constant, when an end user will
selects a project from the Software Parameter Management application and
chooses ToolsImportSoftware Parameters, the Import File Type Options
dialog box shows the values exported from the form type.
This constant is provided by the ccdm template file.
For more information about Embedded Software Solutions, see the Embedded
Software Solutions Guide.
CMHasImpactedItemCreCondition
Specifies the condition used to create a CMHasImpactedItem relation on
the business object. This constant is placed on the ChangeItemRevision
and ScheduleTask business objects and their children. The default value is
the isCMHasImpactedItemCreatable condition, which determines if the
CMHasImpactedItem relation is creatable. Type a value in the Value box to
change the condition to use.
This constant is provided by the foundation template file.
For more information about Change Manager conditions, see Change
Management conditions.
CMHasProblemItemCreCondition
Specifies the condition used to create a CMHasProblemItem relation on
the business object. This constant is placed on the ChangeItemRevision
and ScheduleTask business objects and their children. The default value is
the isCMHasProblemItemCreatable condition, which determines if the
CMHasProblemItem relation is creatable. Type a value in the Value box to
change the condition to use.
This constant is provided by the cm template file.
For more information about Change Manager conditions, see Change
Management conditions.
CMHasSolutionItemCreCondition
Specifies the condition used to create a CMHasSolutionItem relation on
the business object. This constant is placed on the ChangeItemRevision
and ScheduleTask business objects and their children. The default value is
the isCMHasSolutionItemCreatable condition, which determines if the
CMHasSolutionItem relation is creatable. Type a value in the Value box to
change the condition to use.
This constant is provided by the cm template file.
For more information about Change Manager conditions, see Change
Management conditions.
5-68
CMHasWorkBreakdownCreCondition
PLM00071 J
CMImplementsCreCondition
Specifies the condition to use to create a CMImplements relation on the
business object. This constant is placed on the ChangeItemRevision business
object and its children. The default value is the isCMImplementsCreatable
condition, which determines if the CMImplements relation is creatable. Type a
value in the Value box to change the condition to use.
This constant is provided by the cm template file.
For more information about Change Manager conditions, Change Management
conditions.
CMReferencesCreCondition
Specifies the condition used to create a CMReferences relation on the
business object. This constant is placed on the ChangeItemRevision and
ScheduleTask business objects and their children. The default value is the
isCMReferencesCreatable condition, which determines if the CMReferences
relation is creatable. Type a value in the Value box to change the condition to use.
This constant is provided by the cm template file.
For more information about Change Manager conditions, see Change
Management conditions.
Cm0AnalystAssignableCondition
Specifies the condition to use to determine if the analyst user is assignable.
This constant is placed on the ChangeItemRevision business object and its
children. The default value is the isAnalystAssignable condition, which
determines if the analyst user is assignable. Type a value in the Value box to
change the condition to use.
This constant is provided by the cm template file.
For more information about Change Manager conditions, see Change
Management conditions.
Cm0AuditsItemCreCondition
Specifies the condition used to check the status of the configuration audit
before creation of an Audits Items relation. This constant is placed on the
Cm0GnReviewRevision business object and its children. The default value
is the Cm0isCm0AuditsItemCreatable condition, which determines if the
configuration audit is open. Type a value in the Value box to change the
condition to use.
PLM00071 J
5-69
Chapter 5
Cm0HasContractCreCondition
Specifies the condition used to check the status of the configuration audit
before creation of a Has Contract relation. This constant is placed on the
Cm0GnReviewRevision business object and its children. The default value
is the Cm0isCm0HasContractCreatable condition, which determines if
the configuration audit is open. Type a value in the Value box to change the
condition to use.
This constant is provided by the cm template file.
For more information about Change Manager conditions, see Change
Management conditions. For more information about configuration audits, see
the Aerospace and Defense Solution Guide.
Cm0IncorporatesCreCondition
Specifies the condition used to create a Cm0Incorporates
relation on the business object. This constant is placed on the
ChangeItemRevision business object and its children. The default value
is the Cm0isCm0IncorporatesCreatable condition, which determines if
the Cm0Incorporates relation is creatable. Type a value in the Value box to
change the condition to use.
This constant is provided by the cm template file.
For more information about Change Manager conditions, see Change
Management conditions.
Cm0RaisesActionItemsCreCondition
Specifies the condition used to check if the closure status of the configuration
audit is open and the Audits Item relationship is established before
creation of the Raises Action Item relation. This constant is placed on the
Cm0GnReviewRevision business object and its children. The default value
is the Cm0isCm0RaisesActionItemsCreatable condition, which determines
if the configuration audit is open. Type a value in the Value box to change the
condition to use.
This constant is provided by the cm template file.
For more information about Change Manager conditions, see Change
Management conditions. For more information about configuration audits, see
the Aerospace and Defense Solution Guide.
Cm0RequestorAssignableCondition
Specifies the condition to use to determine if the requestor user is assignable.
This constant is placed on the ChangeItemRevision business object and its
children. The default value is the isRequestorAssignable condition, which
determines if the requestor user is assignable. Type a value in the Value box to
change the condition to use.
This constant is provided by the cm template file.
5-70
PLM00071 J
Cmt0ContMgmtPublishProviderName
Defines the Dispatcher provider name used for Content Management
publishing. The default value is SIEMENS. This constant is placed on the
DC_PublicationRevision and DC_TopicRevision business objects and their
children.
Type an entry in the Value box to change the provider name. The provider name
is shown when generating files using the Dispatcher.
This constant is provided by the contmgmtbase template file.
For more information about Content Management publishing, see the Content
Management Guide. For more information about using the Dispatcher, see
Getting Started with Dispatcher (Translation Management).
Cmt0ContMgmtPublishServiceName
Defines the Dispatcher service name used for Content Management publishing.
The default value is contmgmtpublish. This constant is placed on the
DC_PublicationRevision and DC_TopicRevision business objects and their
children.
Type an entry in the Value box to change the provider name. The provider name
is shown when generating files using the Dispatcher.
This constant is provided by the contmgmtbase template file.
For more information about Content Management publishing, see the Content
Management Guide. For more information about using the Dispatcher, see
Getting Started with Dispatcher (Translation Management).
Cpd0AllowedContentTypes
Contains a list of the allowed content business object types. This constant is
placed on the Cpd0WorksetModel business object and its children. The default
value is Mdl0ModelElement,Mdl0ModelArtifact
This constant is provided by the cpd template file.
For more information about the use of this constant in 4th Generation Design
(4GD), see the 4th Generation Design Guide.
Cpd0AllowedDesignItemTypes
Specifies a list of item business objects allowed to be instanced into a
collaborative design by a design element. The default value is empty. If this list
is empty, any item business object type is allowed for the source object. This
constant is placed on the Cpd0DesignElement business object and its children.
This constant is provided by the cpd template file.
For more information about the use of this constant in 4th Generation Design
(4GD), see the 4th Generation Design Guide.
PLM00071 J
Cpd0AllowedPartitionSchemeTypes
5-71
Chapter 5
Specifies allowed partition scheme types. Partition memberships for the design
element type can be created only when the partition type is an allowed partition
type for the partition scheme type specified in the comma-separated list. This
constant is only applicable for reuse and subordinate design element types. If
the value of this constant is empty, reuse and subordinate design elements are
unassigned members. This constant is placed on the Cpd0DesignElement
business object and its children. It has no default value. Type in the Value box to
add a comma-separated string list of partition scheme types.
This constant is provided by the cpd template file.
For more information about the use of this constant in 4th Generation Design
(4GD), see the 4th Generation Design Guide.
Cpd0AttachToItemRevision
Determines whether a mapped form is attached to an item revision when a
design feature is copied to a manufacturing bill of materials (MBOM). This
constant is placed on the Cpd0DesignFeature business object and its children.
The default value is true. If the value is set to false, the form is attached to
the item instead of the item revision. Select the Value check box to toggle the
value between true and false.
This constant is provided by the cpd template file.
For more information, see the Manufacturing Process Planner Guide.
Cpd0DefaultBOMViewPreference
Specifies the name of the preference for the default BOM view. Valid preference
names are the PSE_default_view_type or TC_NX_View_Type preference.
This constant is placed on the Cpd0DesignItemInstance business object and
its children. The default value is PSE_default_view_type. Type a value in the
Value box to change it to a valid preference.
This constant is provided by the cpd template file.
For more information about the use of this constant in 4th Generation Design
(4GD), see the 4th Generation Design Guide.
Cpd0DefaultDERevRule
Specifies the default revision rule to use when creating reuse
Cpd0DesignElement business objects in the model. The default value is
empty. This constant is placed on the Mdl0ApplicationModel business object
and its children.
This constant is provided by the cpd template file.
For more information about the use of this constant in 4th Generation Design
(4GD), see the 4th Generation Design Guide.
Cpd0DefaultSubsetRevRule
Specifies the default revision rule to use when creating reuse
Cpd0DesignSubsetElement business objects in the model. The default value
is empty. This constant is placed on the Cpd0WorksetModel business object
and its children.
This constant is provided by the cpd template file.
5-72
PLM00071 J
For more information about the use of this constant in 4th Generation Design
(4GD), see the 4th Generation Design Guide.
Cpd0FrozenByStatusList
Specifies a list of status names that indicate which statuses should be interpreted
as preventing further change to an item revision or design element. This
constant is used by item realization to assess if a reuse or subordinate design
element can be checked in or not. The default value is empty. If the list is empty,
all status values are considered to freeze the object. This constant is placed on
the Cpd0DesignItemInstance business object and its children.
This constant is provided by the cpd template file.
For more information about the use of this constant in 4th Generation Design
(4GD), see the 4th Generation Design Guide.
Cpd0ItemRlzCarryFwdSourceEffExpr
Specifies the default effectivity carryover option for item realization. This sets
the check box for synchronization effectivity in the item realization dialog box.
This value is honored for realization creation only and not for update. This
constant is placed on the Mdl0ApplicationModel business object and its
children. The default value is 2. Type a value in the Value box to change the
value.
Value
Resolves to
Cpd0ItemRlzCarryFwdSourceVarExpr
Specifies the default variant carryover option for item realization. This sets
the check box for synchronization variant expressions in the item realization
dialog box. This value is honored only for realization create and not for update.
This constant is placed on the Mdl0ApplicationModel business object and its
children. The default value is 2. Type a value in the Value box to change the
value.
PLM00071 J
Value
Resolves to
5-73
Chapter 5
Value
Resolves to
Cpd0ItemTypeForDesignFeature
Maps a design feature business object to an item business object in the BOM
line. This constant is placed on the Cpd0DesignFeature business object and its
children. The default value is PSConnection. To change the value, type the
name of another item business object in the Value box.
This constant is provided by the cpd template file.
For more information, see the Manufacturing Process Planner Guide.
Cpd0ItemTypeToSubordinateDEType
Specifies the subordinate design element type to be created during item
realization creation or update. If a subordinate design element is already created
for its corresponding product structure occurrence in that realization, the design
element type is not changed during update. This constant is placed on the Item
business object and its children. There is no default value. To set the value, type
a design element type name in the Value box.
This constant is provided by the cpd template file.
For more information about the use of this constant in 4th Generation Design
(4GD), see the 4th Generation Design Guide.
CreateInput
Specifies the business object to use for item creation input when an end user in
the Teamcenter rich client or thin client creates a new item. This constant is
placed on all business objects. To see the properties to use for input, open the
Operation Descriptor tab on the business object, and in the Operation box,
select CreateInput.
Type an entry in the Value box to set the business object to use for create input.
This constant is provided by the foundation template file.
For more information about the CreateInput operation, see Manage create and
save as operations on business objects.
DefaultViewPrecision
Specifies the precision of the BOM view used by the business object. This
constant is placed on the ParmGrpDef business object and its children.
Click the arrow in the Value box to select one of the following:
o
Precise
Specifies a precise BOM view.
5-74
Imprecise
PLM00071 J
DisplayName
Specifies the name displayed for an object instance. This constant applies to all
WorkspaceObject, RevisionAnchor, and Fnd0AuditLog business objects
and their children.
In the Value box, type the properties you want to display using this format:
$property +. The default is $object_name for workspace objects, but additional
properties are added depending on the type of business object. For example, the
default value for item revisions is $item_id + "/" + $item_revision_id + ";" +
$sequence_id + "-" + $object_name.
As of Teamcenter 8.1, this constant replaced the mechanism for Display Name
that is exposed in EditOptions.
This constant is provided by the foundation template file.
Related business object constants are MultiFieldKey and
ShowIdenticalItemIdAndName.
For more information, see Configure the displayed name of business object
instances.
Fnd0AllowCheckOutOnCreate
Determines if a newly created business object is checked out as soon as
it is created. The default value is false. This constant is placed on the
WorkspaceObject business object and its children. Select the Value check box
to change the value between true and false. (An error results during the creation
of an object if this constant is false, and the fnd0checkOutOnCreate property
is set to be visible on the CreateInput operation of the Operation Descriptor tab.)
This constant is provided by the foundation template file.
Fnd0AllowReviseOperation
Indicates whether the revise operation is allowed for a given revisable business
object type. This constant does not make that type revisable, it merely indicates
to the system that revise is allowed for a given revisable type. This constant only
can be set on revisable types, and it has no effect on business object types that
are not defined as revisable within the system.
The default value is true. Select the Value check box to change the value
between true and false. This constant is set to true on the ItemRevision and
Identifer business objects and their children in the Foundation template, and
on the Mdl0ConditionalElement business object in the 4th Generation Design
(4GD) template.
This constant is provided by the foundation template file.
PLM00071 J
5-75
Chapter 5
For more information about configuring the revise operation, see Add a deep
copy rule.
Note
Fnd0AllowedTaskLocation
Specifies the valid level at which a schedule task can appear. This constant is
placed on the ScheduleTask business object and its children. The default value
is Any. Click the arrow in the Value box to select from the following available
values: Any, TopLevelOnly, NotTopLevel, or LeafLevelOnly.
This constant is provided by the foundation template file.
For more information about Schedule Manager, see the Schedule Manager Guide.
Fnd0ArchiveLocation
Specifies the audit log archive location (for example, c:\archive). System
administrators use Audit Manager to create audit logs that track what
information has changed and who has changed the information.
The value of this business object constant is used by the audit_purge utility,
which archives audit logs in TC XML format. The value of the archive location is
obtained from the Fnd0ArchiveLocation business object constant only if the
archive location is not set in the utility by the -archive_location argument.
This constant is placed on the Fnd0AuditLog business object and its children.
The default value is NULL. Type a value in the Value box to change its value.
This constant is provided by the foundation template file.
For more information about Audit Manager, see the Audit Manager Guide.
Fnd0AssociatedBOMLine
Registers a BOM line business object against an item type so that each time the
item type is opened in any PS occurrence structure editor, the registered BOM
line business object is instantiated. This constant is placed on the ItemRevision
business object and its children.
The business objects available in the constant are the following children of the
BOMLine business object:
ImanItemLine
Fnd0BuildingBlockBOMLine
Fnd0RequirementBOMLine
Fnd0FunctionalBOMLine
Fnd0LogicalBOMLine
The default BOM line business object instantiated is ImanItemLine. To select
another of the BOM line business objects to instantiate, open the ItemRevision
business object or one of its children, and in the Business Object Constants
table, select the Fnd0AssociatedBOMLine constant and click the Edit button to
select one of the other available BOM line classes.
This constant is provided by the foundation template file.
5-76
PLM00071 J
For more information about the use of BOM lines in Teamcenter Systems
Engineering, see the Systems Engineering Guide.
Fnd0AttachCustomNoteToMultiItems
Allows you to attach a custom note item or revision to multiple different items
or item revisions, when its value is set to true. This constant is placed on the
Fnd0CustomNote business object and its children. The default value is true.
Select the Value check box to change the value between true and false.
This constant is provided by the foundation template file.
Fnd0AuditRecordAccessLevel
Controls the depth of record access checking on the primary and secondary
object in an audit record. This constant is placed on the Fnd0WorkflowAudit
business object and its children. The default value is 1. Click the arrow in the
Value box to select from the following available values:
o
1
Checks the workflow audit record based on the read access to the
objects referred by the fnd0Object property (primary object) and the
fnd0SecondaryObject property (secondary object). If the primary and
secondary objects are deleted, read access to the audit record is provided to
the administrator user.
2
Checks the workflow audit record based on the read access to all attachments
for that workflow. Access to primary object is not evaluated. If any of the
secondary objects are deleted, read access is provided to administrator users
only.
Fnd0CheckoutOptions
Contains the name of the closure option set to be used to determine additional
objects for revisable checkout actions. This constant is placed on the
WorkspaceObject business object and its children. There is no default value.
To set a value, type a value in the Value box that corresponds to the name of a
closure option set.
This constant is provided by the foundation template file.
Fnd0EnableAssignProjects
Enables the Assign to Projects pane in the creation dialog box when end users
create objects. A value of false set by a COTS template can be overridden by a
custom template. This constant is placed on the WorkspaceObjectCreI and
WorkspaceObjectSvAI business objects and their children. The default value
is false. To change the value between true and false, select the Value check box.
This constant is provided by the foundation template file.
For more information about assigning objects to projects, see the My Teamcenter
Guide.
PLM00071 J
5-77
Chapter 5
Fnd0EnableIceCarryOver
Determines the item types to be considered for incremental change element
(ICE) carryover. When moving, copying, or assigning a BOM line from one
location to another, both the source business object and the target business
object must have this constant set to true for the incremental change elements
to be carried forward.
This constant is placed on the Item business object and its children, and the
default value is false. On the MEProcess business object and its children, the
default value is true. To change the value between true and false, select the
Value check box.
This constant is provided by the foundation template file.
The Fnd0AttrIcesToExclude property constant determines the attributes that
should be excluded from incremental change element (ICE) carryover.
For more information about using this constant, see the Structure Manager
Guide.
Fnd0EnableSubmitToWorkflow
Enables the Submit to Workflow pane in the creation dialog box when end users
create objects. A value of false set by a COTS template can be overridden. This
constant is placed on the WorkspaceObjectCreI and WorkspaceObjectSvAI
business objects and their children. The default value is false. To change the
value between true and false, select the Value check box.
This constant is provided by the foundation template file.
For more information about submitting objects to a workflow, see the My
Teamcenter Guide.
Fnd0EnableUsageOfDialog
Enables the usage of generic creation or save as dialog boxes in the rich client
when performing a creation or save as action on a custom business object. The
scope of this constant is the CreateInput and SaveAsInput business object
constants. Set this constant to true to enable the usage of dialog boxes. A value
of false set by a COTS template may not be overridden.
Warning
To set this constant, open the business object for which you want to enable
or disable usage of the dialog boxes, select the Operation Descriptor tab,
select the operation descriptor (for example, CreateInput or SaveAsInput),
select the Business Object Constants tab, and change the value on the
Fnd0EnableUsageOfDialog business object constant.
For more information about the CreateInput and SaveAsInput operations, see
Manage create and save as operations on business objects.
Fnd0GenerateDSNameWithoutExt
Specifies whether to include the file extension when generating a dataset. When
creating an item or item revision under IRDC control, the source dataset is
5-78
PLM00071 J
copied from the DMTemplate template. The dataset name is generated with the
named reference file extension. If this constant is set to true, the dataset name
does not have the file extension. This constant is placed on the ItemRevision
business object and its children. The default value is false. Select the Value
check box to change the value between true and false.
This constant is provided by the foundation template file.
For more information about rendering documents under IRDC control, see
Getting Started with Document Management.
Fnd0Icon
Specifies the icon file used for a business object type. This constant is placed on
the BusinessObject business object and its children. The default value is empty.
Click the Browse button to the right of the Icon box to select the image file.
This constant is provided by the foundation template file.
For more information about how to use this constant to assign an icon to a
business object, see Add or change a business object icon.
Fnd0IncludeMarkupsWithSignedFile
Specifies whether or not to include markups in the digitally signed file. This
constant is placed on the Dataset business object and its children. The
default value is DoNotIncludeMarkups. The other available values are
IncludeOfficialMarkups and DoNotIncludeMarkups. Select a value in the
Value box to change the include markups setting.
This constant is provided by the foundation template file.
For more information about digitally signed files, see Getting Started with
Document Management.
Fnd0IsCheckoutable
Specifies whether instances of a particular business object type can be checked
out. When this constant is set to true for a business object type, you can
check out instances. (That is, double-clicking an instance of the business
object either checks it out and opens the object instance for editing, or opens
it with a dialog box requiring the end user to click a Check-Out and Edit
button to check out the instance.) This behavior was formerly defined by the
TC_UI_ExcludeTypesForCheckout preference, which is now obsolete.
This constant is placed on the WorkspaceObject business object and its
children. The default value is true. Select the Value check box to change the
value between true and false.
This constant is provided by the foundation template file.
For more information about checkout, see Getting Started with Teamcenter.
Fnd0DefaultViewPrecision
Sets whether BOM view revisions are created as precise or imprecise. This
constant is placed on the Item business object and its children. Click the arrow
in the Value box to select from the following available values: Precise, Imprecise,
or BasedOnSitePreference. The default value is BasedOnSitePreference,
PLM00071 J
5-79
Chapter 5
Fnd0MarkupControlObject
Indicates if a workspace object is a markup control object. For example, if a
change item business object is to be used as a markup control object, the change
item Fnd0MarkupControlObject business object constant should be set
to true.
This constant is placed on the WorkspaceObject business object and its
children. The default value is false. Select the Value check box to change the
value between true and false.
This constant is provided by the foundation template file.
For more information about markup, see Getting Started with Document
Management.
Fnd0MarkupControlObjRels
Specifies the relations used to navigate to the related Item/ItemRev/Dataset
to mark up datasets. Each relation is separated by a comma.
For example, if a change item is a markup control object, and its
Fnd0MarkupControlObjRels business class constant contains the
CMHasImpactedItem,CMHasProblemItem relations, from the control object
(change item), the gathering markup process looks for related items from the
two mentioned relations and looks for related markups.
This constant is placed on the WorkspaceObject business object and its children.
The default value is blank. In the Value box, type the relations separated by
commas, for example, CMHasImpactedItem,CMHasProblemItem.
This constant is provided by the foundation template file.
For more information about markup, see Getting Started with Document
Management.
Fnd0MasterAttrExMappings
Allows override so the derived business objects and classes can store their own
master attribute mappings. This constant is placed on the Dataset business
object and its children. By default, there is no value set to this constant.
This constant is provided by the foundation template file.
Fnd0ObjectIDToAudit
Specifies the property that holds the object ID for the business object type. The
object ID property is different for different business object types. For example,
on the Item business object type, the value for this constant is item_id, and on
the ADA_License business object type, the value is id, and so on. When an
audit log is written for an instance of the business object, the property in this
constant is used to obtain the object ID for the audit log (and is written to the
fnd0ObjectID property on the AuditLog business object). For custom objects
5-80
PLM00071 J
that have their own property for the object ID, change this constant to the
property that holds the object ID so that the ID of the business object is captured
when the audit log is written.
This constant is placed on the POM_object business object and its children.
There is no default value. Type a value in the Value box to assign an object ID.
This constant is provided by the foundation template file.
For more information about Audit Manager, see the Audit Manager Guide.
Fnd0ObjectNameToAudit
Specifies the property that holds the object name for the business object type.
The object name property is different for different business object types. For
example, on the Workspace business object type, the value for this constant is
object_name, and on the User business object type, the value is user_name,
and so on. When an audit log is written for an instance of the business object, the
property in this constant is used to obtain the object name for the audit log (and
is written to the name property on the AuditLog business object). For custom
objects that have their own property for the object name, change this constant to
the property that holds the object name so that the name of the business object
is captured when the audit log is written.
This constant is placed on the POM_object business object and its children.
There is no default value. Type a value in the Value box to assign an object name.
This constant is provided by the foundation template file.
For more information about Audit Manager, see the Audit Manager Guide.
Fnd0ObjectRevIDToAudit
Specifies the property that holds the revision ID for the business object type. The
revision ID property is different for different business object types. For example,
on the ItemRevision business object type, the value for this constant is
item_revision_id. When an audit log is written for an instance of the business
object, the property in this constant is used to obtain the object revision ID for
the audit log. For custom objects that have their own property for the revision
ID, change this constant to the property that holds the ID so that the revision ID
of the business object is captured when the audit log is written.
This constant is placed on the POM_object business object and its children.
There is no default value. Type a value in the Value box to assign an object
revision ID.
This constant is provided by the foundation template file.
For more information about Audit Manager, see the Audit Manager Guide.
Fnd0PreventTraceLinkDelete
Prevents users from deleting trace links between baselined objects when the
primary or secondary objects of the trace link are released.
This constant is placed on the FND_TraceLink business object and its children.
The default value is Both. To change the value, open the FND_TraceLink
business object, and on the Business Object Constants table, select the
Fnd0PreventTraceLinkDelete constant and click the Edit button.
Following are the available values:
PLM00071 J
5-81
Chapter 5
None
Always allows trace link deletion even if any end of the trace link is baselined.
Both
Prevents trace link deletion and the user receives an error message only if
both the ends of trace link are baselined.
Primary
Prevents trace link deletion and the user receives an error message if the
primary end of trace link is baselined.
Secondary
Prevents trace link deletion and the user receives an error message if the
secondary end of trace link is baselined.
This constant only prevents users from deleting trace links from the
released revision and not from its occurrence. This means that users are
still able to delete trace links on occurrences on the baselined structure.
For more information about trace links, see the Systems Engineering Guide.
Fnd0ReferenceTypeDocx
Defines the dataset Microsoft Word reference type for FullText dataset business
objects. This constant is placed on the FullText business object and its children.
The default value is word. Type a value in the Value box to define the Word
reference type. To see all the references for the FullText business object, open
the business object and click the References tab.
This constant is provided by the foundation template file.
For more information about dataset references, see References tab.
Fnd0ReferenceTypeObject
Defines the dataset object reference type for FullText dataset business objects.
This constant is placed on the FullText business object and its children. The
default value is propsync. Type a value in the Value box to define the Word
reference type. To see all the references for the FullText business object, open
the business object and click the References tab.
This constant is provided by the foundation template file.
For more information about dataset references, see References tab.
Fnd0ReferenceTypeXML
Defines the dataset XML reference type for FullText dataset business objects.
This constant is placed on the FullText business object and its children. The
default value is MSWordXPart. Type a value in the Value box to define the
Word reference type. To see all the references for the FullText business object,
open the business object and click the References tab.
This constant is provided by the foundation template file.
5-82
PLM00071 J
Fnd0RetentionPeriod
Specifies the retention period of audit log archives in days (for example, 90).
System administrators use Audit Manager to create audit logs that track what
information has changed and who has changed the information.
The value of this business object constant is used by the audit_purge utility,
which archives audit logs in TC XML format. The value of the archive
retention period is obtained from the Fnd0RetentionPeriod business object
constant only if the archive retention period is not set in the utility by the
-retention_period argument.
This constant is placed on the Fnd0AuditLog business object and its children.
The default value is NULL. Type a value in the Value box to change its value.
This constant is provided by the foundation template file.
For more information about Audit Manager, see the Audit Manager Guide.
Fnd0RuntimeTraceProperty
Determines whether to calculate the defining objects property. This constant is
placed on business objects. The default value is false. Select the Value check box
to change the value between true and false.
This constant is provided by the foundation template file.
Fnd0ShowRelationUIWhenNoAddlAttr
Displays the Properties on Relation dialog box when the value is set to true,
even if there are no visible additional attributes on the relation business object.
The default value is false. Select the Value check box to change the value
between true and false.
This constant is provided by the foundation template file.
For more information about working with relation properties, see My Teamcenter
Guide.
Fnd0UseInstanceAttrExMappings
Specifies an optional persistent property on Dataset business objects. This
property is a string array with a string length limit of 2048 and unlimited
array length. This constant is placed on the Dataset business object and its
children. The default value is true. Select the Value check box to change the
value between true and false.
This constant is provided by the foundation template file.
Fnd0WhereUsed
Enables the where-used search for the given business object type. This constant
is placed on the WorkspaceObject business object and its children. The default
value is false. Select the Value check box to toggle the value between true and
false.
This constant is provided by the foundation template file.
PLM00071 J
5-83
Chapter 5
For more information about the where-used search, see the Rich Client Interface
Guide.
IsMRONeutralType
Specifies whether the business object is considered a neutral item. This constant
is placed on Item business objects and their children. The default value is false.
Select the Value check box to change the value between true and false.
This constant is provided by the mrocore template file.
ItemRevision
Automatically creates an item revision and attaches it to an item, when an end
user in the Teamcenter rich client or thin client creates a new item or revises
an existing item. This constant is placed on Item business objects and their
children.
Type an entry in the Value box to set the business object to use for revisions. By
default, for the Item business object the Value box is set to the ItemRevision
business object. The value differs for children of the Item business object. If
you want to use another business object as the revision for items, type it in
the Value box.
This constant is provided by the foundation template file.
MasterForm
Sets the form to store the properties for the Item and ItemRevision business
objects. This constant is placed on Item and ItemRevision business objects
and their children. Form business objects hold properties for other business
objects. When an end user in the Teamcenter rich client or thin client looks at
the properties of an object, they are looking at the properties stored on a form.
For more information about forms, see Introduction to form business objects.
Type an entry in the Value box to set the form business object to hold properties.
The Value box shows a different value depending on the business object you
opened. For example, for the Item business object, the Value box is set to the
Item Master form business object, and for the ItemRevision business object the
Value box is set to the ItemRevision Master form business object. If you want
to use another business object as the form for items or item revisions, type it
in the Value box.
This constant is provided by the foundation template file.
MaturityStatuses
Sets the workflow status that must be met for an item be considered mature.
Typically, when the development of a revision is complete, it becomes mature,
and the system assigns it a status to denote maturity. By default, the value is
set to the TCM Released status on WorkspaceObject business objects. This
constant is placed on WorkspaceObject business objects and their children.
For more information about statuses, see Add a status type.
This constant replaces the item-revision-business-objects_Maturity_Level
preferences. If you previously used custom preferences that fit this pattern, you
must now migrate the preferences to business objects.
5-84
PLM00071 J
MaxAllowedWorkRevsForItemCopyRev
Sets the number of working revisions that can be made of an item revision. This
constant is used by the checkLatestReleased extension. This constant is placed
on ItemRevision business objects and their children.
In the Value box, type the number of revisions allowed for the item revision, for
example, 3. By default, the value of the constant is -1, meaning that there is no
limit on the number of revisions that can be made of the item revision.
To verify the change works properly, in the My Teamcenter application in the rich
client, select an item revision and choose FileRevise. Ensure that you can only
revise the item revision the number set by the constant. For example, if the value
of the constant is 3, make sure you can only revise the item revision three times.
This constant is provided by the foundation template file.
MaxAllowedWorkRevsForItemCreate
Specifies whether item revisions can be created. If the value is set to 0, then an
item revision is not created when you create an item. This constant is placed on
ItemRevision business objects and their children.
In the Value box, type the number of item revisions to be added when you create
an item. Type 0 if you do not want any item revisions created. Enter any other
value to allow item revision creation. By default, the value of the constant is -1,
meaning that you can create item revisions when you create an item.
To verify the change works properly, in the My Teamcenter application in the
rich client, choose FileNewItem. For example, if the value is set to 0, then no
item revision is created.
This constant is provided by the foundation template file.
MaxAllowedWorkRevsItemCpRevExist
Sets the number of working item revisions that are allowed when you use the
Save As operation to copy another item revision to the original item. This
functionality works when the Allow_copy_as_Revision preference is set to
true. This constant is placed on ItemRevision business objects and their
children. This constant is used by the checkLatestReleased extension.
Before you can use this constant, set the Allow_copy_as_Revision preference
to true. In the rich client, choose EditOptions, select Search at the bottom of
the Options dialog box, locate the Allow_copy_as_Revision preference and
set it to true.
By default, the value of the constant is -1, meaning there is no limit on the
number of revisions under an item. In the Value box, type the number of item
revisions allowed for the item revision, for example, 3.
To verify the change works properly, in the My Teamcenter application in the
rich client, select an item revision you want to copy under another item, choose
PLM00071 J
5-85
Chapter 5
FileSave As, and in the Save As dialog box, in the Item ID box, type the ID
of the item you want to copy to, and in the Revision ID box, type the revision
you want to assign (for example, B).
Repeat this for as many times as you set the value of the constant. For example,
if you set the constant as 3, ensure that you can only copy the item three times.
This constant is provided by the foundation template file.
Mdl0AllowedContentTypes
Contains a list of the allowed content business object types. This constant is
placed on the POM_object business object and its children. The default value is
Mdl0ModelElement,Mdl0ModelArtifact.
This constant is provided by the appmodel template file.
For more information about the use of this constant in 4th Generation Design
(4GD), see the 4th Generation Design Guide.
Mfg0OperationLD
Specifies the type of form to be used to represent the logical designator of an
operation in Enterprise BOP. The constant applies to the MEOP business object
and its children. The default value is MELDDefaultForm. If empty, logical
designators are not created for operations. To change the value, in the Value
box, type the name of the form business object to use (must be a child of the
MELDBaseForm business object).
This constant is provided by the foundation template file.
Mfg0ProcessLD
Specifies the type of form to be used to represent the logical designator of a
process in Enterprise BOP. The constant applies to the MEProcess business
object. The default value is MELDDefaultForm. If empty, logical designators
are not created for processes. To change the value, in the Value box, type the
name of the form business object to use (must be a child of the MELDBaseForm
business object).
This constant is provided by the foundation template file.
Mfg0ProcessPartitionLD
Specifies the type of form to be used to represent the logical designator of a process
partition in Enterprise BOP. The constant applies to the MEProcessPartition
business object. The default value is MELDDefaultForm. If empty, logical
designators are not created for process partitions. To change the value, in the
Value box, type the name of the form business object to use (must be a child of
the MELDBaseForm business object).
This constant is provided by the foundation template file.
Mfg0RelationsToOpen
Defines the business object type that is used to establish the relationship
when opening collaboration contexts in Manufacturing Process Planner. This
constant is placed on the CCObject business object and its children. The default
value is IMAN_CCContext. To change the value, type the name of a relation
5-86
PLM00071 J
business object in the Value box. The business object type must be a child of
the ImanRelation business object.
This constant is provided by the foundation template file.
For more information about collaboration context relationship, see the
Manufacturing Process Planner Guide.
Mfg0TimeSysCategoryInitVal
Sets the initial value of the time_system_category property on the
MEActivity business object. This constant is placed on the MEActivity
business object and its children. The default value is NA. To change the value,
type a new value in the Value box.
This constant is provided by the foundation template file.
For more information about time system categories, see Getting Started with
Manufacturing.
Mim0NonConformanceWorkflow
Defines the name of the workflow to be initiated when a new shop floor issue is
created. This constant is placed on the Mim0ShopFlrIssueRevision business
object and its children. The default value is issue lifecycle. Type a value in the
Value box to use a different workflow.
This constant is provided by the mesissuemgmt template file.
For more information about using workflows with Issue Manager, see the Issue
Manager Guide.
MultiFieldKey
Defines the unique key ID of a Teamcenter object using properties.
Multifield keys are IDs assigned to each object to ensure their uniqueness in
the database. The multifield key is composed of a combination of the objects
properties. Prior to Teamcenter 10, the value of the item_id property was
assumed to be an objects ID. Now administrators use the MultiFieldKey
business object constant to assign the key definitions to different business object
types. When the template is installed to the server, all the instances of those
business object types get that key definition. (The key is not visible to the end
user but identifies the object in the database.)
To create a key ID definition, open any business object that is a child of the
POM_Object business object, select the MultiFieldKey constant in the
Business Object Constants table, and click the Edit button to the right of the
table. In the New Multi Field Key dialog box, select properties in the Available
Properties list to create a new key definition, or select Select Existing Key to
choose from a list of key definitions already deployed to the database.
This constant is provided by the foundation template file.
Related business object constants are DisplayName and
ShowIdenticalItemIdAndName.
For more information, see Introduction to multifield keys.
PLM00071 J
ObjectUnloadable
5-87
Chapter 5
As objects are created and used, they are loaded into the POM cache and the
object cache. To conserve memory, objects are automatically unloaded on a
regular basis. This constant specifies if an object is excluded from automatic
unloading. All objects that have this business constant set to true are not
unloaded for the entire session. This constant is placed on POM_object
business objects and their children.
Select the Value check box to toggle the value between true and false. The
default value is true.
This constant is provided by the foundation template file.
For more information about managing memory, see the System Administration
Guide.
ParticipantAllowMultipleAssignee
Specifies whether multiple assignee participants are allowed in a workflow task.
This constant is placed on Participant business objects and their children.
By default, the value is set to true.
Select the Value check box to toggle the value between true and false. For
example, for the ProposedResponsibleParty business object, the value for
the constant is false, meaning that only one instance of the participant can
be associated with an object. For the ProposedReviewer business object,
the value is true, meaning that multiple instances of the participant can be
associated with an object.
This constant is provided by the foundation template file.
For more information about the Participant business object, see Create
dynamic participants. For more information about Workflow, see the Workflow
Designer Guide.
ParticipantHandlerKeyword
Specifies the business object being used by a workflow participant handler. For
example, the CHANGE_ADMIN1 keyword represents the ChangeAdmin1
business object. This constant is placed on ParticipantHandlerKeyword
business objects and their children.
Type a value in the Value box to represent the business object that this constant
is placed on. For example, if you open the MyParticipant business object, you
may want to set the value on this constant as MY_PARTICIPANT. This keyword
is passed to a workflow handler for processing.
This constant is provided by the foundation template file.
For more information about handler keywords, see Create dynamic participants
and the Workflow Designer Guide.
ParticipantUsedOnObjectTypes
Used in workflow processing to provide the list of item revision business
objects the participant can be specified on. The value for the constant is a
comma-separated list of allowable item revision business objects. Participants in
workflows are the individuals to whom work is routed and are represented in the
data model by the Participant business object and its children. This constant is
placed on Participant business objects and their children.
5-88
PLM00071 J
Type an entry in the Value box to set the kind of item revision business object to
be used. Only valid item revision business objects can be used. (You can enter
a comma-separated list of item revision business object types). This value is
passed to a workflow handler for processing.
For example, for the ProposedReponsibleParty business object, the value
of the constant is ItemRevision, meaning that the participant is specified in
ItemRevision business objects and its children.
This constant is provided by the foundation template file.
For more information about the Participant business object, see Create
dynamic participants. For more information about Workflow, see the Workflow
Designer Guide.
PhysicalPartTypeForCreate
Represents the physical representation for the neutral design Item. The default
value for this constant is PhysicalPart. Type an entry in the Value box to set
the kind of business object to be used. Only valid business objects can be used.
This constant is provided by the mrocore template file.
Ptn0AttchDataCloneDefaultOption
Sets the default for copying the attached partition data from the source
model to the target model during cloning. This constant is placed on the
Ptn0PartitionScheme business object and its children. The default value is
false. Select the Value check box to toggle the value between true and false.
This constant is provided by the partition template file.
For more information about partitions, see the 4th Generation Design Guide.
Ptn0AttchDataRlzDefaultOption
Sets the default for copying the attached partition data from source
model to target model during realization. This constant is placed on the
Ptn0PartitionScheme business object and its children. The default value is
false. Select the Value check box to toggle the value between true and false.
This constant is provided by the partition template file.
For more information about partitions, see the 4th Generation Design Guide.
Ptn0AttrGrpsCloneDefaultOption
Sets the default value for displaying the Copy attribute group(s) option during
the clone operation. This constant is placed on the Mdl0ApplicationModel
business object and its children. The default value is 2. Type a value in the
Value box to change the value.
PLM00071 J
Value
Resolves to
5-89
Chapter 5
Ptn0AttrGrpsRlzDefaultOption
Sets the default value for displaying the Copy attribute group(s) option during
realization. This constant is placed on the Ptn0PartitionTemplateModel
business object and its children. The default value is 2. Type a value in the
Value box to change the value.
Value
Resolves to
Ptn0COOnCreateCloneDefaultOption
Sets the default value for displaying the Check-out On Create option during
the clone operation. This constant is placed on the Mdl0ApplicationModel
business object and its children. The default value is 2. Type a value in the
Value box to change the value.
Value
Resolves to
Ptn0GenerateNewPartitionID
Defines if new partition IDs must be generated automatically for cloned
and realized partitions in the scheme. This constant is placed on the
Ptn0PartitionScheme business object and its children. The default value is
false. Select the Value check box to toggle the value between true and false.
This constant is provided by the partition template file.
For more information about partitions, see the 4th Generation Design Guide.
5-90
Ptn0IncludeChildRlzDefaultOption
PLM00071 J
Sets the default value for the display of the Include Child Partitions
check box during realization. This constant is placed on the
Ptn0PartitionTemplateModel business object and its children. The default
value is 2. Type a value in the Value box to change the value.
Value
Resolves to
Ptn0IsOwningMemberships
Specifies the membership life cycle mode for supported partition business object
types. This constant is placed on the Ptn0Partition business object and its
children. The default value is false. The false value means that membership
objects are owned by members. The true value means that membership objects
are owned by the partition. Select the Value check box to toggle the value
between true and false.
This constant is provided by the partition template file.
The value of this constant depends on the business object it is placed on, as
shown in the following table.
Children of Ptn0Partition
Value of Ptn0IsOwningMemberships
constant
Ptn0Design
false
Ptn0Functional
false
Ptn0Mgf
true
Ptn0Partition
false
Ptn0System
false
Ptn0Zone
true
For more information about partitions, see the 4th Generation Design Guide.
Ptn0IsStatic
Specifies the content persistence mode for supported partition business object
types. This constant is placed on the Ptn0Partition business object and its
children. The default value is false. The false value means that members are
determined by the partitions recipe. The true value means that members are
defined by persistent membership objects. Select the Value check box to toggle
the value between true and false.
This constant is provided by the partition template file.
PLM00071 J
5-91
Chapter 5
The value of this constant depends on the business object it is placed on, as
shown in the following table.
Children of Ptn0Partition
Ptn0Design
true
Ptn0Functional
true
Ptn0Mgf
true
Ptn0Partition
false
Ptn0System
true
Ptn0Zone
false
For more information about partitions, see the 4th Generation Design Guide.
Ptn0SchemeFunctionalAllowedTypes
Specifies the allowed partition business object types for the functional partition
scheme. This constant is placed on the Ptn0SchemeFunctional business object
and its children. The default value is Ptn0Functional,Ptn0System. Type a
value in the Value box to add more business object types.
This constant is provided by the partition template file.
For more information about partitions, see the 4th Generation Design Guide.
Ptn0SchemePhysicalAllowedTypes
Specifies the allowed partition business object types for the physical partition
scheme. This constant is placed on the Ptn0SchemePhysical business object
and its children. The default value is Ptn0Design,Ptn0Mfg. Type a value in
the Value box to add more business object types.
This constant is provided by the partition template file.
For more information about partitions, see the 4th Generation Design Guide.
Ptn0SchemeSpatialAllowedTypes
Specifies the allowed partition business object types for the spacial partition
scheme. This constant is placed on the Ptn0SchemeSpatial business object
and its children. The default value is Ptn0Zone. Type a value in the Value
box to add more business object types.
This constant is provided by the partition template file.
For more information about partitions, see the 4th Generation Design Guide.
Ptn0VariantExpCloneDefaultOption
Sets the default value for display of the Apply Variant data option during
the clone operation. This constant is placed on the Mdl0ApplicationModel
business object and its children. The default value is 2. Type a value in the
Value box to change the value.
5-92
Value
Resolves to
PLM00071 J
Value
Resolves to
Ptn0VariantExprsRlzDefaultOption
Sets the default value for display of the Apply Variant data option during
realization. This constant is placed on the Ptn0PartitionTemplateModel
business object and its children. The default value is 2. Type a value in the
Value box to change the value.
Value
Resolves to
RenderProviderName
Sets the translation service provider name used when item revisions are
translated based on the item revision definition configuration (IRDC) setting.
This constant is placed on ItemRevision business objects and their children.
Type an entry in the Value box for the provider name. The default value is
SIEMENS.
This constant is provided by the foundation template file.
For more information about IRDC, see Create an item revision definition
configuration (IRDC).
RenderTSServiceName
Sets the translation service name used to translate item revisions based on
the item revision definition configuration (IRDC) setting. This constant is
placed on ItemRevision business objects and their children. Type an entry
in the Value box to set the translation service name. The default value is
RenderMgtTranslator.
For more information about IRDC, see Create an item revision definition
configuration (IRDC).
This constant is provided by the foundation template file.
PLM00071 J
5-93
Chapter 5
Rlz0CarryfwdEndItemEffectivity
Determines whether to optionally carry forward end item effectivity
subexpression (if any) along with rest of the expression from source object during
item realization. This constant is placed on the Mdl0ApplicationModel
business object and its children. The default value is false. Select the Value
check box to toggle the value between true and false.
For more information about the use of this constant in 4th Generation Design
(4GD), see the 4th Generation Design Guide.
Rlz0DefaultItemRealizationClosureRule
Specifies the closure rule to use when processing items for realization. The
default value is empty. This constant is placed on the Rlz0ItemRealization
business object and its children. Closure rules used by () must be specified using
the same syntax used by .
This constant is provided by the realization template file.
For more information about the use of this constant in 4th Generation Design
(4GD), see the 4th Generation Design Guide.
Rlz0RealizationAttrMapping
Specifies how attributes of the BOMLine business object are mapped to
attributes of a design element for realization. This constant is placed on the
BOMLine business object and its children. There is no default value. Type
the value in this format:
BOMLine_property:relation_type::DesignElement_target_type:target_property;
For example:
AIE_OCC_ID:Mdl0AttachAttrGroup::Cpd0AGAttrMapping:intAttr;
AIE_OCC_NAME:Mdl0AttachAttrGroup::Cpd0MAGAttrMapping:stringAttr;
UG_NAME:Cpd0DesignElement:object_name
Rlz0RealizeRemoteObjects
Determines whether to allow remote objects (stubs) from a source assembly to be
copied into the target model during realization. This constant is placed on the
Mdl0ApplicationModel business object and its children. The default value is
false. Select the Value check box to toggle the value between true and false.
5-94
PLM00071 J
SaveAsInput
Stores the Save As object input for every business object type. This constant is
placed on all business objects. This constant is used in deep copy rules.
The association between a business object and its corresponding SaveAsInput
type definition is through this constant. For example, the value of the constant
attached to the Item business object is ItemSaveAsI. The property definitions
required for SaveAs are defined in the ItemSaveAsI value.
This constant is provided by the foundation template file.
For more information about deep copy rules, see Add a deep copy rule. For more
information about the SaveAsInput operation, see Manage create and save as
operations on business objects.
ShowIdenticalItemIdAndName
Determines whether both the item ID and name are displayed when they are
identical for an item. The default display name for item business objects is
item_id+object_name. If the values of these two properties are identical, and
this business object constant is set to false (default), object_name is dropped
from the displayed string. When set to true, both identical values are shown.
Select the Value check box to toggle the value between true and false.
This constant is provided by the foundation template file.
Related business object constants are DisplayName and MultiFieldKey.
For more information, see Managing multifield keys.
TimeAnalysisForm
Sets the time analysis form for the corresponding operation or process. This
constant is placed on MEOP and MEProcess business objects and their
children. By default, the value is set to true. Select the Value check box to
toggle the value between true and false.
This constant is provided by the foundation template file.
TypeFindNumberValidation
Configures the find number validation for item business objects and their
children. It has three settings:
o
Enabled
Sets a unique find number.
Disabled
Does not set a unique find number.
BasedOnSitePreference
Sets a unique find number based on the PS_Find_Number_Validation
preference.
PLM00071 J
5-95
Chapter 5
Before you upgrade to the most recent version of Teamcenter, you can use
the Type Analysis Tool to analyze the database to ensure there are no name
collisions between your custom business objects and COTS business objects
in the new version of Teamcenter. If you find any custom business object
naming conflicts, you can use this Rename menu option to change the name
of custom business objects. The tool is located on the Teamcenter installation
source in the additional_applications\TypeAnalysisTool directory.
For more information about upgrading, see the Upgrade Guide. For more
information about uniquely naming objects, see Naming objects.
Warning
1. In the Business Objects folder, right-click the custom business object you want
to rename and choose Rename.
The Rename Object wizard runs.
2. Click Next.
3. In the New Name box, type the new name for the business object in the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to your
organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler IDE
template project.
4. In the Associated Objects box, type the new name for each associated business
object (for example, part revision, part master, and so on). Use the same naming
prefix you used for the main business object.
5. Click Finish.
5-96
PLM00071 J
The renamed business object displays in the Business Objects folder. (There is
no need to live update.)
6. Run the change_type_name utility to change the name of the business object
in the database.
You can find the utility and documentation in the Teamcenter installation source
in the additional_applications\changetypenametool directory.
3. After performing the conversion, the change does not appear immediately in the
Storage Class box of the business object editor. First, close the business object
editor by right-clicking its tab and choosing Close or Close All. Then right-click
the business object in the Business Objects folder and choose Open. The new
storage class is displayed in the Storage Class box.
PLM00071 J
5-97
Chapter 5
Replace file-name with the name of the active extension file that contains the
data model definition for the converted business objects, such as the default.xml
file.
If the number of the instances to be migrated is large, it may take a long time for
the command to run. Teamcenter performs the following in the migration:
Migrates all instances of the converted business objects and their children.
5-98
Extension
point
Operation
TC_WorkContext allow_subgroups
PROP_ask_value_logical BaseAction
TC_WorkContext allow_subgroups
TC_WorkContext group
PROP_set_value_logical BaseAction
PROP_ask_value_tag
BaseAction
TC_WorkContext group
PROP_set_value_tag
BaseAction
TC_WorkContext project
PROP_ask_value_tag
BaseAction
TC_WorkContext project
PROP_set_value_tag
BaseAction
TC_WorkContext role
PROP_ask_value_tag
BaseAction
PLM00071 J
Operation
Extension
point
TC_WorkContext role
PROP_set_value_tag
BaseAction
BaseAction
BaseAction
Classes
Introduction to creating classes
In the Advanced perspective, the Classes view is used for working with classes, the
persistent representations of the data model schema.
A class is the logical data model and maps the storage of a business object to the
database. Every class has a business object by the same name. A class can have
attributes defined on it. Every attribute defined on the class results as a property
on the business object. Classes support inheritance. Any attribute defined on a
parent class is inherited by its children.
For reference information about classes, see Data model concepts.
The most commonly used classes under which you create new child classes include:
POM_object
Represents storage classes in the database.
POM_application_object
Represents Teamcenter application classes in the database.
WorkspaceObject
Represents commonly used classes, such as Item and Document, in the database.
PLM00071 J
5-99
Chapter 5
StructureContext. If you right-click any of these classes or their children and choose
New Class, the following message is displayed:
Cannot subclass class-name directly.
Use the Business Object Wizard to create a new Primary Business Object.
5-100
Drag a class from the Class view into the UML editor.
Drag Class from the UML editor palette into the UML editor.
PLM00071 J
In the Name box, type the name of the class as you want it to appear in
the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
d. Select the Exportable? check box if the class can be exported using PLM
XML.
For more information, see the PLM XML/TC XML Export Import
Administration Guide.
PLM00071 J
e.
Select the Uninheritable? check box if the class cannot have children classes.
f.
Select the Uninstantiable? check box if instances of the class will not be
created in user interfaces such as the rich client. For example, you may want
to select this if the class is intended as a folder for child classes.
g.
The Store as lightweight object check box indicates if the object is stored
in its own database table outside of the POM_object database table. This
improves performance of POM object handling. Initially only a limited
number of internal classes may be stored as lightweight objects. This check
box is read-only.
5-101
Chapter 5
h. Click the arrow in the Application Name box to choose the application that
can be used to add or edit attributes on the class.
Available applications appear in the Applications folder in the Extensions
view. You cannot configure applications, but you may need to look at them
in the Extensions view to understand which classes you cannot edit with
ITK code.
i.
Click the Add button if you want to add an attribute to the class.
The New Attribute wizard runs.
For instructions about how to fill in the Class Attribute dialog box, see Add
or change attributes on classes.
j.
Click Finish.
The new class is created, as well as the corresponding primary business
object.
5-102
PLM00071 J
10. Deploy your changes to a test server. Choose BMIDEDeploy Template on the
menu bar, or select the project click the Deploy Template button
main toolbar.
on the
c.
d. In the Teamcenter rich client, create an instance of the new business object.
Open the instance and select its master or revision form. In the Viewer tab,
you should see the new attributes you created on the new class.
Class attributes
Introduction to attributes
Attributes are class characteristics, such as name, number, description, and so on.
An attribute is a persistent information tag assigned to all objects in the same class.
The attributes of the class appear in a table when you right-click a class in the
Classes view of the Advanced perspective and choose Open.
For more information, see Class attributes table.
Attributes are of a defined data type, for example, integer, string, and so on. An
attribute contains either a value (if the attribute is an integer, string, date, or logical
data type), or it can contain a reference to another class if the attribute is a typed
reference or untyped reference. For example, the object_name attribute contains
a value because it is a string attribute; it can have a value such as 000001/A. The
last_mod_user attribute contains a reference, because it is a typed reference
attribute; its value points to a users name.
Attributes can contain one value (scalar) or contain many values (array). An
example of a scalar attribute is the last_mod_user attribute, because it contains a
single value, the user name. An example of an array attribute is the project_list
attribute, because is contains a list of projects, for example, Car05, Car06, Car08.
The user interface shows a display name for the attribute via properties. For
example, the object_desc property displays as Description in the user interface.
To be proficient with attributes, you need to know both the internal name of the
attribute and its display name. You can change the settings in the rich client to
display the internal name of an attribute in the UI. Log on to the rich client as an
administrator, choose EditOptions, and in the left pane of the Options dialog
box, choose OptionsGeneralUI. In the right pane, click the SysAdmin tab and
select Real Property Name. To verify the change, select an item in the rich client
and choose ViewProperties.
PLM00071 J
5-103
Chapter 5
5-104
PLM00071 J
a. In the Name box, type the attribute name as you want it to appear in the
database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to your
organization, for example, a4_. Class attributes begin with a lowercase letter.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
b.
c.
In the Attribute Type box, select the storage type for the attribute:
Boolean
Allows two choices to the user (True or False).
Character
A single character, such as A, B, Z.
Date
A calendar date. A form using this format displays a date selector.
Double
An 8-byte decimal number from the range 1.7E to 308.
ExternalReference
Points to data outside of Teamcenter.
Integer
An integer without decimals from 1 to 999999999.
LongString
A string of unlimited length.
String
A string of characters.
TypedReference
Points to a Teamcenter class.
UntypedReference
Points to any class of data.
d. If the attribute is a string attribute, in the String Length box, type the byte
length of the attribute.
For Western languages, one character requires one byte. For example, a field
with a string length of 128 can accommodate 128 characters of a Western
language. However, for multibyte languages such as Chinese, Japanese, and
Korean, one character requires two bytes. Therefore, a field with a string
length of 128 can accommodate only 64 characters.
PLM00071 J
5-105
Chapter 5
e.
f.
Select Set Initial Value to NULL? if you want the default value to be a null
value.
g.
If you did not select Set Initial Value to NULL, in the Initial Value box, type
the value to populate the attribute.
h. In the Lower Bound box, type the lower numerical limit for a numerical
or alphanumerical attribute.
i.
In the Upper Bound box, type the upper numerical limit for a numerical
or alphanumerical attribute.
j.
Array?
Specifies that the attribute is a string array.
Unlimited
Indicates that there is no limit on the number of characters used for
the attribute.
MaxLength
Specifies the maximum number of characters allowed for the attribute.
Transient?
Does not persist the attribute in the database.
Nulls Allowed?
Allows an empty value for the attribute.
Unique?
Specifies that the attribute value cannot be duplicated.
Candidate Key?
Specifies that when exporting an object, send this attribute and rely on
the receiving site to look up this string in the local database. This is
typically used for system administration defined classes such as unit of
measure where a local administrator may want to control what units
exist on the site.
Export As String?
Specifies that when exporting an object, export this attribute as a string.
Follow on Export?
Exports the referenced object when the attribute is exported.
5-106
PLM00071 J
No Backpointer?
Does not record attribute in the POM backpointer table.
Each time a forward pointer is created for attribute, an inverse record
is stored in the POM backpointer table. Therefore, the backpointer
table keeps a record of where-referenced attributes, and is used for
where-referenced calls and for a check on delete that things are not
referenced.
To help system optimization, you may want to use the No Backpointer
key for those attributes that are unlikely ever to be deleted (such as
owning-user, owning-group, or dataset-type). Choosing the No
Backpointer key saves the POM system from having to check every
reference column in the table whenever a where-referenced or delete
action is called.
Public Read?
Grants everyone read access to the attribute.
Public Write?
Grants everyone write privileges on the attribute.
PLM00071 J
5-107
Chapter 5
8. To change values on the new attribute, click the Edit button. You can only
change values on your custom attributes. You cannot change values on COTS
(commercial off-the-shelf) attributes.
To add another attribute, click the Add button. To remove an attribute, click the
Remove button.
Note
There is no limit on the number of attributes you can add to a class when
you use an Oracle or SQL database. However, there is a limit using DB2
due to the fact that a row has to be in one block with a 32K limit; so the
number of attributes allowed depends on the total all of the attribute
sizes. As a rule, do not use over 100 attributes of any type.
9. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
on the toolbar.
10. Deploy your changes to the test server. Choose BMIDEDeploy Template on
the menu bar, or select the project click the Deploy Template button
the main toolbar.
on
Description
Attribute Name
Storage Type
Character
A single character, such as A, B, Z.
Date
A calendar date. A form using this format displays
a date selector.
Double
An 8-byte decimal number from the range 1.7E to
308.
ExternalReference
Points to data outside of Teamcenter.
5-108
PLM00071 J
Column
Description
Integer
An integer without decimals from 1 to 999999999.
Logical
A Boolean value of True or False.
LongString
A string of unlimited length.
Short
An integer number without decimals from 1 to 9999.
String
A string of characters.
TypedReference
Points to a Teamcenter class.
UntypedReference
Points to any class of data.
PLM00071 J
Reference Class
Inherited
Source Class
COTS
Template
Initial Value
Lower Bound
Upper Bound
Array
Array Length
Public Write
Public Read
Nulls Allowed
5-109
Chapter 5
Column
Description
Unique
Candidate Key
Transient
Follow on Export
Export As String
No Backpointer
5-110
PLM00071 J
GroupMember
GroupSecurityNamedTag
ImanType
NameField
NameRule
POM_accessor
POM_application
POM_attribute
POM_class
POM_data_manager
POM_dd
POM_group
POM_imc
POM_member
POM_object
pom_session
POM_site_config
POM_system_class
POM_stub
POM_user
PropertyBMOperation
Role
RoleInSchedule
TypeBMOperation
TC_Preferences
User
Properties
Introduction to properties
Properties contain information such as name, number, description, and so on. A
business object derives its properties from its persistent storage class. In addition to
the properties that are derived from the persistent storage class, business objects can
also have additional properties such as run-time properties, compound properties,
and relation properties.
PLM00071 J
5-111
Chapter 5
To display custom properties in the end user interface, you can use XML
rendering style sheets.
To learn how to display custom properties in the end user interface
using style sheets, see Workshop 5: Display custom properties in the
client user interface.
Properties table
When you right-click a business object, choose Open, and click the Properties tab in
the resulting view, the properties of the business object appear in a table.
5-112
Column
Description
Property Name
PLM00071 J
Column
Description
Type
Attribute
A simple value (for example, integer, string, or date).
The value is stored in the database as an attribute
and mapped to the property.
Compound
A property displayed from one type as if it were the
property of that type, though it actually resides on
another type. Though run-time properties can be
used to display such a property, they require custom
coding to do so. Compound properties allow you to
create such properties without custom coding.
Reference
A reference to another object. The reference is stored
in the database as a reference attribute and mapped
to the property.
Relation
A reference to secondary objects of an ImanRelation
business object. The reference is stored in the
database as a relation type and is derived from that
ImanRelation business object.
Runtime
A property that is defined at run time and attached
to types. Run-time properties do not map directly
to persistent attributes, references, or relations.
Instead, run-time properties derive data from one
or more pieces of system information (for example,
date and time) that are not stored in the Teamcenter
database. Run-time properties can also be used to
display a property of one type as if it were a property
of another type.
Storage Type
Character
A single character, such as A, B, Z.
Date
A calendar date. A form using this format displays
a date selector.
PLM00071 J
Double
5-113
Chapter 5
Column
Description
A double-precision floating point decimal number (an
8-byte decimal number from the range 1.7E to 308).
ExternalReference
Points to data outside of Teamcenter.
Integer
An integer without decimals from 1 to 999999999.
Logical
A Boolean value of True or False.
LongString
A string of unlimited length.
Note
Short
An integer number without decimals from 1 to 9999.
String
A string of characters.
TypedReference
Points to a Teamcenter class.
UntypedReference
Points to any class of data.
5-114
Inherited
Source
COTS
Template
Referenced Type
LOV
Naming Rule
PLM00071 J
on
at
3. Right-click the custom form business object, choose Open, and click the
Properties tab in the resulting view.
PLM00071 J
5-115
Chapter 5
on
Organize by Inheritance
Alphabetically sorts the Source column that shows where the property
originates.
Select Filters
Excludes or includes properties on the table.
Add properties
Overview of how to add properties
Properties contain information such as name, number, description, and so on. A
business object derives its persistent properties from the attributes on its persistent
storage class. Business objects can also have additional properties such as run-time
properties, compound properties, and relation properties.
To add properties, right-click a custom business object in the Business Objects
folder, choose Open, click the Properties tab in the resulting view, and click the Add
button to the right of the properties table.
For an example of adding properties, see Workshop 4: Create custom properties.
5-116
PLM00071 J
Persistent
Persistent properties are properties of business objects that remain constant
on the object.
For more information, see Add a persistent property.
Run-time
Run-time properties are derived each time the property is displayed. Their data
is derived from one or more pieces of system information (for example, date or
time) that are not stored in the Teamcenter database.
For more information, see Add a run-time property.
Compound
Compound properties are properties on business objects that can be displayed as
properties of an object (the display object) although they are defined and reside
on a different object (the source object).
For more information, see Add a compound property.
Relation
Relation properties are properties that define the relationship between objects.
For example, a dataset can be attached to an item revision with a specification,
requirement, or reference relation, among many others.
For more information, see Add a relation property.
Caution
After you add a property, to be able to use the property in the user
interface you must change characteristics of the property by using the
following property constants:
Enabled
Enables the new property in the user interface, if the property
is writable. (This constant cannot be set to true for read-only
properties.)
Select the new property on the properties table, and in the Property
Constants table, select Enabled and set it to true.
Modifiable
Makes the new property writable.
If you want your new property to be writable rather than read-only,
change the Modifiable constant on the property from Read to Write.
Visible
Makes the new property visible in the user interface.
Select the new property on the properties table, and on the Property
Constants table, select Visible and set it to true.
PLM00071 J
5-117
Chapter 5
You can add persistent properties to COTS and custom business objects.
To display custom properties in the end user interface, you must use XML rendering
style sheets.
To learn how to display custom properties in the end user interface using style
sheets, see Workshop 5: Display custom properties in the client user interface.
1. If you want to add an operation to the property, set the active library for the
property. In the Extensions folder, open the Code Generation\Libraries folders,
right-click the library and choose OrganizeSet as active Library. A green
arrow in the library symbol indicates it is the active library.
For information about creating libraries, see Create a library.
2. Open the Business Objects folder.
3. Browse to the business object to which you want to add the property. To search
for a business object, you can click the Find button
4. Right-click the business object, choose Open, and click the Properties tab in the
resulting view. The properties of the business object appear in a table.
5. Click the Add button to the right of the properties table.
The Business Modeler IDE runs the New Property wizard.
6. Under Property Types select Persistent. Click Next.
7. Perform the following steps in the Persistent Property dialog box:
a. In the Name box, type the property name as you want it to appear in the
database. The name cannot contain spaces.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, a4_. The prefix for properties begins with a
lowercase letter.
5-118
PLM00071 J
For more information, see Naming objects and Create a Business Modeler
IDE template project.
b.
In the Display Name box, type the name as you want it to appear in the
user interface.
For more information, see Localization process in the Business Modeler IDE.
c.
d. In the Attribute Type box, select the storage type for the attribute, for
example, String. Choose from the following attribute types:
Boolean
Allows two choices to the user (True or False).
Character
A single character, such as A, B, Z.
Date
A calendar date. A form using this format displays a shortcut date
selector.
Double
An 8-byte decimal number from the range 1.7E to 308.
ExternalReference
Points to data outside of Teamcenter.
Integer
An integer without decimals.
Logical
A Boolean value of True or False.
LongString
A string of unlimited length.
Note
Prior to Teamcenter 2007.1, the Note type was used for unlimited
strings. Use the LongString type instead.
String
A string of characters.
TypedReference
Points to a Teamcenter class.
UntypedReference
Points to any class of data.
PLM00071 J
5-119
Chapter 5
e.
If the attribute is a string attribute, in the String Length box, type the byte
length of the attribute.
For Western languages, one character requires one byte. For example, a field
with a string length of 128 can accommodate 128 characters of a Western
language. However, for multibyte languages such as Chinese, Japanese, and
Korean, one character requires two bytes. Therefore, a field with a string
length of 128 can accommodate only 64 characters.
f.
g.
Select the Set Initial Value to Null check box if you do not want a beginning
value on the property.
h. In the Initial Value box, type the value to populate the attribute.
i.
In the Lower Bound box, type the lower numerical limit for a numerical
or alphanumerical attribute.
j.
In the Upper Bound box, type the upper numerical limit for a numerical
or alphanumerical attribute.
Array?
Specifies that the attribute is an array of the data of the data type (for
example, string).
Unlimited
Indicates that there is no limit on the number of array elements used
for the attribute.
MaxLength
Specifies the maximum number of array elements allowed for the
attribute.
l.
Transient?
Does not persist the attribute in the database.
Nulls Allowed?
Allows an empty value for the attribute.
You cannot clear the Nulls Allowed? check box and also leave the
Set Initial Value to NULL? check box cleared. If you do, the system
automatically defines a CreateInput operation on the Operation
Descriptor tab of the business object.
For more information about the CreateInput operation, see Manage
business objects for the CreateInput operation.
5-120
Unique?
PLM00071 J
Candidate Key?
Specifies that when exporting an object, send this attribute and rely on
the receiving site to look up this string in the local database. This is
typically used for system administration defined classes such as unit of
measure where a local administrator may want to control what units
exist on his site.
Export As String?
Specifies that when exporting an object, export this attribute as a string.
Follow on Export?
For typed and untyped references, exports the referenced object when
the attribute is exported.
No Backpointer?
Does not record the attribute in the POM backpointer table.
Each time a forward pointer is created for an attribute, an inverse record
is stored in the POM backpointer table. Therefore, the backpointer
table keeps a record of where-referenced attributes and is used for
where-referenced calls and for a check that things are not referenced
when an item is deleted.
To help system optimization, you may want to use the No Backpointer
key for those attributes that are unlikely ever to be deleted (such as
owning-user, owning-group, or dataset-type). Selecting the No
Backpointer key saves the POM system from having to check every
reference column in the table whenever a where-referenced or delete
action is called.
Public Read?
Grants everyone read access to the attribute.
Public Write?
Grants everyone write privileges on the attribute.
PLM00071 J
5-121
Chapter 5
Overridable?
Allows child business objects to override this method.
Published?
Generates the getter or setter method.
PreCondition?
Places limits before an action.
5-122
PLM00071 J
PreAction?
Executes code before an action.
PostAction?
Executes code after an action.
In the Property Constants table, select the constant you want to change and
click the Edit button.
PLM00071 J
5-123
Chapter 5
11. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
menu bar, or select the project and click the Deploy Template button
the main toolbar.
For more information, see How to deploy a template.
15. After deployment, test your new property in the Teamcenter rich client.
For example, if you added a property on a custom child of the Form class, in the
My Teamcenter application, select an instance of that custom form business
object and view its properties in the Viewer tab.
Note
There are many ways to add new properties to the rich client or thin
client user interface. The easiest way is to add the properties using
XMLRenderingStylesheet datasets.
For more information, see Workshop 5: Display custom properties in the
client user interface or the Client Customization Programmers Guide.
5-124
PLM00071 J
In the Display Name box, type the name as you want it to appear in the
user interface.
For more information, see Localization process in the Business Modeler IDE.
c.
In the Attribute Type box, select the storage type for the attribute, for
example, String. Choose from the following attribute types:
Boolean
Allows two choices to the user (True or False).
Character
A single character, such as A, B, Z.
Date
A calendar date. A form using this format displays a shortcut date
selector.
Double
An 8-byte decimal number from the range 1.7E to 308.
ExternalReference
Points to data outside of Teamcenter.
Integer
An integer without decimals from 1 to 999999999.
Logical
A Boolean value of True or False.
String
A string of characters.
TypedReference
Points to a Teamcenter class.
PLM00071 J
UntypedReference
5-125
Chapter 5
f.
g.
Array?
Specifies that the attribute is an array of the data of the data type (for
example, string).
Unlimited
Indicates that there is no limit on the number of array elements used
for the attribute.
MaxLength
Specifies the maximum number of array elements allowed for the
attribute.
h. Click Next.
The Business Modeler IDE displays the Runtime Property Operation dialog
box. A property operation is a function on a property. You can publish getter
and setter methods on the operation. The following steps are the same as
when you select a custom property on the Operations tab and click Add.
For more information, see Add a property operation.
7. In the Property Operation dialog box, select the Getter check box to enable
getting the value of the property, and select the Setter check box to enable setting
the value of the property. Select the following check boxes that apply:
Overridable?
Allows child business objects to override this method.
Published?
Generates the getter or setter method.
PreCondition?
Places limits before an action.
5-126
PreAction?
PLM00071 J
PostAction?
Executes code after an action.
Click Finish.
The new property appears in the properties table and is marked with a c
indicating it is a custom property.
8. After you add a property, change characteristics of the property by using
property constants.
a. On the Properties tab, select the new property in the properties table.
b.
In the Property Constants table, select the constant you want to change and
click the Edit button.
on
PLM00071 J
5-127
Chapter 5
There are many ways to add new properties to the rich client or thin
client user interface. The easiest way is to add the properties using
XMLRenderingStylesheet datasets.
Note
You can add compound properties to COTS and custom business objects.
1. In the Business Objects folder, browse to the business object to which you want
to add the compound property. To search for a business object, you can click the
at the top of the view. Right-click the business object, choose
Find button
Open, and click the Properties tab in the resulting view.
The business object properties appear in a table.
2. Click the Add button to the right of the properties table.
The Business Modeler IDE runs the New Property wizard.
3. Under Property Types, select Compound. Click Next.
4. Perform the following steps in the Compound Property Page dialog box:
a. In the Name box, type the name you want to assign to the new compound
property. The name should match the format of other properties (that is, all
lowercase with underscores separating words).
The Path pane displays the target business object to which you add the new
compound property.
Tip
b.
In the Display Name box, type the name as you want it to appear in the
user interface.
For more information, see Localization process in the Business Modeler IDE.
5-128
PLM00071 J
Tip
c.
d. Select the ReadOnly check box if you do not want users to be able to
change the compound property value on instances of the business object in
Teamcenter.
5. Perform the following steps in the Compound Property Segment dialog box:
a. Select the property on the target business object to hold the compound
property, such as items_tag. Use the Reference, Relation, and Runtime
check boxes to filter out the type of properties to display.
PLM00071 J
5-129
Chapter 5
Note
b.
Click Next.
The Compound Property Segment dialog box displays the Choose a
business object message.
c.
Select the business object that is the source for the property.
d. Click Finish.
The Compound Property Page dialog box appears, showing the compound
property path thus far.
Note
6. To add the last segment, click the Add Final Segment button.
The Add Compound Property Segment wizard runs, displaying the message
Choose a property.
Perform the following steps in the Compound Property Segment dialog box:
a. Select the property you want to use for the final segment of the compound
property.
5-130
PLM00071 J
Click Finish.
The Compound Property Page dialog box appears, showing the compound
property path.
PLM00071 J
5-131
Chapter 5
7. When you are done adding segments in the Compound Property Page dialog
box, click Finish.
The new compound property appears in the property table.
8. After you add a property, change characteristics of the property by using
property constants.
a. On the Properties tab, select the new property in the properties table.
b.
In the Property Constants table, select the constant you want to change and
click the Edit button.
10. Deploy your changes to the test server. Choose BMIDEDeploy Template on the
menu bar, or select the project and click the Deploy Template button
the main toolbar.
on
There are many ways to add new properties to the rich client or thin
client user interface. The easiest way is to add the properties using
XMLRenderingStylesheet datasets.
For more information, see Workshop 5: Display custom properties in the
client user interface or the Client Customization Programmers Guide.
5-132
PLM00071 J
1. In the Business Objects folder, right-click the custom business object to which
you want to add the property, choose Open, and click the Properties tab in the
resulting view.
The properties of the business object appear in a table.
2. Click the Add button to the right of the properties table.
The Business Modeler IDE runs the New Property wizard.
3. Under Property Types, select Relation. Click Next.
4. Perform the following steps in the Relation Property dialog box:
a. Click the Browse button to the right of the Relation Business Object
box and select the relation business object you want to use, for example,
IMAN_specification. The available business objects are children of the
ImanRelation business object.
b.
c.
Click Finish.
The new relation property is added to the property table.
In the Property Constants table, select the constant you want to change and
click the Edit button.
on
PLM00071 J
5-133
Chapter 5
Note
Property constants
Setting property behavior with property constants
You can change the characteristics of properties by using property constants.
Use property constants to make properties enabled, modifiable, exportable, required,
a stub property, visible, or set the initial value. You can even create your own
property constants.
1. In the Business Objects folder, locate the business object that has the property
whose characteristics you want to change.
2. Right-click the business object, choose Open, and click the Properties tab in
the resulting view.
The properties of the business object appear in a table.
3. In the Properties table, select the property whose properties you want to change.
4. In the Property Constants table, select the property constant whose value you
want to change for the property.
For information on the property constants, see Property constants.
5. Click the Edit button.
The system displays the Modify Property Constant dialog box.
6. Type an entry in the Value box, or select a value using the dropdown menu, or
select the check box. Valid values are dependent on the property constant.
7. Click Finish.
The new value displays in the Value column on the Property Constants table.
Note
If you want to set the value back to its previous value, click the Reset
button. This resets the value and reloads the data model.
8. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
5-134
PLM00071 J
When you create a new constant, you must also add the code on the server to return
the constants value to the caller, so the caller can branch the business logic based
on the returned value. The server side code can use the following published ITK
to retrieve a property constant value:
int CONSTANTS_get_property_constant_value(
const char*
constant_name,
const char*
type_name,
const char*
property_name,
char**
value
);
/*
/*
/*
/*
<I> */
<I> */
<I> */
<OF> */
Once a constant is set, it can be overridden by another template. The rule is that the
last template that gets installed determines the constant value that is used.
1. Choose one of these methods:
In the Name box, type the name you want to assign to the new constant
in the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
PLM00071 J
5-135
Chapter 5
*.*
The constant can be applied to all properties on all business objects.
*.object_desc
The constant can be applied to the object_desc property on all
business objects
Item.*
The constant can be applied to all properties on the Item business
object.
Item.object_des
The constant can be applied only to the object_desc property on the
Item business object and its children.
e.
If desired, click the Add button to the right of the Scope box to narrow the
scope further.
f.
Click the arrow in the Data Type box to select one of the following:
Boolean
Allows two choices to the user (True or False).
String
Indicates that the value is a text string.
List
Contains a list of values.
g.
If you selected the List data type, a Values table appears. Click the Add
button to add values to the list:
A. In the Value box, type a value for the list.
5-136
PLM00071 J
If you selected the String data type, type in the default value.
If you selected the Boolean data type, click the arrow to select True or
False for the default value.
If you selected the List data type, click Browse to select a value from the
available ones on the list.
Note
i.
Use the following check boxes to enable the constant for live updates:
In a live updates environment, you can deploy changes for custom constants,
but you cannot deploy changes for COTS constants.
For more information about live updates, see Introduction to live updates.
j.
Click Finish.
The new constant appears under the Property Constants folder in the
Extensions folder.
Note
You can also see the property constant on the business object it is
applied to. Right-click the business object, choose Open, and click
the Properties tab. The constant appears in the Property Constants
table.
3. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
on
PLM00071 J
5-137
Chapter 5
String
Type a new value.
Boolean
Click the arrow in the Default Value box to select True or False.
List
Click the Browse button to the right of the Default Value box to select
another value from the list. Click the Add and Remove buttons to the right
of the Default Value box to add values to the list, or to remove values.
5. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
5-138
PLM00071 J
PLM00071 J
5-139
Chapter 5
Use the following pattern to define the description of an item as a combination of the
ItemId and ItemName properties combined with a string literal:
$item_id+"//"+$object_name
Note
The following table shows the property types and value types for which the Enabled
property constant is applicable.
Property type
Value type
Applicable
Compound
X
X
5-140
Not
applicable
PLM00071 J
Property type
Value type
Reference
Relation
Runtime
Applicable
Not
applicable
X
PLM00071 J
5-141
Chapter 5
5-142
PLM00071 J
No trailing zeroes
In this example, the property value has no trailing zeroes.
If the property constant is not overwritten on the property, the default value of
false is used. In this case, you see the full precision of the property in the user
interface:
MyProp value in database:
0.123456781234567
0.123456781234567
If the property constant is overridden on this property to true (to trim trailing
zeroes in the user interface), but there are no trailing zeros, all digits are shown
in the user interface:
0.123456781234567
0.123456781234567
Trailing zeroes
In this example, the property value has trailing zeroes.
If the constant is not overridden on this property, the default value of false is
used (not to remove trailing zeros in the user interface). In this case, you still see
the full precision of the property in the user interface, even if it has trailing zeros.
MyProp value in database:
0.120000000000000
0.120000000000000
PLM00071 J
5-143
Chapter 5
0.120000000000000
0.12
The initial value applies only when the property for which it is defined is
empty or null.
Initial values are prepopulated in the Name and Description boxes in the New Item,
Revise, New Form, New Dataset, and New Folder dialog boxes in the Teamcenter
rich client.
Note
The following table shows the property types and value types for which the
InitialValue property constant is applicable.
Property type Value type
Applicable
Compound
NULLTAG only, if
NULL values are
allowed for this
property.
X
X
X
5-144
Reference
Relation
Not
applicable
PLM00071 J
Applicable
Runtime
NULLTAG only, if
NULL values are
allowed for this
property
Not
applicable
Read
Allows users to view the value of the property but does not allow them to modify
the value.
Write
Allows users to modify the value of the property if they have write access to the
object to which the property belongs.
PLM00071 J
/>
5-145
Chapter 5
Property type
Applicable
X
X
X
X
Relation
Runtime
Not
applicable
5-146
PLM00071 J
Note
The following table shows the property types and value types for which the Visible
property constant is applicable.
Property
type
Compound
Value type
X
X
X
X
Relation
Runtime
Compound properties
Introduction to compound properties
A compound property is a property that can be displayed on one object (the display
object) although it is defined and resides on a different object (the source object).
The display object and source object are related by one or more Teamcenter relations
and reference properties. The relationship between the display object and source
object can be a reference relation, a GRM relation, or a combination of the two.
Compound properties behave as a property of the display object type. Compound
property rules can be inherited by children of the source business object.
For instructions about how to create compound properties, see Add a compound
property.
Each Teamcenter business object has a set of predefined properties and associated
properties. Depending on the business and process requirements of your company,
properties may need to be defined for the business objects. Run-time properties
functionality allows you to add new properties to business objects; however, adding
and registering new properties using this method requires writing custom code.
Compound properties allow you to add new properties to business objects without
writing custom code and without using run-time properties.
PLM00071 J
5-147
Chapter 5
Note
The compound property appears disabled on the display object if the property
on the source object is not modifiable.
The name of a compound property and the UI display name can be different from
the property name and property UI display name on the source object.
The value type of a compound property is the same as that of its source property.
For example, if the value type of the source property is PROP_string, the value
type of the compound property is also PROP_string.
If the source property is a variable length array (VLA) the compound property is
also a VLA.
If a list of values (LOV) is attached to the source property, the same LOV is
attached to the compound property.
If the user does not have write privileges to the object on which the compound
property exists, the compound property is not modifiable.
If the user does not have write privileges to the object on which the source
property exists, the user cannot modify the value of the compound property.
To obtain the values of the compound property, the system traverses the object
hierarchy specified in the compound property. If the system fails to reach the
source property while traversing the object hierarchy, the value of the compound
property cannot be retrieved and an error message is displayed. The value is
displayed as a blank box in the Teamcenter rich client.
5-148
PLM00071 J
For more information about how to set values on this constant, see the Global
constants reference.
This sample compound property displays the value of the last_sync_date
property; Absocc Last Sync Date is the display name of the property.
2. Save the data model and deploy to the rich client.
3. To verify the compound property, perform the following steps in the rich client:
a. Create a simple structure and send it to Structure Manager.
PLM00071 J
b.
c.
5-149
Chapter 5
f.
Lists of values
Introduction to lists of values (LOVs)
The LOV folder in the Extensions folder is used for working with lists of values
(LOVs). LOVs are pick lists of data entry items. They are commonly accessed by
Teamcenter users when they click an arrow in a data entry box.
Batch
Store the LOV values in the Teamcenter database rather than storing them
in the template.
Classic
Store the LOV values in the template.
Dynamic
Read the LOV values dynamically by querying the database.
After you create a list of values, you must attach it to a property on a business object.
5-150
PLM00071 J
For an example of adding lists of values, see Workshop 6: Create lists of values.
1. Choose one of these methods:
On the menu bar, choose BMIDENew Model Element, type Classic LOV
in the Wizards box, and click Next.
Open the Extensions\LOV folders, right-click the Classic LOV folder, and
choose New Classic LOV.
In the Name box, type the name you want to assign to the new LOV in the
database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
d. Click the Browse button to the right of the Type box to select the LOV
business object for the LOV you want to create. The business objects are all
children of the ListOfValues business object.
Warning
When you select an LOV data type, ensure that the LOV
values entered adhere to the standard for that data type. For
example, if you choose a double primitive data type, and the
data you enter is more than the capacity of that data type,
the data may be truncated or rounded per IEEE standards of
double data types. Data type standards are established by
the Institute of Electrical and Electronics Engineers (IEEE).
If you do not adhere to the capacity of the double data
type, there may be a deployment issue for processing other
elements like localization and sub-LOV attachments that
are tied to the LOV values.
PLM00071 J
5-151
Chapter 5
ListOfValuesChar
Single character. Only alphabetic characters can be used (for example,
AZ). You cannot use any other kinds of characters (numbers,
punctuation, and so on).
ListOfValuesDate
Date and time in the format used at your site.
ListOfValuesDouble
Double-precision, floating-point decimal number (sometimes called a
real).
ListOfValuesExternalCharExtent
Single character in the database.
ListOfValuesExternalDateExtent
Date and time in the database.
ListOfValuesExternalDoubleExtent
Double-precision, floating-point decimal number in the database.
ListOfValuesExternalIntExtent
Whole number in the database.
ListOfValuesExternalStringExtent
A string in the database.
ListOfValuesFilter
Reference to another nonfiltered LOV with the capability to filter the
referenced LOVs values.
For more information, see Create a filter LOV.
ListOfValuesInteger
Whole number.
ListOfValuesIntegerExtentSite
A site name in the database. Valid values are all existing instances of
the selected site.
ListOfValuesIpClassification
An intellectual property classification.
ListOfValuesString
String of characters.
5-152
ListOfValuesStringExtent
PLM00071 J
ListOfValuesStringExtentGrName
A group name in the database. Valid values are all existing instances
of group names.
ListOfValuesStringExtentPubrType
Workspace object in the database. Valid values are all existing workspace
object types.
ListOfValuesStringExtentStatus
Status in the database. Valid values are all existing release status
names.
ListOfValuesStringExtentUserId
A user ID in the database. Valid values are all existing instances of the
active user_id attribute in the POM_user class.
ListOfValuesStringExtentUsName
A user name in the database. Valid values are all existing instances of
the active user_name attribute in the POM_user class.
ListOfValuesStringExtentWSOClass
Workspace object class in the database. Valid values are all existing
instances of the WorkspaceObject class.
Note
ListOfValuesTagExtent
Reference to a unique tag in the database.
ListOfValuesTagRDVSearchRevRule
Repeatable Digital Validation (RDV) tag.
e.
Exhaustive
Indicates that the list contains all possible choices.
Suggestive
Specifies that the list contains suggested choices. The user can enter
their own value if they want.
PLM00071 J
Range
5-153
Chapter 5
The Reference box appears if you selected string, tag, or tag extent types.
Click the Browse button to the right of the Reference box to select the class
and attribute to use for the LOV values. You can use this to obtain values for
the LOV from a class attribute, such as item_id.
If a class attribute is specified for a string usage or tag LOVs, click
the Load button in the lower right of the dialog box to obtain values
from the database and populate the table with items from the
attribute. The Teamcenter Repository Connection wizard prompts
you to log on to a server to look up its available attribute values.
Note
To create cascading LOVs, select the Show Cascading View check box. Click
the Add Sub LOV button to add existing LOVs to the list.
You can also create cascading LOVs another way. For more information,
see Create a cascading LOV.
h. Click the Add button to the right of the LOV Values table.
The Add LOV Value wizard runs.
i.
B. In the Value Display Name box, type the value name as you want it to
appear in the user interface.
For more information, see Localization process in the Business Modeler
IDE.
C. In the Description box, type a brief description of the LOV value.
Note
5-154
PLM00071 J
Change the LOVs as desired by using the Remove, Edit, Move Up, Move
Down, and Clear buttons.
If you used the Reference box, click the Load button to look up values on
the server.
If you chose the Range usage, fill in the high and low values for the range in
the Upper and Lower boxes.
Note
k. If you want to change the display text for the LOV values in different
language locales, click the Localization button.
For more information, see Set display names for lists of values (LOVs).
PLM00071 J
5-155
Chapter 5
Click Finish.
The new LOV appears in the Classic LOV folder.
3. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
To display the LOV in the Teamcenter rich client or thin client user interface, you
must attach it to a property on a business object.
For more information, see Attach an LOV to a property.
Batch LOVs
Create batch lists of values
Defining a batch list of values (LOV) allows you to directly update the LOV values in
the Teamcenter database rather than storing them in the template. You can use the
bmide_manage_batch_lovs utility to update the values for externally managed
LOVs from XML files.
1. Choose one of these methods:
5-156
On the menu bar, choose BMIDENew Model Element, type Batch LOV
in the Wizards box, and click Next.
PLM00071 J
Open the Extensions\LOV folders, right-click the Batch LOV folder, and
choose New Batch LOV.
In the Name box, type the name you want to assign to the new LOV in the
database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
d. Click the Browse button to the right of the Type box to select the LOV
business object for the LOV you want to create. The business objects are all
children of the ListOfValues business object.
ListOfValuesChar
Single character. Only alphabetic characters can be used (for example,
AZ). You cannot use any other kinds of characters (numbers,
punctuation, and so on).
PLM00071 J
5-157
Chapter 5
ListOfValuesDate
Date and time in the format used at your site.
ListOfValuesDouble
Double-precision, floating-point decimal number (sometimes called a
real).
ListOfValuesInteger
Whole number.
ListOfValuesString
String of characters.
Note
e.
Exhaustive
Indicates that the list contains all possible choices.
Suggestive
Specifies that the list contains suggested choices. The user can enter
their own value if they want.
f.
Click Finish.
The new batch LOV appears in the Batch LOV folder.
Note that in the LOV Value Management box of the new batch LOV
that the Supply values directly to Teamcenter database using
"bmide_manage_batch_lovs" command line utility is selected.
5-158
PLM00071 J
batch_lov_test_project\output\Samples\LOVS\B5_TestLOV
3. In the Project Files folder, open the \output\Samples\LOVS folders to see the
sample LOV files.
Modify the sample file by replacing the commented code with your values.
c.
Modify the localization files in the lang folder by replacing the commented
code with your values.
4. Package the template in the Business Modeler IDE and deploy it using
Teamcenter Environment Manager (TEM) after shutting down the system.
5. Extract LOV values from the external ERP system and place the values in an
XML file and accompanying localization XML file. (You can also manually
maintain the XML files without using an ERP system.) The XML files should
confirm to the batch utility schema.
For sample XML files, see the
TC_ROOT\bmide\client\samples\externallymanagedlovs directory.
6. Run the bmide_manage_batch_lovs utility to update the externally managed
LOVs in the database with the values in the XML files, for example:
PLM00071 J
5-159
Chapter 5
The XML file containing the LOV localizations must be stored in a lang
subdirectory.
For more information, see the Utilities Reference.
7. After update of externally managed LOVs, if you are using client cache at your
site, you must run the generate_client_meta_cache utility with the generate
lovs command to update the LOV cache stored on the server.
Convert an LOV managed in a template to an externally managed LOV
Typically, values for LOVs are stored in a template, which can then be
deployed to a server. But you can also externally manage LOVs and use the
bmide_manage_batch_lovs utility to update the externally managed LOVs in
the database.
1. Open an LOV that is managed in a template.
2. In the LOV Value Management box of the LOV, select Supply values directly
to Teamcenter database using bmide_manage_batch_lovs command line
utility.
Convert to externally managed LOV using the LOV Value Management box
The following dialog box appears.
5-160
PLM00071 J
PLM00071 J
5-161
Chapter 5
For more information about this utility, see the Utilities Reference.
7. Now that the LOV values are stored in the database, you can manage the values
though the bmide_manage_batch_lovs utility.
For more information, see Create batch lists of values.
Convert an externally managed LOV to an LOV managed in a template
Externally managed LOVs can be converted to LOVs managed in a template.
1. Open an LOV that is externally managed.
2. In the LOV Value Management box of the LOV, select Enter values using BMIDE
and store values in my template.
5-162
PLM00071 J
Because the LOV values for this LOV are still in the database, you can
extract them using the bmide_manage_batch_lovs utility. To extract
LOV values, sub-LOV attachments, and localizations for specific LOVs
in the database, enter a command like the following on a single line:
bmide_manage_batch_lovs u=username p=password g=dba
option=extract lovs=BatchLOV_LOV1,BatchLOV_LOV2
-file=BatchLOV_extracted.xml
You can then use the extracted values as the basis for new values to
enter in the template-managed LOV.
For more information about this utility, see the Utilities Reference.
5. Choose BMIDESave Data Model, then BMIDEPackage Template Extensions,
and install the template to the server. After updating the template to the
server, these changed LOVs are not available for extraction or update using the
bmide_manage_batch_lovs utility.
Considerations for externally managing LOVs
Instead of managing LOVs in a template, you can manage LOVs externally through
the use of the bmide_manage_batch_lovs utility.
For more information, see Create batch lists of values.
The following cases are supported:
PLM00071 J
5-163
Chapter 5
ListOfValuesInteger
ListOfValuesDouble
ListOfValuesDate
ListOfValuesChar
You can only use the Exhaustive and Suggestive LOV usages. (You cannot
use the Range usage.)
An externally managed LOV can have sub-LOVs that are either managed in a
Business Modeler IDE template or externally managed. This can be done only
through the bmide_manage_batch_lovs utility but not using the Business
Modeler IDE.
You cannot convert an LOV that you do not own in your template. For example,
COTS LOVs cannot be converted to externally managed LOVs, and vice versa.
5-164
In the case of an LOV with sub-LOV attachments, when a user has also attached
a description to another property from the interdependent LOV attachment
wizard, the value-description attachment is for level 0 values. In Teamcenter
clients, the LOV structure that is displayed only allows users to select values
and descriptions for top-level values.
PLM00071 J
Dynamic LOVs
Introduction to dynamic LOVs
Lists of values (LOVs) are lists on property boxes in the user interface. Dynamic
LOVs show a list of values obtained dynamically by querying the database.
For example, if you want a list of values of all aluminum widgets in the database that
have a blue glossy finish, you can create a dynamic LOV to query the database for
them. Or if you want a list of values of all the members of the widget development
project, you can create a dynamic list of values to find them. Dynamic lists of values
are not static but change as the data in the database changes. They allow end users
to select from lists composed of data that is active in the database.
Prior to Teamcenter 10.1, you had to write code to do the querying when creating a
dynamic LOV in the Business Modeler IDE. Now you can create a query as part of
the dynamic LOV definition. This makes it much easier to create queries, because no
coding knowledge is required. You can query for product data from objects such as
items, parts, and datasets, or query for administrative data from categories such as
users, groups, and roles. You can also filter the LOV values from the queries and
import LOV values from an external system using TC XML.
The following sample dynamic LOV queries for all items belonging to a certain
project.
PLM00071 J
5-165
Chapter 5
5-166
PLM00071 J
On the menu bar, choose BMIDENew Model Element, type Dynamic LOV
in the Wizards box, and click Next.
Open the Extensions\LOV folders, right-click the Dynamic LOV folder, and
choose New Dynamic LOV.
PLM00071 J
5-167
Chapter 5
b.
c.
Click the arrow in the Data Type box to select the data type of the LOV
values:
String
String of ASCII characters.
Integer
Whole number.
Date
Date and time in the format used at your site.
Double
Double-precision floating point decimal number (sometimes called a real).
Tag
Reference to a unique tag in the database (for example, item ID).
Exhaustive
Indicates that the list contains all possible choices.
Suggestive
Specifies that the list contains suggested choices. The user can enter
their own value if they want.
e.
f.
Click the Browse button to the right of the Query Type box to select the
first business object type to query.
For example, if you want to query for properties on item business objects,
select Item. If you want to query for system users, select User.
g.
Click the Add button to the right of the Query Criteria table to select the
attributes to include in the query.
A. Select one of the Filter options:
5-168
PLM00071 J
Referenced By
Displays typed and untyped references on a relation. When you
select this and then select an attribute in the table below, you must
click Next to select the referenced attribute.
Click the arrow in the Operator box to select the operator to evaluate
the attribute.
Operator
=
PLM00071 J
Description
Equal to
5-169
Chapter 5
Operator
>
Description
<
Less than
!=
Not equal to
>=
<=
IS_NULL
Empty
IS_NOT_NULL
Not empty
Greater than
ii. In the Value box, type the value against which the selected attribute
has to be evaluated.
iii. If you add another attribute to the table, AND automatically is added
to the first column to indicate that this next criteria attribute to be
added to the query. Click the arrow in the cell containing AND to
change it to OR if desired.
h. Click the Browse button to the right of the LOV Value Attribute box to select
the property to be used as the value of the LOV displayed in the end user
interface.
The property only can be a simple attribute and not a reference attribute,
and it must be the same property type as in the Data Type box.
i.
Click the Browse button to the right of the LOV Description Attribute box
to select the property to be used as the description of the LOV displayed in
the end user interface.
j.
Click the Add button to the right of the Filter Attributes box to add properties
to view as columns in the list of values table in the end user interface. These
provide more information about each value to help the end user. Also, the
end user can click the column headings to sort (filter) the lists of values.
These properties cannot be reference or relation properties.
5-170
PLM00071 J
PLM00071 J
5-171
Chapter 5
on
5-172
Dynamic LOV values are cached in the client the first time they are
accessed, and they are not refreshed or cleared during the session. If
new dynamic LOV values become available on the server during the
session, to see the refreshed values, you must log off and log on to start a
new client session.
PLM00071 J
Note
If the business object in the Query Type box is revisable (like ItemRevision),
the values for all queried instances are displayed in separate rows when you
click the Test button. If you want only the values from the latest revision to be
displayed, you must add the following line in the Query Criteria table:
AND
query-type.active_seq != 0
If the property in the LOV Description Attribute box is a variable length array
(VLA), when you attempt to create an interdependent LOV using that dynamic
LOV, the Attach Description button in the Interdependent LOV dialog box is
disabled. Attaching a description in interdependent LOVs is not supported for
VLA properties.
If a variable length array (VLA) property is selected as an LOV value, all the
values from the array of the selected instance are displayed. If any of the values
from the array are invalid per the query condition, and that value is selected in
the rich client, a error message is displayed, for example:
The Value "80.5" is not valid for the property "a2AttachDouble" of type "Double".
When you create a dynamic LOV and select a date attribute in the Query
Criteria table, if you use the = operator to find items with a particular date, you
do not get the expected results when you click the Test button. That is because
hours and minutes are saved on date attributes, and you must enter the exact
hour and minute to query data attributes using the = operator. Instead, use the
>= or the <= operators.
Also keep in mind that the Business Modeler IDE displays date and time in
Greenwich Mean Time (GMT), and the rich client displays the date and time in
the end users local time. As a result, there can be a mismatch between the date
attribute values displayed in the Business Modeler IDE and those retrieved
from the database.
PLM00071 J
5-173
Chapter 5
5-174
PLM00071 J
4. In the Query Clause Attribute dialog box, select the owning_group property
and click Next.
PLM00071 J
5-175
Chapter 5
7. Add properties to define the columns that appear on the LOV table in the end
user interface. Following is a suggestion for the properties to include.
Box
Properties
object_name
object_desc
Filter Attributes
item_id
object_type
last_mod_date
5-176
PLM00071 J
PLM00071 J
5-177
Chapter 5
5-178
PLM00071 J
PLM00071 J
5-179
Chapter 5
6. Add properties to define the columns that appear on the LOV table in the end
user interface. Following is a suggestion for the properties to include.
Box
Properties
object_name
object_desc
5-180
PLM00071 J
PLM00071 J
5-181
Chapter 5
5-182
PLM00071 J
PLM00071 J
5-183
Chapter 5
5-184
PLM00071 J
7. Add properties to define the columns that appear on the LOV table in the end
user interface. Following is a suggestion for the properties to include.
Box
Properties
object_name
object_desc
PLM00071 J
5-185
Chapter 5
5-186
PLM00071 J
Rather than importing lists of values, you can also create instances
of the Fnd0AdminLOVValue business object in clients by choosing
FileNewOther and selecting Administrative List Of Values. You can also
use Teamcenter services to create Fnd0AdminLOVValue objects using
your own client application.
PLM00071 J
5-187
Chapter 5
Note
In the preceding XML file, the value of the elemId and label attributes
should be unique throughout the file, and the value of the site_id,
originatingSite, and targetSite attributes must be updated according
to the current database. The value of these two attributes is the value of
the site_id attribute of the POM_imc class. (Use the site_util utility
with the -f=list argument to obtain the ID of the database.)
2. Import the custom XML file to Teamcenter using the tcxml_import utility,
for example:
tcxml_import -u=admin-username -p=admin-password -g=dba
5-188
PLM00071 J
file=custom-XML-file
3. To verify that the objects are imported to Teamcenter, in the rich client, use the
Admin List of Values saved search, which searches for Fnd0AdminLOVValue
business object instances.
PLM00071 J
5-189
Chapter 5
the database using TC XML. (Notice how the query criteria asks for a
Fnd0AdminLOVValue instance having the fnd0lov_category="Plastic"
value.)
5-190
PLM00071 J
PLM00071 J
5-191
Chapter 5
Tip
5-192
PLM00071 J
Note
1. Expand the Extensions folder until you see the LOV folder is displayed.
2. In the Batch LOV, Classic LOV, or Dynamic LOV folder, right-click the LOV you
want to attach and choose Open. The LOV details appear in a new view.
3. Scroll to the bottom of the view and click the Attach button under the LOV
Attachments heading.
4. Perform the following steps in the Property Attachment dialog box:
a. Click the Browse button to the right of the Property box and choose the
property to which you want to attach the LOV.
b.
Click the Browse button to the right of the Condition box if you want the
value to be available only if a certain condition applies. If you select isTrue
as the condition, the value always applies.
For examples about how to use conditions with LOV attachments, see
Attaching LOVs with conditions.
Note
Only those conditions appear that have valid signatures. For LOV
attachments, the valid condition signature is as follows:
condition-name(UserSession)
Select the Override check box if you want to override attachment of the
parent business object. Override can be set only with isTrue condition.
d. Click Finish.
The LOV is attached to the property on all the business objects that use
that property. The business objects and properties appear in the Property
Attachments table for the LOV.
5. Click the Attach button to attach the LOV to another property.
Click the Detach button to detach the LOV from a business object.
Click the Edit button to attach an LOV value description and sub-LOV values to
a cascading LOV. This is known as an interdependent LOV.
For more information, see Create a cascading LOV.
PLM00071 J
5-193
Chapter 5
7. To see the LOV attachment on the business object property, right-click the
business object, choose Open, click the Properties tab, and locate the property
on the properties table.
The LOV attachment appears in the LOV column.
8. After you attach the LOV, you can deploy your changes to the server. Choose
BMIDEDeploy Template on the menu bar, or select the project and click the
Deploy Template button
5-194
PLM00071 J
Caution
For more information about the LOV editor, see LOV editor. For more information
about attaching LOVs, see Attach an LOV to a property.
Reordering of LOV values is supported. Prior to Teamcenter 8.3, you could
reorder the LOV values in the Business Modeler IDE, but the order was not
stored in the database. Beginning in Teamcenter 8.3, the LOV values can be
reordered in the template, and the new order is stored in the database and
displayed in the Teamcenter clients that use the LOV.
Note
The LOV values cannot be reordered in filter LOVs, extent types of LOVs,
or tag extent types of LOVs.
b.
Click OK.
The values of the original LOV are displayed in the LOV Values table.
6. Select the Direct Dependency check box if you want all the new LOV values to
be derived directly from the original LOV.
7. In the Show box, select All to show all the values of the original LOV or Selected
to show only selected values.
8. In the LOV Values pane, select only the values you want to use.
Note
PLM00071 J
5-195
Chapter 5
9. Click Finish.
The new LOV appears in the Classic LOV folder.
10. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
To display the LOV in the Teamcenter rich client or thin client user interface,
you must attach it to a property on a business object.
For more information, see Attach an LOV to a property.
5-196
PLM00071 J
1. Create a main classic LOV to hold the sub-LOVs. Then create sub-LOVs that can
be used under the main LOV. For example, create an LOV that contains a list of
states, and then create an LOV for each state that contains a list of cities.
To create a classic LOV, see Create classic lists of values.
2. Right-click the main LOV in the Classic LOV folder, choose Open, and select the
Show Cascading View check box on the LOV. Cascading LOVs do not appear
unless you select the Show Cascading View check box.
3. Select a value in the main LOV and choose Add Sub LOV.
In the LOV Selection dialog box, choose the sub-LOV for that value.
For example, in a States LOV, select the California value and add the California
Cities sub-LOV. Then select the Florida value and add the Florida Cities
sub-LOV.
After you add the sub-LOVs, they appear in a cascade format in the main LOV.
4. Attach the main LOV to a property by scrolling down to the LOV Attachments
table and choosing Attach.
For more information about attaching, see Attach an LOV to a property.
For example, attach the main LOV to the Item Master business object on the
user_data_1 property. Then when you create an Item in the Teamcenter rich
client, the cascading LOV appears in the User Data 1 box in the second dialog
box of the New Item wizard.
Note
PLM00071 J
5-197
Chapter 5
5-198
PLM00071 J
PLM00071 J
5-199
Chapter 5
b.
c.
Click Finish.
5-200
PLM00071 J
c.
In the Define additional item information dialog box, click the button next to
the User Data 1 box to select the state, and click the button next to the User
Data 2 box to select the city.
d. Click Finish.
e.
Open the form on the new item. You should see the User Data 1 and User
Data 2 boxes. If you want to change the values in these boxes, click the
Check-Out and Edit button.
PLM00071 J
5-201
Chapter 5
Rather than applying conditions directly to LOVs, you can apply the conditions when
attaching the LOVs to properties. The following examples demonstrate how to apply
conditions with LOV and sub-LOV attachments:
b.
When you add LOV values, all values default to the isTrue
condition; you cannot change the condition.
5-202
PLM00071 J
b.
Note
PLM00071 J
5-203
Chapter 5
operations are based in Boston and Chicago, and R&D operations are based in
Cincinnati and Los Angeles.
When a user logs on as a member of the sales group and creates an instance of
the CostItem business object and clicks the cost_center property, you want the
cities with sales operations to be displayed. When a user logs on as a member
of the R&D group and clicks the same property, you want the cities with R&D
operations to be displayed.
Prior to Teamcenter 9.0, you could have set conditions directly on the sub-LOV
values to determine which value displayed based on group membership. Now,
you must set conditions on the LOV attachments.
1. Create a CostItem business object with a cost_center string property.
2. Create the classic LOVs.
a. Create the sales group LOVs.
A. Create a CostcenterSales LOV and add India and US values.
Note
When you add LOV values, all values default to the isTrue
condition; you cannot change the condition.
5-204
PLM00071 J
PLM00071 J
5-205
Chapter 5
US
Cincinnati
Los Angeles
5-206
PLM00071 J
Or simply:
u.fnd0isInProjListORSessionProject(o,"ProjectA")
OR u.fnd0isInProjListORSessionProject(o,"ProjectB")
Then create two LOVs such that either the ProjectA project or the ProjectB
project is assigned to display the LOV. This ensures predictable LOV display.
Or:
u. fnd0isOwningORSessionProject(o, ProjectA)
Replace B5_ with your projects unique naming prefix. For all the
objects you create for this example (properties, LOVs, and conditions)
replace B5_ with your projects unique naming prefix.
For more information about naming prefixes, see Naming objects.
b.
PLM00071 J
5-207
Chapter 5
Green
Yellow
3. Create project-based conditions.
B5_isProjectA
This condition is evaluated to the True value when working with an object
in Teamcenter whose project_list property has a project named ProjectA.
Signature:
B5_isProjectA ( WorkspaceObject o , UserSession u)
Expression:
(o!=null AND Function::INLIST("ProjectA", o.project_list, "project_name"))
OR (o=null AND u.project_name="ProjectA")
This expression says that if the workspace object exists (o!=null), and the
projectA project exists, the condition is true.
For more information about condition signatures and expressions, see
Conditions overview.
B5_isProjectB
This condition is evaluated to the True value when working with an object
in Teamcenter whose project_list property has a project named ProjectB.
Signature:
B5_isProjectB ( WorkspaceObject o , UserSession u)
Expression:
(o!=null AND Function::INLIST("ProjectB", o.project_list, "project_name"))
OR (o=null AND u.project_name="ProjectB")
This expression says that if the workspace object exists (o!=null), and the
projectB project exists, the condition is true.
For more information about condition signatures and expressions, see
Conditions overview.
4. Attach the LOVs to the property
a. Attach B5_Colors1 LOV to the b5_MyColors property and specify the
condition as B5_isProjectA.
This means that when a B5_MyPart object is assigned to the ProjectA
project, the b5_MyColors property displays the values on the B5_Colors1
LOV.
b.
5-208
PLM00071 J
b.
c.
f.
PLM00071 J
5-209
Chapter 5
Note
LOV types
An LOV type restricts LOV values to certain LOV value options. For example, if an
LOV type is ListOfValuesInteger, you can enter only integer values in the LOV.
When you create an LOV, use the Type box to select the type. The following table
describes the general types of LOV.
General LOV types
type
Description
Users can load the values from the database or
enter custom values.
The value type is the type selected. The value
type can only be attached to a type attribute.
For example, the type selected is String. This
LOV type can only be attached to a string
attribute of a class. If a user adds custom values,
only String values can be added.
typeExtent
5-210
PLM00071 J
Note
When you create a list of values (LOV) with the Tag type in the Business
Modeler IDE, it is stored in the Business Modeler IDE template and
references as a UID value in a particular database. If you install the
template in another database, the LOV breaks. To avoid this, the Tag type is
no longer supported.
Use one of the following workarounds:
Definition
Integer
Whole number.
Double
Char
String
Date
Reference
PLM00071 J
5-211
Chapter 5
Usage
Definition
Exhaustive
Suggestive
Range
Balanced/unbalanced LOVs
Parent-child relationships can be created between LOV values. The relationships
can be balanced or unbalanced. Balance is important while creating LOV wizards.
In a balanced LOV, each level of the LOV displays a related set of values. For
example, the first levels of the LOV show state values, all second levels show city
values, and all third levels show zip values. This is a balanced LOV.
In an unbalanced LOV, each level of the LOV does not have related set of values. For
example, the first level shows related values (states). In one set, the second level
shows city and in another set, the second level shows zip. This is an unbalanced
LOV.
Creating options
About the Options folder
The Options folder in the Extensions folder is for working with options. Whereas
business objects represent parts, documents, and other design objects, options
represent configurations for business objects. For example, a change item tracks a
change to a business object, a status item designates the status of a business object in
a workflow, a view item holds structure information for a business object, and so on.
Add an ID context
An ID context defines when you use unique item IDs. ID contexts are used when you
create alias or alternate IDs.
For more information, see Add an alias ID rule and Add an alternate ID rule.
1. Choose one of these methods:
5-212
PLM00071 J
In the Name box, type the name you want to assign to the new ID context
object in the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
In the Display Name box, type the name as you want it to appear in the
user interface.
For more information, see Localization process in the Business Modeler IDE.
Click Finish.
3. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
Now that you have created the ID context, you can create an alias or alternate
ID rule to use it.
For more information, see Add an alias ID rule and Add an alternate ID rule.
Introduction to notes
A note type is an object associated with a product structure occurrence in a Structure
Manager bill of material (BOM). Note types support list of values, but the LOV
must be of type String.
For instructions about how to create a note type, see Add a note type.
Users can specify a value for any note type that has been defined for the site.
The occurrence note objects that are defined are listed in the Structure Manager
Columns, BOMLine Properties, and Notes Editor dialog boxes. The user can use
any of these dialogs to enter a value for a particular occurrence.
The initial list of note types shown are standard note types supplied with the system
that are required for Teamcenter manufacturing process management and for
synchronizing object attributes from NX. These should not be deleted.
PLM00071 J
5-213
Chapter 5
For more information about occurrence notes, see the Structure Manager Guide.
1. Choose one of these methods:
On the menu bar, choose BMIDENew Model Element, type Note Type in
the Wizards box, and click Next.
In the Name box, type the name you want to assign to the new note object
in the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
When you type the name of a new note type, do not use a period (.)
in the name. The note type does not function property if a period is
placed in the name.
Note
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
In the Display Name box, type the name as you want it to appear in the
user interface.
For more information, see Localization process in the Business Modeler IDE.
Select the Attach Value List check box if you want to attach a value to the
note from a list of values (LOV).
LOV and Default Value boxes are displayed.
A. Click the Browse button to the right of the LOV box to locate the list of
values to attach to the note.
Note
The LOV must be a String type because notes are string types.
B. Click the Browse button to the right of the Default Value box to choose
the default value from the list of values that you want to attach to the
note.
f.
Click Finish.
The new note object appears under the List of Note Types folder.
In addition, a new property with the same name as the new note appears
on the BOMLine run-time business object. If you specified an LOV with the
note, the new property automatically has the LOV attached to it.
5-214
PLM00071 J
3. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
on
c.
Scroll to the bottom of the Properties dialog box and click More.
All the BOMLine properties appear. Your new note appears near the bottom
of the dialog box.
You can add an instance of your new note to any child item in the Structure
Manager application. Select the child item, choose ViewNotes, click the arrow
in the Create box and choose your new note option.
For more information about occurrences, see the Structure Manager Guide.
1. Choose one of these methods:
PLM00071 J
In the Name box, type the name you want to assign to the new occurrence
type object in the database.
5-215
Chapter 5
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
In the Display Name box, type the name as you want it to appear in the
user interface.
For more information, see Localization process in the Business Modeler IDE.
d. In the Description box, type a description of the new occurrence type object.
e.
Click Finish.
The new occurrence appears under the List of Occurrence Types folder.
3. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
on
c.
d. Select your new occurrence type. Doing this declares that the occurrence is
of this type.
5-216
PLM00071 J
The view property on the ItemRevision business object should have the same
display name value as that of the view type display name.
View type names that are used for creating run-time properties on item revisions
derive their display name from the view type objects. Therefore, to maintain
consistency, the display name of view types that are ItemRevision properties
should have the same display name as that of view types in the Business Modeler
IDE. The item revision properties dealing with view types should show the same
display names that are seen for PSView types in Structure Manager.
If you rename or add view types, this preference may need to be changed to
another value. To change preferences, choose EditOptions and click Search
at the bottom left of the dialog box.
On the menu bar, choose BMIDENew Model Element, type View Type in
the Wizards box, and click Next.
PLM00071 J
In the Name box, type the name you want to assign to the new view type
in the database.
5-217
Chapter 5
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
In the Display Name box, type the name as you want it to appear in the
user interface.
For more information, see Localization process in the Business Modeler IDE.
Click Finish.
The new view type appears under the List of View Types folder.
3. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
on
Schedule Manager statuses are set using the Status Types LOV.
For more information, see Create a custom status for Schedule Manager.
For information about assigning a status to a workflow, see the Workflow Designer
Guide.
1. Choose one of these methods:
5-218
On the menu bar, choose BMIDENew Model Element, type Status in the
Wizards box, and click Next.
PLM00071 J
In the Name box, type the name you want to assign to the new status object
in the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
In the Display Name box, type the name as you want it to appear in the
user interface.
For more information, see Localization process in the Business Modeler IDE.
Click Finish.
The new status object appears under the Status folder.
4. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
5. Deploy your changes to the test server. Choose BMIDEDeploy Template on the
menu bar, or select the project and click the Deploy Template button
the main toolbar.
on
PLM00071 J
5-219
Chapter 5
D. In the lower left pane, click the Display the Task Attributes Panel
button.
E. In the Attributes dialog box, click the arrow in the Release Status box.
Your new status appears in the list.
F. Select your new status and close the Attributes dialog box.
G. In the Name box in the lower-left pane, change Add Status Task (TCM
Released) to something that describes your new status, for example,
Add Status Task (My Released).
For more information about workflows, see the Workflow Designer Guide.
See the new status in the Modify Revision Rule dialog box:
A. In Structure Manager, choose ToolsRevision RuleModify Current.
B. In the Modify Revision Rule dialog box, click Working in the lower left
corner and select Status.
C. Click the
5-220
PLM00071 J
Viewing the new status type in the Modify Revision Rule dialog box
On the menu bar, choose BMIDENew Model Element, type Storage Media
in the Wizards box, and click Next.
In the Name box, type the name you want to assign to the new storage media
object in the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
PLM00071 J
5-221
Chapter 5
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
Click the arrow in the Media Type box and choose one of the following:
Disk
Stores data on a hard disk.
Tape
Stores data on magnetic tape.
d. In the Logical Device box, type the logical name to assign to the device.
e.
In the Description box, type a description of the new storage media object.
f.
Click Finish.
The new storage media object appears under the Storage Media folder.
3. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
on
Add a tool
A tool represents a software application, such as Microsoft Word or Adobe Acrobat.
You associate a tool with a type of dataset so you can launch the dataset file from
Teamcenter.
For more information about how to associate a tool with a dataset object, see Create
a dataset business object.
1. Choose one of these methods:
On the menu bar, choose BMIDENew Model Element, type Tool in the
Wizards box, and click Next.
Open the Extensions\Options folders, right-click the Tool folder, and choose
New Tool.
5-222
In the Name box, type the name you want to assign to the new tool object
in the database.
PLM00071 J
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
d. In the Shell/Symbol box, type the full path and program name to be run in a
shell. For example, for Microsoft Word, type $TC_BIN/msword.
e.
In the Vendor Name box, type the name of the application vendor. For
example, Adobe is the vendor for Acrobat, and Microsoft is the vendor for
Word.
f.
In the Revision box, type the version number of the application, for example,
6.0, 2006, or something similar.
g.
Click the calendar button to the right of the Release Date box to enter the
release date of the application.
Click Next.
3. Perform the following steps on the New Tool Input/Output dialog box:
a. Click the Add button to the right of the Input pane to add the type of data
the tool accepts, for example, ASCII or Binary.
b.
Click the Add button to the right of the Output pane to add the type of data
the tool outputs, for example, ASCII or Binary.
c.
Click Next.
4. Perform the following steps in the New Tool Markup Information Page dialog
box to define view and markup capabilities:
a. In the Mac Launch Command box, type the command to launch the tool in
the Macintosh operating system, for example, sample.app.
b.
In the Win Launch Command box, type the command to launch the tool in
the Windows operating system, for example, sample.exe.
c.
Select the Download Required? check box to indicate that the application
launcher must download any files before launching the application.
d. Select the Callback Required? check box to enable callback through the
application launcher for a non-Teamcenter application.
PLM00071 J
5-223
Chapter 5
e.
Select the View Capable? check box to indicate whether the defined
application can view files.
f.
Select the Markup Capable? check box to indicate whether the defined
application can perform markups.
g.
Select the Embed Application? check box to indicate the defined application
is an embedded rich client tool. For these tools, the Shell/Symbol box
contains the command to launch the embedded tool.
h. Select the VVI Required? check box to indicate that the defined application
accepts Velocity Vector Imaging (VVI).
i.
Select the Digital Signature Capable? check box to indicate whether the
defined application can do digital signing.
Note
j.
Click Finish.
The new tool object appears under the Tool folder.
5. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
Now the new tool is available for use in a dataset. When you create a new dataset
business object in the Business Modeler IDE, you can select the new tool in the
Tools for Edit or Tools for View boxes.
For more information, see Create a dataset business object.
5-224
PLM00071 J
On the menu bar, choose BMIDENew Model Element, type Unit of Measure
in the Wizards box, and click Next.
In the Name box, type the name you want to assign to the new unit of
measure in the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
In the Symbol box, enter the unit (for example, in for inches, oz for ounces,
and so on).
You can also paste symbols into the Symbol box from editors that support
symbols. For example, on Windows platforms, insert a symbol in a Word
document and then copy and paste it into the Symbol box. On Linux
platforms, you can copy and paste symbols from OpenOffice.
Note
You can also enter special characters using key combinations. First
set the LC_ALL=en_US.ISO8859-1 and LANG=C environment
variables. Then consult the documentation for your platform for the
key combinations you can use.
Windows
Enter special characters by using the Alt key with a number to
insert symbols from the Windows Character Map:
http://office.microsoft.com/en-us/help/HA101675391033.aspx
#CharacterMap
http://www.forlang.wsu.edu/help/keyboards.asp
PLM00071 J
Linux
5-225
Chapter 5
Click Finish.
The new unit of measure appears under the Unit of Measure folder.
3. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
on
Document management
Using the Business Modeler IDE to configure document management
Document management lets end users manage documents in Teamcenter, including
the capability to render view-only versions, manage markups, and define print
configurations and system stamp configurations.
For more information about document management, see Getting Started with
Document Management.
Note
To use PDF markup capabilities, you must create a tool for markup.
For more information about how to create a tool, see Add a tool.
5-226
PLM00071 J
Print configurations
A print configuration is an object that defines batch print settings.
Before you can translate documents, you must have the Teamcenter
dispatcher installed and configured.
For more information, see Getting Started with Dispatcher (Translation
Management).
PLM00071 J
5-227
Chapter 5
In the Name box, type the name you want to assign to the new service
in the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
d. Select the Service Available check box to make the service available for
use. (If this check box is cleared, it can indicate the service is not to be used
temporarily, or the service is replaced by a different service.)
e.
In the Provider Name box, type the name of your organization as the
provider of the service, for example, Siemens.
f.
In the Provider Display Name box, type the name of your organization as you
want it to display in the user interface, for example, Siemens PLM Software.
g.
In the Service Name box, type the name of the translator you want to
perform the translation, for example, previewservice or pdfgenerator.
Note
h. In the Service Display Name box, type the name of the translation service as
you want it to display in the user interface, for example, MSWord to PDF.
5-228
i.
Click the arrow in the Priority box to select the importance of this service
configuration when a queue of multiple configurations is awaiting execution
by Teamcenter dispatcher. Select Low, Medium, or High. Configurations
with a high priority are executed first, while those with a low priority are
executed last.
j.
In the Sort Order box, enter a number to assign the precedence for this
dispatcher service when multiple source dataset types are available to create
a given output. The dispatcher RenderMgtTranslator translator module
uses the highest sort order number when multiple service configurations are
available. The lowest number entered in this box is considered to have the
lowest sort order. Use the IRDC Dataset Criteria Page dialog box to specify
the source and derived dataset types for visualization translation.
PLM00071 J
Sort order
Derived dataset
(output)
MSWordA.doc
MSWordB.doc
MSWordC.doc
MSWord = 3
MSExcel = 2
MSPowerPoint = 1
MSWordA.doc.pdf
Translate the
MSWordB.doc001.pdf MSWord dataset
MSWordC.doc002.pdf type because MSWord
is the only attached
source dataset type.
MSExcelA.xls
MSExcelB.xls
MSExcelC.xls
MSWord = 3
MSExcel = 2
MSPowerPoint = 1
MSExcelA.xls.pdf
Translate the
MSExcelB.xls001.pdf MSExcel dataset type
MSExcelC.xls002.pdf because MSExcel
is the only attached
source dataset type.
Comments
MSWordA.doc
MSWord = 3
MSExcelA.xls
MSExcel = 2
MSPowerPointA.ppt PowerPoint = 1
MSWordA.doc.pdf
Translate the
MSWord dataset
type because it has the
highest sort order.
MSWordA.doc
MSWord = 2
MSExcelA.xls
MSExcel = 3
MSPowerPointA.ppt MSPowerPoint = 1
MSExcelA.pdf
Translate the
MSExcel dataset
type because it has the
highest sort order.
Note
PLM00071 J
5-229
Chapter 5
k. If you want to pass arguments to the translator application that executes the
translation, click the Add button to the right of the Service Arguments table.
Perform the following steps in the Dispatcher Service Argument Wizard
Page dialog box:
A. In the Name box, type a name you want to assign to this service
argument.
B. In the Key box, type the service argument. For example, if you want to
pass a true or false (logical) argument, type true or false. You can also
type a number (integer) or text (string).
C. Click the arrow in the Interface Type box to select the kind of value of
the argument:
Logical
A Boolean value of True or False.
Integer
An integer without decimals from 1 to 999999999.
String
A string of characters.
D. In the Default box, type the default value to use for the service
argument. The key and its default value are passed to the translator
application as additional command line arguments. For example, the
thumbnail translation uses these values to pass the thumbnail size to
the previewservice translator for the prepare program.
E. Click Finish.
The argument is added to the Service Arguments table.
l.
Click Next.
The Dispatcher Service Config Relation Page is displayed. Use this page
to set up the dataset type to be translated, and the type it is translated to.
Perform the following steps:
A. Click the Browse button to the right of the Source Dataset Type Name
box to select the input dataset type to be translated.
For example, if you want to translate a Word document, select MSWord.
B. Click the Browse button to the right of the Derived Dataset Type Name
box to select the output dataset type you want to translate into.
For example, if you want to translate into PDF, select PDF.
C. Click the Browse button to the right of the Source Dataset Named
Reference box to select the kind of named reference that the source
dataset uses.
Datasets are often used to manage several different types of files. These
files are the named references of the dataset. Each dataset type uses a
5-230
PLM00071 J
4. Deploy your changes to the test server. Choose BMIDEDeploy Template on the
menu bar, or select the project and click the Deploy Template button
the main toolbar.
on
Create an IRDC that uses the same source dataset type as the service
configuration.
The IRDC must be set up to translate the source dataset type that attached
to an item revision (or its sub type) to a derived dataset type. After the
item revision is submitted for render that matches the defined IRDC
(based on the IRDCs condition) then the Document Management Render
Management Dispatcher Client looks up the dispatcher service for the given
PLM00071 J
5-231
Chapter 5
source dataset. The client performs the translation of the source dataset
file to the derived dataset type (for example, from MSWord to PDF). If the
derived dataset is created then, the Dispatcher Service Configuration is
setup correctly.
For more information about how to create an IRDC, see Create an item
revision definition configuration (IRDC).
c.
Control markup.
IRDCs standardize item revision behavior at specific times in the life cycle, such as
at item creation, checkin, checkout, save as, and revise. Create an IRDC for those
item revision business objects for which you want standardized behavior.
For more information about the role of IRDCs in document management, see Getting
Started with Document Management.
You can import a sample template file that contains example IRDCs.
5-232
PLM00071 J
For information about creating a project and using the sample template file, see
Import a sample document management template file.
1. Choose one of these methods:
On the menu bar, choose BMIDENew Model Element, type IRDC in the
Wizards box, and click Next.
In the Name box, type the name you want to assign to the new IRDC in
the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
d. Click the Browse button to the right of the Applies to Business Object box
to select the item revision business object for which you are creating the
IRDC. You can only select children of the ItemRevision business object.
e.
Click the Browse button to the right of the Condition box to select the
condition when this IRDC applies. If the IRDC applies to all objects of a type,
use the isTrue condition. You can also create your own conditions.
Note
Only those conditions appear that have valid signatures. For IRDCs,
the valid condition signatures are as follows:
condition-name(ItemRevision)
condition-name(ItemRevision, UserSession)
If you want to assign a create template, click the Browse button to the right
of the Create Template box to select the document management template to
provide initial source datasets for the item revision when it is created. The
Teamcenter Repository Connection wizard prompts you to log on to a server
to look up the available templates.
For more information about setting up a server profile for the Teamcenter
Repository Connection wizard, see Add a server connection profile.
PLM00071 J
5-233
Chapter 5
Note
g.
Click the Browse button to the right of the Specification Export Template
box to select the template to be used when the item revision specification
document is exported.
Note
h. Click the Browse button to the right of the Object Export Template box to
select the template to be used when the item revision is exported.
Note
i.
Click Next.
3. Perform the following steps in the IRDC Dataset Criteria Page dialog box
to specify the source and derived dataset types for translation for this item
revision. For example, you may want Microsoft Word document datasets to get
translated into PDFs.
You can also set up the translation for datasets by creating dispatcher service
configuration objects. (You may need to create corresponding dispatcher services.)
For more information, see Getting Started with Dispatcher (Translation
Management) and Create a dispatcher service configuration.
a. Click the Add button to the right of the Source Dataset table to select the
source dataset type.
Perform the following steps in the Select Source Dataset Type dialog box:
A. Click the Browse button to the right of the Source Dataset box to
select the source dataset business object. Only children of the Dataset
business object are displayed.
B. Click the Browse button to the right of the Item Revision Relation box
to select the relationship the source dataset has to the item revision.
(The default is TC_Attaches.)
C. Click Finish.
5-234
PLM00071 J
D. Add as many dataset types as need to be defined for the IRDC. The order
of the source datasets is used to resolve the dataset type for attaching
files.
Note
b.
Any dataset type like Text that allows any file extension should
be the last type defined in the source dataset list. If it is the first
in the list, all the source datasets after it would be ignored when
automatically selecting a type for a file extension.
Click the Add button to the right of the Derived Dataset table to select the
derived dataset to translate into when translation is performed.
Perform the following steps in the Select Derived Dataset Type dialog box:
A. Click the Browse button to the right of the Derived Dataset box to select
the derived dataset to translate into. Only children of the Dataset
business object are displayed. The derived datasets must be those that
the system can generate using the dispatcher service configuration
objects.
B. Click the Browse button to the right of the Item Revision Relation box to
select the relationship the derived dataset has to the item revision. (The
default relation is TC_Attaches.)
C. Select the Required check box to require that the derived dataset be
generated. (If the required derived dataset cannot be generated or
located, checkin cannot proceed.)
D. Click Finish.
Note
Source dataset
When creating an IRDC definition, you specify the source dataset
types. Source datasets can be copied from the create template or
attached during creation in the rich client.
Derived dataset
The document management system typically generates derived
files from the source data. (However, it can also use other files
attached to an item revision at checkin.) The system determines
the derived dataset types that are possible and if they are
required from the derived dataset information in the IRDC.
It then determines from the dispatcher service configuration
objects what types of input can be rendered into the optional
or required output.
Consequently, you enter two types of information for derived
data types for the IRDC:
o
PLM00071 J
5-235
Chapter 5
c.
Click Next.
4. Perform the following steps in the IRDC Dataset Naming Page dialog box to
specify how the dataset is named. The name is built using the rows in the
sequence in the table. When the document management system creates a new
source data file, it concatenates the entries made in this table (text and specified
portions of all the selected attributes) to create the new file name and then adds
the file extension that is appropriate for the dataset type.
a. Click the Add button to the right of the Source Dataset Naming Rule table
to specify a row for the dataset name.
Perform the following steps in the Add Source Dataset Naming Rule dialog
box:
A. In the Text for Name box, type text to use in the name of the dataset.
This box specifies the text to be used in creating the name of the dataset.
This field is optional.
B. Click the arrow in the Attribute for Name box to select the item revision
property to use as part of the dataset name. This box specifies an
attribute of the item revision to be used in creating the name of the
dataset. (Partial attribute values can be used by entering the starting
character position in the attribute in the Starting Character box of
the table and the total number of characters to use in the Number of
Characters box.)
C. In the Starting Character box, type a number to specify the starting
character position in the attribute selected for file naming (for example,
1).
D. In the Number of Characters box, type a number to specify the number
of characters to use from the attribute selected for naming (for example,
50).
E. Click Finish. Repeat for each attribute to be used in building the dataset
name.
b.
Click the Add button to the right of the Derived Dataset Naming Rule table
to specify the row for the dataset name when the dataset is translated into a
derived file.
Perform the following steps in the Add Derived Dataset Naming Rule dialog
box. (The meaning of the common fields are similar to those in the Source
Dataset Naming Rule table.)
A. In the Text for Name box, type text to use in the name of the dataset.
B. Click the arrow in the Attribute for Name box to select the property to
use as part of the dataset name.
5-236
PLM00071 J
Click Next.
5. Perform the following steps in the IRDC Checkin Page dialog box to specify what
happens when the item revision is checked in:
a. Click the arrow in the Derived Visualization Files to Checkin box to support
client side creation of derived files that are already in the directory with
the source files:
None
Does not attach and check in any derived files.
Note
b.
Because all first level subdirectories are searched for derived files
unless this value is none, source files that reside in a top-level
directory such as C:\ or D:\ lead to poor checkin performance
if the Same File Name or Any File Name are selected. The
source files should be put in a specific directory without any
subdirectories before performing checkin.
Click the arrow in the Create Derived Visualization Data box to translate
the dataset on checkin:
Required
Creates derived files at checkin. If the required derived file cannot be
generated or located, checkin cannot proceed.
Optional
Creates derived files if possible, but if not, continues to check in the
source dataset.
No
Does not create derived files at checkin. They may be created by the
lifecycle process or by manual actions later
PLM00071 J
5-237
Chapter 5
c.
By default, the system translates one dataset type to the derived dataset
based upon the sort order field of the dispatcher service configuration objects.
If other source datasets need to be translated, the Special Render Control
Table can be used to define what gets translated.
Click the Add button to the right of the Special Render Control Table to
define controls for file translation. Perform the following steps in the Render
Control Wizard Page dialog box:
A. Click the Browse button to the right of the Derived Dataset box to select
the derived dataset type to apply the controls to. Only children of the
Dataset business object are displayed.
B. Click the Browse button to the right of the Input Dataset box to select
the source dataset type to translate. Only children of the Dataset
business object are displayed.
C. Click the Browse button to the right of the Item Revision Relation box
to select the relationship that the item revision has to the input source
dataset. (The listed business objects are children of the ImanRelation
business object.)
D. Click the arrow in the When to Translate box to choose when to translate
file attachments into visualization files:
Always
Always translate into derived dataset files.
If First
Translate if the source dataset is the first one found in the table for
this derived dataset type, because the rows are processed in order.
For example, an item may have an IRDC defined with both MSWord
and MSExcel source files, but any particular item may have only a
MSWord or only an MSExcel file or both. If the table is defined with
MSWord to PDF in the first row and MSExcel to PDF in the second
row, and both rows are set as If First, an item with both files types
would only get the MSWord type translated; an item with only a
MSWord setting would get the MSWord type translated; and an item
with only the MSExcel setting gets the MSExcel type translated.
E. In the Input File Names box, type a name pattern for the files to be
translated. This restricts translation to files with specific file name
patterns. For example, the pattern *master* translates only those files
with master in the file name.
F. Click the Browse button to the right of the Derived From Dataset
Relation box to select the relation that the derived dataset had to
the source dataset. (The listed business objects are children of the
ImanRelation business object.) This is optional. If specified, the system
uses it to update the derived dataset instead of creating a new dataset
during subsequent render processes.
G. Click the arrow in the Delete On Translate? box and select No unless
the input datasets should be deleted after successful translation. This is
5-238
PLM00071 J
actually provided when the checkin search attaches files that are used
for render only such as intermediate postscript files
H. Click Finish.
d. Click Next.
6. Perform the following steps in the IRDC Rules Page dialog box to configure deep
copy rules for the item revision. Deep copy rules govern how item revisions are
copied during save as and revise operations.
a. Click the arrow in the Delete Data File? box to specify whether the file data
attached to the item revision should also be deleted when the item revision
is deleted. Select Yes to delete the datasets or No to leave it.
b.
To create a deep copy rule, click the Add button to the right of the Deep
Copy Rules table.
The Add Deep Copy Rule wizard runs.
For instructions about how to create a deep copy rule using this wizard, see
Add a deep copy rule.
c.
Click Next.
7. Perform the following steps in the Enter Markup Information dialog box to
configure markup rules for the document revision.
a. Click the Browse button to the right of the Markup Application box to select
the tool to be used for markup, for example, MS Word or PDF_Tool. This box
is optional. If specified, markup is limited to the specified tool for the item
revision dataset file. This is to prevent some users marking up with Lifecycle
Visualization and other users marking up with Adobe tools.
b.
Click the Browse button to the right of the Markup Dataset box to select the
dataset type to use for markup. This field is optional. If specified, markup
is limited to the specified dataset types for the item revision dataset file.
This is to prevent some users marking up the Word files and other users
marking up PDF files.
c.
d. Select the Make Markups Official? check box to indicate that all markups
should be created as official markups.
e.
In the Markup ACL box, type the name of an access control list to grant
access to markups made on the document. This is to control if other users
can see each others markups.
f.
Click Finish.
The new IRDC appears in the IRDC folder.
PLM00071 J
5-239
Chapter 5
8. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
After deployment of IRDC rules you may need to restart TAO services to
ensure they are available to new tcserver processes.
10. Verify that the IRDC works as designed in Teamcenter. In the rich client, create
an instance of the item revision business object for which you created an IRDC
and confirm that it works properly.
a. In My Teamcenter, choose FileNew, and in the resulting dialog box, select
the item type that the item revision is created for.
For example, if you created an IRDC for an item revision, choose
FileNewItem and select Item. When you create an instance of a business
object, a revision object is created and attached using the rules set up in
the IRDC.
b.
Look at the property of the item revision object. The Item Revision
Definition Configured? box should be True. If it is not True, select the
condition.
Verify the DMTemplate revision and its datasets are released and use
the same relation as defined in the IRDC source dataset definition.
Make sure the values being evaluated by the condition are entered on
the revision object.
For more information about IRDCs in the rich client, see the My Teamcenter
Guide.
5-240
PLM00071 J
To enable the Batch Print menu, you must have the Render Document for
Rich Client feature installed from TEM.
For more information about batch printing, see the My Teamcenter Guide.
1. Ensure that Lifecycle Visualization is installed on the same machine as the
Business Modeler IDE. In the Features panel of Teamcenter Environment
Manager (TEM), choose ExtensionsLifecycle VisualizationTeamcenter
Visualization 9 (Stand-alone) for Rich Client.
This is required so that Lifecycle Visualization Print is installed, which enables
you to select printers in the Printer Name box later in the procedure.
2. Run the Business Modeler IDE.
3. Choose one of these methods:
In the Description box, type a description for the new print configuration
object.
c.
In the Provider Name box, type siemens as the provider of the service.
d. In the Provider Display Name box, type the name of your organization as you
want it to display in the user interface, for example, Siemens PLM Software.
PLM00071 J
e.
In the Service Name box, type batchprint as the name to assign this print
configuration.
f.
In the Service Display Name box, type the name of the service as you want it
to display in the user interface, for example, Batch Print Service.
g.
If you want to pass arguments to the application that executes the batch
print, click the Add button to the right of the Dispatcher Service Arguments
table.
5-241
Chapter 5
Logical
A Boolean value of True or False.
Integer
An integer without decimals from 1 to 999999999.
String
A string of characters.
D. In the Default box, type the default value to use for the service argument.
The Key value overrides the Default value.
E. Click Finish.
The argument is added to the Dispatcher Service Arguments table.
h. Next
5. Perform the following steps in the Print Settings dialog box:
a. Click the Browse button to the right of the Printer Name box to select the
networked printer where this print configuration will be printed.
Note
b.
Click the Add button to the right of the Paper Sizes table to select paper
sizes to make available for print batch jobs.
c.
Click the Add button to the right of the Supported Datasets table to select
the dataset types that can be printed, such as MSWord and MSExcel.
d. Select the Stamps Supported check box to allow stamps on the printed
documents such as the date or a watermark. If object types are printed
5-242
PLM00071 J
for which stamps are configured, stamps are automatically placed on the
printed documents.
For more information, see Create a system stamp configuration.
e.
Click Finish.
The print configuration object is displayed in the Print Configuration folder.
f.
g.
c.
PLM00071 J
On the menu bar, choose BMIDENew Model Element, type System Stamp
Configuration in the Wizards box, and click Next.
5-243
Chapter 5
In the Description box, type a description for the new system stamp
configuration object.
c.
Click the Browse button to the right of the Business Object box to select the
business object that this stamp applies to, for example, ItemRevision.
d. Click the Browse button to the right of the Condition box to select the
condition when this stamp is applicable, for example, isTrue.
e.
The Applies To box shows Print as the time when this stamp is used (that is,
when printing).
f.
Select the Include User Name? check box to include the print requesters
name at the end of the system stamp on the printed documents.
g.
Select the Include Date and Time? check box to include the date and time at
the end of the system stamp on the printed documents.
h. Click Next.
4. Perform the following steps in the Stamp Information dialog box:
a. Click the Add button to the right of the Properties table to include an object
properties on the printed documents.
Perform the following steps in the New Prefix Property dialog box.
A. (Optional) In the Prefix box, type a prefix, such as Document name:.
This precedes the properties.
B. Click the arrow in the Property box to select properties, such as its name
(object_name), description (object_desc), and so on.
b.
5-244
In the User Stamp box, type text that you want to appear on the document,
such as Internal Distribution.
PLM00071 J
c.
In the Watermark box, type text that you want to appear as a watermark
beneath the text of the document, such as Confidential.
d. Click the Browse button to the right of the MDS Template box to query the
Teamcenter database for metadata stamp templates. The MDS template
specified in the System Stamp Configuration Object controls how the stamp
elements are applied during batch printing.
For more information about the MDS template, see the Application
Administration Guide.
Note
e.
Click Finish.
The stamp configuration is displayed in the System Stamp Configuration
folder.
5. To test the stamp, run a batch print on the type of object for which the stamp is
created, such as an item revision. If the print configuration for the dataset type
is enabled, the stamp is automatically placed on the printed documents.
For more information about running a batch print, see Create a print
configuration.
PLM00071 J
5-245
Chapter 5
b.
c.
d. In the Configuration panel, select the configuration from which the corporate
server was installed. Click Next.
e.
f.
g.
Click Next.
i.
Note
For more information about the sample files, see the readme file at
the following location:
server-install-location\sample\document_management
2. Open the docmgt_samples.xml file and use search and replace to change the
prefix of SAM9 on the data model items to your own organizations prefix.
Note
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
3. Import the docmgt_samples.xml sample file into the Business Modeler IDE.
a. Choose FileImport.
The Import wizard runs.
b.
c.
Click the arrow in the Project box to select the project you want to import
the sample file into.
d. Click the Browse button to the right of the Template file box and browse to
the directory where the docmgt_samples.xml file is located, and select the
docmgt_samples.xml file.
5-246
PLM00071 J
e.
Click the arrow in the Extension file box and choose the extension file
you want to receive the document management data model (for example,
default.xml).
f.
Click Finish.
The data model is imported from the docmgt_samples.xml file to the
extension file in the project.
4. In the Extensions folder, open the Document Management folder to see the
sample dispatcher service configurations and IRDCs. You can use these as the
basis for your own dispatcher service configurations and IRDCs.
5. Deploy your template to a test server.
Note
After deployment of IRDC rules you may need to restart TAO services to
ensure they are available to new tcserver processes.
Click the browse button (...) to the right of the Importing XML File box and
select the following file:
server-install-location\sample\document_management\
importdmtemplates\DMTemplates.xml
c.
d. Click OK.
e.
PLM00071 J
5-247
Chapter 5
3. In the Extensions folder of your custom template in the Business Modeler IDE,
open the Options\Tool folders and open the PDF_Tool tool.
4. In the PDF_Tool tool, click the Tool Markup Info tab and type the tool launch
command in the Mac Launch Command and Win Launch Command boxes:
You can create additional PDF tools to launch different products. For example, if
you want to use the PDF_Tool tool to launch Adobe Reader, you can still create a
separate tool to launch full Acrobat.
You can also import a sample template file that contains a
naming-prefixArobat_PDF tool.
For more information, see Import a sample document management template file.
To change the tools to use for viewing and markup, set the
TCViewMarkupApplicationPref preference, which is by default set to the
PDF_Tool and MSWord tools.
5. On the Tool Markup Info tab, ensure the following check boxes are selected:
Download Required
Callback Enable
View Capable
Markup Capable
Note
5-248
b.
Browse to the
TC_ROOT\sample\document_management\acrobatplugin_test
directory.
c.
Read the readme.doc file for instructions about how to mark up test files.
PLM00071 J
Create a PDF dataset under the item revision and import a PDF file.
Note
c.
d. Add markups to the PDF in Adobe Acrobat or Adobe Reader using the
ToolsComment & Markup menu.
e.
AM
This application applies to classes used by the Access Manager. The AM rule
tree, ACLs, and some supporting classes are stored in the database via POM.
The application protection ensures that some operations (such as write and
delete) to instances of these classes must go via the published AM ITK and
cannot be circumvented by direct use of generic POM ITK.
CFM
This application applies to classes used by the Configuration Management
application.
PLM00071 J
CMMV
5-249
Chapter 5
EIM
This application applies to classes used by the Engineering Information
Management application (in Engineering Process Management).
INFOMANAGEV200
This application is used for general core. It is not effectively utilized because ITK
logon enables the application, thus defeating the point of application protection.
POM
This application applies to classes used by the persistent object manager (POM).
These classes (POM_class, POM_attribute, and POM_application) are
owned by POM so that direct access using generic POM ITK is disallowed.
The POM data dictionary is used to represent the class-to-database mapping
and general reflection.
RLM
This application applies to classes used by the Workflow application.
SCHMGTV100
This application is used to specify the classes used by the Schedule Manager
application. Schedule Manager is used for planning and tracking activities.
USER
This application applies to classes used by the Organization application
(POM_user, POM_group, and POM_member classes). It is used to ensure
changes to instances in these classes go via the supported POM ITK (such as
changes in user ID or deletion of a user or group) and not via the more general
POM ITK (such as POM_ask_attr_type or POM_delete_instances).
5-250
PLM00071 J
functionality. Many Business Modeler IDE templates fall into this category where
all extensions in the template are for a single business purpose.
However, for other templates such as the Foundation template, the extensions
within this template map to many different components: Workflow, preferences,
Business Modeler IDE, and so on. Therefore, when looking at the extensions in the
Foundation template, you can easily see what component the extension is assigned
to and gain a better understanding of the area of Teamcenter that the extension
impacts. For example, if a set of LOVs are tagged with the Workflow component, you
can easily discern that changing these LOVs impacts Workflow.
Verification rules are used to specify a set of conditions to be used in an application.
For example, the BOM application needs a set of conditions that a user can select
to grade a BOM. Verification rules are used to provide these conditions. A user can
create a verification rule, select the BOM grading functionality, and specify the
condition that should be provided. If multiple verification rules are provided, the
user is presented with the list of all available conditions that apply based on the
verification rules.
Use the Teamcenter Component folder and the Verification Rule editor to set up
rules that use conditions to evaluate how business objects are used in Teamcenter.
Use the Teamcenter Component folder in the Extensions folder to group business
objects and conditions together that belong to the same function. These functionality
groupings can be used in Teamcenter to verify when certain business objects
are valid for use. Use the Verification Rule editor to specify when Teamcenter
Component objects can be used in Teamcenter. To access this editor, choose
BMIDEEditorsVerification Rules Editor.
For example, an administrator can set up conditions, Teamcenter Component
objects, and verification rules in the Business Modeler IDE to be used in BOM
grading. BOM grading is verifying items in BOMs. Then BOM administrators
can use the Structure Manager ToolsBOM Grading menu command in the
rich client to check parts to see if they are valid for use in selected BOMs. The
Fnd0BOMGrading Teamcenter Component object is used in BOM grading.
For more information, see Configuring BOM grading.
In the Display Name box, type the name as you want it to appear in the
user interface.
For more information, see Localization process in the Business Modeler IDE.
PLM00071 J
5-251
Chapter 5
c.
d. Click Next.
3. Perform the following steps in the next Create Teamcenter Component dialog
box:
a. Select the Enable for Verification Rules check box to make the new
Teamcenter Component object available for use by verification rules.
Note
b.
Click the Add button to the right of the Business Object Scope box to define
the business object scope list for the Teamcenter Component object.
A. In the Business Object Scope dialog box, click the Browse button to the
right of the Business Object Scope box to select the business objects to
add to the list.
B. Click Finish to add the business object to the scope list.
c.
Click the Add button to the right of the Supported Condition Signatures box
to build the condition signatures for the Teamcenter Component object.
A. In the Custom Parameters dialog box, click the Add button to the right of
the Parameters table to add the parameters to evaluate for the condition.
B. In the New Condition Parameter dialog box, click the Browse button to
the right of the Parameter type box to select the business object or user
session to evaluate, and type the parameter in the Parameter name box.
For more information about conditions, see Conditions.
C. Click Finish in the New Condition Parameter dialog box and the Custom
Parameters dialog box.
d. Click the Browse button to the right of the Sub Group LOV box to select the
appropriate list of values (LOV) that is valid for the rule.
e.
Click Finish.
The Teamcenter Component object is added under the Teamcenter
Component folder.
5-252
PLM00071 J
3. In the Verification Rule dialog box, click the Browse button to the right of the
Teamcenter Component box to select the Teamcenter Component object
the rule is applied to.
Note
4. Click the Browse button to the right of the Applies to Business Object box to
select the business object that the verification rule applies to. The available
business objects are those in the business object scope of the Teamcenter
Component object selected in step 3.
5. Click the Browse button to the right of the Context Filter box to select the
context for when the rule applies.
6. Click the Browse button to the right of the Condition Rule box to select the
condition for the rule.
Note
The only conditions that are available are those with supported condition
signatures or their child types as defined in the selected Teamcenter
Component object. The condition signature order must match the
selected Teamcenter Component object supported signature order. If
there is a selected applied business object, it must match the conditions
first parameter or be a subtype of the first parameter.
7. Click the Browse button to the right of the Sub Group box to select the LOV
value to use for the rule
8. Click Finish.
The new verification rule is displayed on the Verification Rule table.
Global constants
Introduction to global constants
Global constants provide consistent definitions that can be used throughout the
system. These constants have only one value, either the default value or the value
you set.
When you create a new constant, you must also add the code on the server to return
the constants value to the caller, so the caller can branch the business logic based
on the returned value.
You can create global constants for a number of situations. Some examples are:
PLM00071 J
Set how many seconds before the client application should time-out.
Enable functionality.
5-253
Chapter 5
For example, a global constant called ActiveWindows has a list of three possible
choices, 1, 2, or 3, with a default value of 1 in the Foundation template. Once a
constant is set, it can be overridden by another template. Another template can set
the default value to 2, and yet another template can set it to 3. The rule is that the
last template to be installed determines the constant value that is used.
The server-side code can use the following published ITK to retrieve a global
constant value:
int CONSTANTS_get_global_constant_value (
const char*
constant_name,
/* <I> */
char **
value
/* <OF> */
);
In the Name box, type the name you want to assign to the new constant
in the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
d. Click the arrow in the Data Type box to select one of the following:
Boolean
Allows two choices to the user (True or False).
String
Indicates that the value is a text string.
List
Contains a list of values.
5-254
PLM00071 J
e.
If you selected the String data type, the Is Multi Valued? check box appears.
Select this check box if you want to enter multiple values for the constant.
f.
If you selected the List data type, a Values table appears. Click the Add
button to add values to the list:
A. In the Value box, type a value for the list.
B. Select Secured to prevent the selected value from being overridden by
another template.
C. Click Finish.
g.
In the Default Value box, enter the initial value of the constant. Entry differs
depending on the data type you previously chose:
If you selected the String data type, type in the default value. If you also
selected the Is Multi Valued? check box, the Default Value box changes to
a table with multiple rows that you can use to enter values.
If you selected the Boolean data type, click the arrow to select True or
False for the default value.
If you selected the List data type, click Browse to select a value from the
available ones on the list.
h. Use the following check boxes to enable the constant for live updates:
In a live updates environment, you can deploy changes for custom constants,
but you cannot deploy changes for COTS constants.
For more information about live updates, see Introduction to live updates.
i.
Click Finish.
The new constant appears under the Global Constants folder.
Note
4. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
PLM00071 J
5-255
Chapter 5
on
String
Type a new value.
List
Click the arrow at the end of the box to select a value.
Boolean
Click the Value check box for True, or unselect for False.
Note
Valid values are dependent on the global constant. For valid values, view
the description of the constant. To see the description of the constant, in
the Extensions folder, open the Constants\Global Constants folders and
select the constant. The constant details, including a description of the
constant, appear in the Global Constants Editor.
For more information about the valid values for the global constants, see
Global constants reference.
4. Click Finish.
The changed value displays in the Global Constants table. Note that a check
mark appears in the Overridden column and the name of your project displays
in the Template column, indicating that your project overrides the value of the
constant.
5. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
5-256
PLM00071 J
ADSAutoCreateTechdoc
Allows for automatic creation of an ADSTechDoc technical document object
when an ADSPart, ADSDesign, or ADSDrawing business object is created.
This saves the user from having to create the technical document object
themselves.
Set the constant to true to enable the technical document autocreation, and
to false to disable it.
This constant is provided by the adsfoundation template file.
ADSAutoSelectTechdoc
Allows for automatic selection of an ADSTechDoc technical document object
when an ADSPart, ADSDesign, or ADSDrawing business object is created. If
a technical document is found that has the same number as the part, design, or
drawing being created, it is selected and related to the new object as a source
document. This saves the user from having to select the technical document
object themselves.
Set the constant to true to enable the technical document auto selection, and
to false to disable it.
This constant is provided by the adsfoundation template file.
AIEDSConfiguredProperties
Adds dataset types. This task was formerly performed by the
AIE_NX_master_ds_types preference, AIE_ACAD_master_ds_types
preference, and AIE_SE_master_ds_types preferences.
This constant is provided by the foundation template file.
AutoCreatePartLogisticsForm
Determines if the Part Logistics Form is created automatically when the neutral
item is created. The default value is true.
This constant is provided by the mrocore template file.
PLM00071 J
5-257
Chapter 5
BOMLineAbsOccCompProperties
Adds a property to the BOM line. This constant allows you to create a
compound property to be used by a custom form attached to a BOM line
using an absolute occurrence. This task was formerly performed by the
PSE_absocc_compound_properties preference. This constant is provided by
the foundation template file.
For an example using this constant, see Set a compound property on a BOM line.
You must input values to the constant using the following formats:
o
The UIFLOCK value is optional, and prevents users from making changes
to a compound property value from Structure Manager.
You can display a property of a form that is attached to a BOM line using
the absocc absolute occurrence, or a named reference of a dataset that is
attached using the absocc absolute occurrence.
BOMLineFormConfiguredProperties
Specifies custom item master forms whose properties are to be added as derived
BOM line properties. These properties appear in the user interface where
BOM line properties are displayed, including Structure Manager, Systems
Engineering, and Manufacturing Process Planner, among others. This task was
formerly performed by the PSE_add_props_of_item_form_types preference.
The default value for this constant is Item Master.
5-258
PLM00071 J
This constant behaves similarly to other global constants that control derived
BOM line properties. For each, add your custom business object type to the
constant, and the properties on the custom type are added as bl_ properties on
the BOMLine business object.
Constant
Use
BOMLineFormConfiguredProperties
BOMLineRevConfiguredProperties
Fnd0BOMLineItemConfigProps
Fnd0BOMLineRevConfigProps
c.
d. In the Available Columns box, type bl_ to see all the new available
properties to add as columns on the table.
PLM00071 J
5-259
Chapter 5
Note
BOMLineRevConfiguredProperties
Specifies custom item revision master forms whose properties are to be added
as derived BOM line properties. These properties appear in the user interface
where BOM line properties are displayed, including Structure Manager, Systems
Engineering, and Manufacturing Process Planner, among others. This task was
formerly performed by the PSE_add_props_of_rev_form_types preference.
The default value for this constant is ItemRevision Master.
This constant behaves similarly to other global constants that control derived
BOM line properties. For each, add your custom business object type to the
constant, and the properties on the custom type are added as bl_ properties on
the BOMLine business object.
Constant
Use
BOMLineFormConfiguredProperties
BOMLineRevConfiguredProperties
Fnd0BOMLineItemConfigProps
Fnd0BOMLineRevConfigProps
5-260
PLM00071 J
7. Perform the following steps to verify the new properties in the user interface.
a. Run the rich client on the test server.
b.
c.
d. In the Available Columns box, type bl_ to see all the new available
properties to add as columns on the table.
Note
Cdm0UseCurrentProjSchTemplates
Determines if all contract schedule templates need to be displayed for selection
or only those templates whose owning project matches the current project set
in the session. The default value is false, which means that all the schedule
templates are displayed for user to select. If you want to display only the
schedule templates whose owning project matches the current project, set the
constant to true.
This constant is provided by the cdm0contractmanagement (Contract Data
Management) template file.
For more information about contract data management, see the Aerospace and
Defense Solution Guide.
CFGAtLnFormConfiguredProperties
Adds properties on the forms specified in the preference to the
CfgAttachmentLine. The property name has the format al_property-name.
This task was formerly performed by the Cfg_Att_add_props_of_form_types
preference.
This constant is provided by the foundation template file.
Cpd0DEPropertiesForMBOM
Determines the design element properties to be copied to a BOM line after adding
it to a manufacturing bill of materials (MBOM). The format for each property is:
design-element-property-name
This constant is provided by the cpd template file.
For information about assigning a design element to an MBOM, see Set up
assigning design elements to a manufacturing bill of materials and the 4th
Generation Design Guide.
PLM00071 J
5-261
Chapter 5
Cpd0DEToBOMPropertyMapping
Determines a corresponding BOM line property for a given design element
property. The format for each property is:
design-element-class-type::design-element-property-name:bomline-property-name
This constant is provided by the cpd template file.
For information about assigning a design element to a manufacturing bill of
materials (MBOM), see Set up assigning design elements to a manufacturing bill
of materials and the 4th Generation Design Guide.
Cpd0DFPropertiesForMBOM
Determines the design feature properties to be copied to a BOM line after adding
it to a manufacturing bill of materials (MBOM). The format for each property is:
feature-class-type::design-feature-property-name
This constant is provided by the cpd template file.
For information about assigning a design feature to an MBOM, see the
Manufacturing Process Planner Guide.
Cpd0DFToBOMPropertyMapping
Determines a corresponding BOM line property for a given design feature
property. The format for each property is:
feature-class-type::design-feature-property-name:bomline-property-name
This constant is provided by the cpd template file.
For information about assigning a design feature to a manufacturing bill of
materials (MBOM), see the Manufacturing Process Planner Guide.
Cpd0FormPropertyMap
Lists the mapping of properties from a BOM configured form to the design
element configured attribute group. The format is:
bomline-property:form-property-name::design-element-property:
attribute-group-property-name
This constant is provided by the cpd template file.
For information about assigning a design element to a manufacturing bill of
materials (MBOM), see Set up assigning design elements to a manufacturing bill
of materials and the 4th Generation Design Guide.
CreateDataWithNoActiveProgram
Allows project and program members to create objects in projects or programs
in Teamcenter. Its default setting is true. But if this constant is set to false,
project or program members cannot create objects unless the project or program
is active and the project-level or program-level security is turned on.
For more information about projects, see the Project and Program Guide.
For more information about setting project or program security, see the Security
Administration Guide.
5-262
PLM00071 J
DefaultProjectSmartFolders
The value for this constant is the LOV name that holds the default smart
folder hierarchy for a project. The default value is the Default Project Smart
Folders LOV.
For more information about projects, see the Project and Program Guide.
This constant is provided by the pkgart template file.
DeviationAuthorityType
Determines the Item business object that will be considered authority for
deviation. The default value is DeviationDoc.
This constant is provided by the mrocore template file.
Fnd0AllowMultipleRevofCustomNote
Allows attaching multiple revisions of custom notes to Part or Document
instances. The default value is true.
This constant is provided by the foundation template file.
Fnd0AllowMultipleRevofParamReq
Allows attaching multiple revisions of parametric requirements to Part or
Document instances. The default value is true.
This constant is provided by the foundation template file.
Fnd0AllowSuggestiveLocationCode
Determines if an end user is allowed to enter a location code that does not exist
on any company location when creating a new CompanyLocation business
object. By default, the value of the constant is true. If the value of this constant
is true, and a user enters a new location code to the Company Location box, the
following message is displayed:
The Location Code entered does not exist on any Company Location.
Do you want to continue?
When the user clicks the Yes button, the new location code is saved.
If the value of the constant is false, the end user must select from the list of
existing location codes. If an end user enters a new location code, the following
message is displayed:
PLM00071 J
5-263
Chapter 5
The Location Code entered does not exist on any Company Location.
Please enter a valid Location Code.
This constant is provided by the foundation template file. This constant works
in conjunction with the Fnd0MaintainUniqueLocationCode global constant.
For more information about using location codes, see the Aerospace and Defense
Solution Guide.
Fnd0AutoGenNextIdPerItemType
Assigns the next ID per item type. The default value is false, which means the
next ID is autogenerated for all item types.
This constant is provided by the foundation template file.
The ITEM_autogenerate_id preference allows you to determine whether an
initial ID is automatically created when creating an item of the type specified
in the preference.
Fnd0BOMLineItemConfigProps
Specifies custom items whose properties are to be added as derived BOM line
properties. These properties appear in the user interface where BOM line
properties are displayed, including Structure Manager, Systems Engineering,
and Manufacturing Process Planner, among others. The default value for this
constant is Item.
This constant behaves similarly to other global constants that control derived
BOM line properties. For each, add your custom business object type to the
constant, and the properties on the custom type are added as bl_ properties on
the BOMLine business object.
Constant
Use
BOMLineFormConfiguredProperties
BOMLineRevConfiguredProperties
Fnd0BOMLineItemConfigProps
Fnd0BOMLineRevConfigProps
5-264
PLM00071 J
4. Select a new bl_ property, click the Edit button, and in the Display Name
box, type the name you want to use for this property when it appears in
the user interface.
5. Choose BMIDESave Data Model on the menu bar.
6. Deploy the template to a test server.
7. Perform the following steps to verify the new properties in the user interface.
a. Run the rich client on the test server.
b.
c.
d. In the Available Columns box, type bl_ to see all the new available
properties to add as columns on the table.
Note
Fnd0BOMLineRevConfigProps
Specifies custom item revisions whose properties are to be added as derived BOM
line properties. These properties appear in the user interface where BOM line
properties are displayed, including Structure Manager, Systems Engineering,
and Manufacturing Process Planner, among others. The default value for this
constant is ItemRevision.
For instructions about how to use this constant to add BOM column headers, see
Add custom properties to BOM columns.
This constant behaves similarly to other global constants that control derived
BOM line properties. For each, add your custom business object type to the
constant, and the properties on the custom type are added as bl_ properties on
the BOMLine business object.
PLM00071 J
Constant
Use
BOMLineFormConfiguredProperties
BOMLineRevConfiguredProperties
Fnd0BOMLineItemConfigProps
Fnd0BOMLineRevConfigProps
5-265
Chapter 5
c.
d. In the Available Columns box, type bl_ to see all the new available
properties to add as columns on the table.
Note
Fnd0BOMMarkupAllowed
Enables BOM markup when set to true. The default value is false.
This constant is provided by the foundation template file.
For more information about BOM markup, see the Structure Manager Guide.
Fnd0BOMMarkupSupported Properties
Defines the set of relative occurrence property edits that can be stored as
markup changes.
This constant is provided by the foundation template file.
For more information about BOM markup, see the Structure Manager Guide.
5-266
PLM00071 J
Fnd0DisplayLocationCodeLOV
Determines if the Location Code box on the User Setting dialog should be a text
box or display a list of values (LOV) with CAGE codes. By default, the value is
set to false, making it a text box. Set it to true to have the box display a list
of values.
This constant is provided by the foundation template file.
For more information about using location codes, see the Aerospace and Defense
Solution Guide.
Fnd0EnableMultiUnitConfiguration
Enables multi-unit configuration. Multi-unit configuration refers to
a combination of multiple end items and range of units for each end
item used to configure product structure occurrences. To enable the
creation of multi-unit effectivities, the administrator must set the
Fnd0EnableMultiUnitConfiguration global constant to true at each site
using the Business Modeler IDE.
If this constant is set to false, users cannot access multi-unit configuration user
interface capabilities in Structure Manager. The default value is false.
This constant is provided by the foundation template.
For more information about multi-unit configuration, see the Structure Manager
Guide.
Fnd0FilterEntriesForSignal
Defines the values to display in the Library box in the Class Details pane of
Classification Administration. The available values to enter for this constant
are values in the Fnd0LibraryType LOV. The default value is Signals,
which is a value in the Fnd0LibraryType LOV. You can add values to the
Fnd0LibraryType LOV and then add the same values to this constant.
This constant is read when the end user clicks the Add Signals from Library icon
in Structure Manager or Systems Engineering and Requirements Management.
This constant determines what types of libraries to show when users search
and add signals.
You can set this constant to your own type of library if you do not want to use
the standard Fnd0LibraryType LOV values. You can display more than just a
library of signals. You can enter multiple values, and libraries corresponding to
each of the values is displayed.
This constant is provided by the foundation template file.
For more information, see the Classification Administration Guide.
Fnd0LocalizableExclusion
Specifies the list of properties that cannot be marked with the Localizable
property constant. The values are in the format business-object.property-name,
for example, ItemRevision.ip_classification.
This constant is provided by the foundation template file.
For more information, see Add the Localization button to properties.
PLM00071 J
5-267
Chapter 5
Fnd0LOVDisplayAsEnabled
Enables the display of translated text for LOVs. Displaying translated text
impacts system performance. This constant allows administrators to turn off
the run-time display of LOV translated text to improve performance. To turn
off the run-time display of LOV translated (display as) text, change the value
of the constant to false. The default value is true.
This constant is provided by the foundation template file.
For more information about LOV display text, see Set display names for lists
of values (LOVs).
Note
Fnd0MaintainUniqueLocationCode
Maintains a unique location code for each company location. This is used when
an end user creates a new CompanyLocation business object and must enter a
location code to the Company Location box.
The default value is false. If the value is false, the system creates the new
company location with the entered location code. If the value is true, the system
checks if there is any other company location that exists with same location code,
and if yes, the system displays the following message:
The Location Code already exists. Please choose different Location Code.
This constant is provided by the foundation template file. This constant works
in conjunction with the Fnd0AllowSuggestiveLocationCode global constant.
For more information about using location codes, see the Aerospace and Defense
Solution Guide.
Fnd0MaxValOfHoursRecordedInDay
Defines the maximum number of hours that can be recorded for a user on any
given day for license use. The default value is 7.5. To change the value, type a
new value for the hours in the Value box.
This constant is provided by the foundation template file.
For more information about licensing, see the System Administration Guide.
Fnd0MFKVariantGenUnqNamespace
Enables generating a unique namespace for items having similar item IDs for
variant formulas in classic variants. The default value is set to true to support
multifield key data for classic variants. If multifield key support is not required
for variants data, this constant can be set to false.
The namespace is generated with the item ID followed by a running counter to
represent that item uniquely in the variant formula. For example, if you have
two items with the same item ID as 011027, variant options are defined as:
011027 car
, model = lx,zx,vx , namespace = 011027
011027 engine , type = petrol, diesel , namespace = 011027_7
5-268
PLM00071 J
[011027]model = lx
[011027_7]type = petrol
Fnd0MigratedPostActions
Contains the list of postactions that are automatically dispatched from the
create message to the save message. Postactions are added to this constant
automatically when a project from an older version of Teamcenter is imported
and upgraded to the current data model. If you want to prevent a postaction
from being automatically dispatched, you can select it on the constant and click
the Remove button. You may need to remove postactions from this constant if
you need to refactor postactions on create operations.
For more information, see Refactor create operations.
This constant is provided by the foundation template file.
Fnd0MultiFieldKeyExclusions
Excludes selected business object types from having their multifield keys
definitions changed. The business objects types that already that have the
multifield key defined cannot be added to this exclusion list. This constant
prevents others from setting a multifield key by disabling the Edit button
on the MultiFieldKey business object constant. The default value is
Dataset,EPMTaskTemplate,ItemRevision,ListOfValues,StorageMedia.
This constant is provided by the foundation template file.
For more information, see Managing multifield keys.
Fnd0ParamReqDelimiter
Serves as a delimiter between the parametric values of a parametric
requirement. The default value is ,.
This constant is provided by the foundation template file.
Fnd0PropagateToSecondaryDataset
Indicates if the security data is propagated to the second level datasets. The
default value is false.
When the value is set to true, this constant enables the propagation of security
data and propagation-enabled custom properties from the primary dataset to the
related secondary datasets. The Fnd0SecurityPropagationEnabled property
constant provides the ability to flag custom attributes of a workspace object as
propagation enabled by setting the value to true.
This constant is provided by the foundation template file.
For more information about using this constant, see the Authorized Data Access
License Guide.
PLM00071 J
5-269
Chapter 5
Fnd0PropertyValueDisplayLocales
Defines the language locales available for property values display names.
This constant is provided by the foundation template file.
For more information about setting language display, see Localization process
in the Business Modeler IDE.
Fnd0PSEQtyConversionDSName
Specifies the dataset containing the XML rule file. Use this when you want to
specify a quantity for a structure line in a user-defined unit of measure in the
Structure Manager. The default value is ConversionTable.
To enable this feature, you must set the Fnd0PSEEnableQtyConversionUOM
global constant to true.
This constant is provided by the foundation template file.
For more information, see the Structure Manager Guide.
Fnd0PSEEnableQtyConversionUOM
Enables the edit quantity feature in the Structure Manager. Use this when you
want to specify a quantity for a structure line in a user-defined unit of measure.
To enable the feature, set the value to true. The default value is false.
You must specify the dataset containing the rule file in the
Fnd0PSEQtyConversionDSName global constant.
This constant is provided by the foundation template file.
For more information, see the Structure Manager Guide.
Fnd0RelationsToSync
Defines the list of relations to sync for Multi-Site operations. The default value
is VMRepresents.
This constant is provided by the foundation template file.
For more information about synchronization in a Multi-Site environment, see
the Multi-Site Collaboration Guide.
Fnd0SecuredMultiFieldKey
Ensures that dependent templates do not change the MultiFieldKey business
object constant on specified business objects. If the administrators of a
dependent template try to change the MultiFieldKey business object constant,
they cannot because the Edit button is disabled. (The Edit button is still enabled
on the current template.) There is no default value.
This constant is provided by the foundation template file.
For more information, see Managing multifield keys.
Fnd0SelectedLocales
Defines the language locales supported by the template. The locales are selected
when a new template project is created. To change the value, right-click the
Project Filesextensionslang folder and choose OrganizeAdd localization
files.
5-270
PLM00071 J
Fnd0VisPVGeoAsset
Note
OffNoMenus
Specifies that no 3D geometry asset is created and that no user interface
is visible to the user.
OnNoMenus
Specifies that a 3D geometry asset is created silently every time a product
view is saved using the property settings on the client. No user interface
is visible to the user.
OnWithMenus
Specifies that the user interface is available in the Teamcenter integration
preferences. The user can select whether to create a 3D geometry asset and
perform outline capture at the save time.
For more information about the Teamcenter integration preferences, see the
Lifecycle Visualization Integration Guide.
This constant is provided by the foundation template file.
Fnd0VisPVImageCapture
Note
Specifies whether image capture should be done with product view saves. The
default value is OnWithMenus. Following are the valid values:
o
OffNoMenus
Specifies that no image capture is done, and no user interface is visible to
the user.
OnNoMenus
Specifies that an image capture is done silently every time a product view is
saved using the property settings on the client. No user interface is visible
to the user.
PLM00071 J
OnWithMenus
5-271
Chapter 5
Specifies that user interface is available in the product view gallery. The
user can select whether or not to capture images, and whether to use a dialog
at save time or the silent property settings.
This constant is provided by the foundation template file.
For more information about the Teamcenter integration preferences, see the
Lifecycle Visualization Integration Guide.
JTContentFormIDProp
Defines the property on the JTContentForm business object that is used to
provide the ID for JT hint strings. The default value is jt_id.
This constant is provided by the foundation template file.
The JTContentBomLineProperties and JTContentHintPropertyPolicy
preferences are used to configure JT content hint forms.
JTContentFormProps
Contains a comma-separated list of property names in the JTContentForm
business object that are used to create a JT hint string. The default value is
pmi,geometry,material_overrides,cad_attributes.
This constant is provided by the foundation template file.
The JTContentBomLineProperties and JTContentHintPropertyPolicy
preferences are used to configure JT content hint forms.
JTContentFormType
Defines the class that holds the properties used to construct a JT hint string.
The default value is JTContentForm.
This constant is provided by the foundation template file.
The JTContentBomLineProperties and JTContentHintPropertyPolicy
preferences are used to configure JT content hint forms.
KnowledgeBaseRefreshInterval
Specifies the time (in minutes) that will pass before a check is made for an
updated knowledge base file. This constant is used mainly to control how the
system checks for changed conditions.
The default value is -1, meaning that a check for an updated knowledge base file
is not performed during evaluation of a condition. A value of 0 indicates that a
check for an updated knowledge base file is always performed during evaluation
of a condition. A value greater than 0 (for example, 1, 2, 3, and so on), means
that a check will be performed after the minute interval specified by the value.
If live update is used to revise conditions, if users log off and log on again,
changes to the condition are reflected in the environment because a new
tcserver instance is assigned.
This constant is provided by the foundation template file.
For more information about conditions, see Conditions.
5-272
LOVLookupSupport
PLM00071 J
Holds the names of dynamic LOVs for property display lookup or search support.
For property display lookup, if a dynamic LOV is attached to a property and is
registered in this global constant, the property display value code looks in the
LOV to get the display value for the given property scalar (internal value).
For search support, if a dynamic LOV is attached to a property and is registered
in this global constant, the search code looks in the LOV to get all internal values
that match with display values. These internal values are in turn passed to
the main query to be searched.
This constant is provided by the foundation template file.
For more information about dynamic LOVs, see Create dynamic lists of values.
Mdl0AutoAssignIDConstant
Specifies the autogenerated ID name format for business objects (and their
children) used in 4th Generation Design (4GD). When you create new 4GD
business object instances, this global constant defines the prefixes to be placed at
the beginning of the instance name. Following are the default prefixes defined
by the constant:
PTN_ for Partition business objects
CD_ for Collaborative Design business objects
DCE_ for Design Control Element business objects
DF_ for Design Feature business objects
DE_ for Design Element business objects
These prefixes are defined using the following default values of the constant:
PtnPartition:ptn0partition_id:ptn0partition_id:true:PTN_
Cpd0CollaborativeDesign:mdl0model_id:mdl0model_id:true:CD_
Cpd0DesignControlElement:cpd0design_control_id:cpd0design_control_id:true:DCE_
Cpd0DesignFeature:cpd0design_feature_id:cpd0design_feature_id:true:DF_
Cpd0DesignModelElement:cpd0design_element_id:cpd0design_element_id:true:DE_
Only use this constant to change the value of prefix; you should not change other
values. Multiple entries for the same business object are not supported.
PLM00071 J
5-273
Chapter 5
This constant is provided by the appmodel template file, and is used as part of
4th Generation Design (4GD).
For more information about 4th Generation Design (4GD), see the 4th Generation
Design Guide.
Mfg0RequiredLibraries
Lists libraries that must be loaded dynamically for manufacturing support.
This constant is provided by the foundation template file.
OperationInput
Defines the list of Operation Input types that appear in the Operation box on the
Operation Descriptor tab. The default values are CreateInput and SaveAsInput.
This constant is provided by the foundation template file.
For more information about operation inputs, see Manage create and save as
operations on business objects.
ProjectSmartFolders
Filters data into project folders using a list of values (LOV). The filtered view of
project data is presented to users in the My Projects tab of My Teamcenter.
For more information about projects, see the Project and Program Guide.
To use this constant, first create an LOV that uses TC_Project as a reference
class and click the Load button in the New LOV dialog box. This creates a list of
projects. Then set the value of the constant to the name of the project LOV.
Verify the new constant value. When smart folders are deployed to a server, they
appear in the My Projects tab in My Teamcenter. To access smart folders, click
the My Projects link in the Quick Links navigation bar of the rich client. The
Projects Smart Folder Hierarchy pane is displayed in the My Projects tab.
This constant is provided by the foundation template file.
ProjectTopLevelSmartFolders
Filters data into top-level folders using a list of values (LOV). The filtered view
of project data is presented to users in the My Projects tab of My Teamcenter.
For more information about projects, see the Project and Program Guide.
To use this constant, first create LOVs that represent each branch of the
top-level hierarchy, such as programs. Then create a top-level LOV that specifies
each branch LOV as a value. Then set the value of the constant as the name of
the top-level LOV.
Verify the new constant value. When smart folders are deployed to a server, they
appear in the My Projects tab in My Teamcenter. To access smart folders, click
the My Projects link in the Quick Links navigation bar of the rich client. The
Projects Smart Folder Hierarchy pane is displayed in the My Projects tab.
This constant is provided by the foundation template file.
5-274
PublishedObjConfiguredProperties
PLM00071 J
PublishedPropertiesMap
Maps business object properties to publication record attributes for Multi-Site
Collaboration. For example:
item_id:pubr_object_id
item_revision_id:pubr_object_rev_id
object_name:pubr_object_name
object_desc:pubr_object_desc
The framework must handle data exchange for multilanguage use. This
includes string properties having multiple values, one for each language.
On the ODS server side, if there is localizable data to be published, the
system checks whether the publication record schema has any localizable
attributes. Based on the mapping specified in the PublishedPropertiesMap
global constant, the localizable data is set in the publication record using the
AOM_UIF_set_localized_value_string() AOM call.
This constant is provided by the foundation template file.
For more information about publishing in a Multi-Site environment, see the
Multi-Site Collaboration Guide.
ReuseAuthorizedDeviation
Specifies whether to copy the authorized deviation information to the duplicated
physical structure when physical parts are duplicated. The default value is false.
This constant is provided by the mrocore template file.
For more information about deviations, see the Service Manager Guide.
SiteMasterLanguage
Defines the master language for the template. The default value is en_US.
Valid values are a language_locale code, for example, fr_FR for French, es_ES
for Spanish, and so on.
This constant is provided by the foundation template file.
For more information about language_locale codes, see Localization process
in the Business Modeler IDE.
PLM00071 J
StructureCloneTransferModes
5-275
Chapter 5
Holds the transfer mode specific to a CAD integration. The default value for
this constant is empty. An administrator updates the value with the transfer
mode that contains closure rules defining the CAD dependency relations to be
traversed.
This constant is provided by the foundation template file.
TcSetOwningOrganization
Allows the owning organization for an object to be set automatically. The owning
organization is set as the organization corresponding to the logon group of the
user. By default, this constant is set to false.
This global constant works in conjunction with the AutoAssignOwningOrg
business object constant, which sets the business objects that are affected (by
default, all children of the WorkspaceObject business object).
This constant is provided by the adsfoundation template file.
UsageAttributeName
Determines the attribute name from the PSOccurrence object that will
be used for showing the usage of a physical part. The default value is
occurrence_name.
This constant is provided by the mrocore template file.
Open objects
1. Right-click the object.
2. Choose Open.
Details of the object appear in a new view. You can modify the object by entering
new values.
Delete objects
You can only delete the custom objects you have created. You cannot delete COTS
(commercial-off-the-shelf) objects, because they are standard objects provided by
Teamcenter.
5-276
PLM00071 J
If the custom object you want to delete has children, you must delete the children
first before you can delete the parent. Also, when you delete an object that is
referenced by other rules or objects in the system, the Business Modeler IDE tells
you which references to clean up first before you can delete the selected object.
Caution
You must use the rich client to delete all instances you created on your
test server before you delete the object in the Business Modeler IDE.
If you delete a custom object before removing instances of that object,
errors can appear in the deployment log the next time you deploy. This
is because the instance is still in the database, although the object
definition has been removed.
Modifying objects
If you attempt to modify an object and you are unable to for some reason (such as
another object references it), the Modify object dialog box appears.
This can occur when working with conditions. The condition values that can be
changed depend on whether the condition is COTS and if it is marked as secure:
If it is custom, you can select new input parameters to change the signature or
type new expressions in the Expression box. But if the condition is referred in
any business rule (for example, naming rule attachments, LOV attachments,
and so on) then you cannot modify the signature unless its removed from its
references.
Deprecating objects
Deprecation means that an object is going to be deleted in a future product release.
When an object is marked as deprecated, it cannot be deleted until a certain number
of releases have passed since the deprecation.
To deprecate an object, delete it; a deprecation dialog box appears asking if you want
to deprecate the object. You can only deprecate an object if the deprecation policy
PLM00071 J
5-277
Chapter 5
is set for the project, the object is custom, and the object was created in an earlier
version.
Your company has its own deprecation policy that states the number of releases
that must pass after an objects deprecation before the object can be deleted. To
change the number of releases, as well as whether a deprecation policy is set for
the project, you must change the project properties. Right-click the project, choose
Properties, and choose TeamcenterCode Generation in the left pane. Select the
Enable Deprecation Policy check box to allow for removal of obsolete objects from
the project, and click the arrow in the Number of Allowed Releases before Deletion
box to select how many releases before objects can be deleted from the project.
For more information about changing project properties, see View Business Modeler
IDE template project properties.
You can deprecate business object operations and property operations. To deprecate
an operation, on the Operations tab, select an operation that is from an earlier
release, and choose the Deprecate button.
For more information, see Deprecate an operation.
You can also un-deprecate objects that have previously been un-deprecated. For
example, to un-deprecate an operation, select a deprecated operation on the
Operations tab and click the Undeprecate button.
Naming objects
The Business Modeler IDE performs a validation at the time you create an object to
ensure its name is unique. You are not allowed to create duplicate objects with the
same name. This includes objects names that differ only in their case (uppercase
or lowercase).
When you create new data model objects, Siemens PLM Software requires that you
add a prefix to the name to designate the objects as belonging to your organization.
The prefix is set with the Prefix box when you create a template project. Thereafter,
whenever you create new objects in that project, the same prefix is added to the
name of all objects. For example, if the prefix is set as A4_ when the project is
created, when you create a new Item class, you could name it A4_Item. This
prevents naming collisions in future versions if you name an object the same as a
Teamcenter object in a future release. Siemens PLM Software requires that you
apply this consistent naming convention to all your new data model.
Use following conventions when choosing a prefix:
Ensure the prefix contains two to four characters. Underscores are allowed.
You can use digits 49. Do not use digits 0, 1, 2, or 3 because 0 and 1 are reserved
for Siemens PLM Software templates, and 2 and 3 are reserved for third-party
template development.
5-278
PLM00071 J
F7_
X999
You can rename a business object by right-clicking it in the Business Objects folder
and choosing Rename.
For more information, see Rename a business object.
Note
For each class there is a database table with the same name. Each
attribute on the class equates to a column in a database table. Database
tables must be uniquely named so that data can be properly mapped
from the application to the database. Database systems such as
Oracle convert all table names to uppercase. This means that the
Teamcenter class spelled ItemRevision is mapped to a table spelled
ITEMREVISION in the database. Because all table names are
converted to uppercase, in Teamcenter you cannot define two class
names that differ only in casing, because both would result in the same
table space name. Because every class has a business object, business
objects must also follow the same convention for uniqueness.
Business object (type) names and class names entered in the Business
Modeler IDE while performing data model extensions must be USASCII7
characters only. This prevents any template installation, upgrade, or
deployment issues.
For any existing business object (type) names or existing class
names that do not follow the USASCII7 format, you can use the
change_type_name utility (found on GTAC) to rename the type name
to a valid USASCII7 name.
PLM00071 J
5-279
Chapter 5
3. Perform the following steps in the Import Business Modeler IDE Template
Package dialog box:
a. Click the Browse button to the right of the Package contents box to choose
the folder that contains the package. This can be a directory on a mapped
drive or a directory on your computer.
b.
The name of the package appears in the Project name box. Change the name
if you want to create a new project based on the contents of the package.
c.
d. Click the Browse button to the right of the Dependent templates directory
box to choose the directory where the dependent template XML files are
stored. The templates directory is created when you install the Business
Modeler IDE.
e.
Click Finish.
If a package from a previous version is being imported, a dialog asks if you
want to migrate the package to the current data model format.
The wizard imports the package and displays it in views.
4. Create extensions using the new project as you would a project you created
yourself.
Import a Business Modeler IDE template project
A project stores all extensions made against the data model in XML files. You can
import a project from another Business Modeler IDE installation. Importing also
migrates the template to the latest version of the data model.
For information about creating projects, see Create a Business Modeler IDE template
project. For more information about template migration, see Upgrade a template
project to the current data model format.
Note
Two or more Business Modeler IDE installations cannot point to the same
project unless they are both using a source control management (SCM)
system. Import the project only after you have created a view in the SCM
that contains the project to be imported.
1. Map a drive to the project directory on another computer, or copy the project
directory to your own computer.
2. Choose FileImport.
The Import wizard runs.
3. In the Select dialog box, choose Business Modeler IDEImport a Business
Modeler IDE Template Project. Click Next.
4. Perform the following steps in the Import Business Modeler IDE Template
Project dialog box:
5-280
PLM00071 J
a. Click the Browse button to the right of the Project contents box to choose
the folder that contains the project. This can be a directory on a mapped
drive, or a directory you have already copied to your computer.
The name of the project appears in the Project name box. This name cannot
be changed outside of the Business Modeler IDE. It must remain the same
as the original project name. If you do not, you may receive an error like
the following:
C:\temp\bmideproject-2 overlaps the location of
another project: bmideproject-2
b.
Click the arrow in the Select active file box to choose the extension file to
make active after the project is imported.
During normal extension work, you set the active file to hold the extensions.
For more information, see Set the active extension file.
c.
In the Prefix box, type the naming prefix for the imported project.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
d. Click the Browse button to the right of the Dependent templates directory
box to choose the directory where the dependent template XML files are
stored. The templates directory is created when you install the Business
Modeler IDE.
e.
Click the Browse button to the right of the Code Output Location directory
and browse to the location where you want the project output to be placed.
f.
Click Finish.
If a project from previous release is being imported, a dialog asks if you want
to migrate the project to the current data model format.
The wizard imports the project and displays it in views.
g.
After import, open the Project Files folder and check for any error or warning
messages in the log in the output\upgrade folder.
5. Create extensions using the new project just as you would a project you created
yourself.
Note
The project files remain in the original location. A link is created from
your workspace to the project folder. Any new extension files created
against this project are added to the original location.
PLM00071 J
5-281
Chapter 5
1. Choose FileImport.
The Import wizard runs.
2. In the Select dialog box, choose Business Modeler IDEImport a project backed
up in Teamcenter database. Click Next.
3. In the Teamcenter Login dialog box, log on to the database server and click Next.
4. Click Next.
5. Perform the following steps in the Import Business Modeler IDE Template
Project dialog box:
a. Click the arrow in the Project box to choose the backed-up project to import.
Click Next.
b.
Click the Browse button to the right of the Project contents box to choose
the workspace location to import to.
c.
Click the arrow in the Select active file box to choose the extension file to
make active after the project is imported.
During normal extension work, you set the active file to hold the extensions.
For more information, see Set the active extension file.
d. Click the Browse button to the right of the Dependent templates directory
box to choose the directory where the dependent template XML files are
stored. The templates directory is created when you install the Business
Modeler IDE.
e.
Click Finish.
The wizard imports the project and displays it in views.
Before importing preferences, you must first export the preferences from another
project using the Export project preferences wizard. Then you can import the
resulting file.
For instructions, see Import project preferences.
1. Right-click the project and choose Import.
2. In the Select dialog box, choose Business Modeler IDEImport project
preferences. Click Next.
3. Click the Browse button to the right of the Preference file box.
4. Browse to the location of the preference file and select it, for example,
project_preferences.xml.
5-282
PLM00071 J
5. Click Finish.
The file is imported and its preferences are added to your project.
Import a template file
You can import the contents of a template file into a Business Modeler IDE project.
The data model elements in the template file are written to an extension file.
For more information about extension files, see Set the active extension file.
This is useful when you want to import a template file to your project. You can also
import an extension file from one project template that you want to share with
another project template.
1. Choose FileImport.
The Import wizard runs.
2. In the Select dialog box, choose Business Modeler IDEImport template file.
Click Next.
3. Perform the following steps in the Import template file dialog box:
a. In the Project box, select the project into which you want to import the
template file.
b.
Click the Browse button to the right of the Template file box to choose
the XML model file to be imported, for example, a template XML file or
an extension file.
Note
c.
This wizard does not migrate the file to the latest data model format.
You must use a template file that was created using the latest release
XML format, or that has already been migrated to this format.
Click the arrow in the Extension file box to choose the extension file in your
project into which the model elements are to be placed.
During normal extension work, you set the active file to hold extensions.
For more information, see Set the active extension file.
d. Click Finish.
The data model is imported into the extension file.
4. To verify the model is imported, browse for new data model objects in the
Business Modeler IDE views.
To see the data model in the extension file, access the Project Files folder,
expand the extensions folder, and double-click the extension file to open it in
an editor view.
Caution
PLM00071 J
Never manually edit the XML files; this may corrupt data.
5-283
Chapter 5
4. Click Finish.
Export project preferences
You can export the following characteristics of your project to be used by another
project:
5-284
PLM00071 J
In the File Name box, type the name you want the schema file to have.
(Include the .xsd extension on the file name.)
c.
Leave the Use default location check box selected if you want the file to be
placed in your workspace in the output\tcplmxml folder under your project.
If you want to change the folder where the file is created, clear the Use
default location box, and click the Browse button to the right of the Target
folder box to choose the folder where the file is to saved.
d. Click Finish.
The file is saved in the target folder.
By default, the TC XML file is saved to the output\tcplmxml folder under
your project.
PLM00071 J
5-285
Chapter 5
Note
You can also locate the file in your workspace on your system. To
find the workspace location, choose FileSwitch Workspace. For
example, on a Windows system, it is saved by default to:
install-location\bmide\workspace\
version\project\output\tcplmxml
Now you can use the schema file when mapping data model between Teamcenter
Enterprise and Teamcenter. Specify the schema file when you set up a mapping
project.
For more information, see Create a Mapping Designer project.
For more information, see Run a report comparing data model from two different
sources.
Note
5-286
PLM00071 J
Condition Usage
This report provides the details of a condition and all model elements that use
the condition. In the Business Modeler IDE, users can create conditions and
attach these conditions to various business rules, LOVs, and so on, to define the
behavior of Teamcenter. This report generates a single HTML page report of the
condition details and all of the model elements that refer to the condition. To
generate this report you select a template project and the condition.
For more information, see Run a condition usage report.
Note
This report appears only after you upgrade a project to the latest data
model.
For instructions about upgrading a project, see Upgrade a template
project to the current data model format.
This report provides the details of custom business objects where the create
operations are overridden. In the Business Modeler IDE, you can override
the create operations on the business objects. This report generates a single
page HTML report of all the custom objects that are subtypes of Item,
ItemRevision, Dataset, Form, and Relation business objects that override
the create operations, such as the Create, SetPropertiesFromCreateInput,
ValidateCreateInput, FinalizeCreateInput, and CreatePost operations.
Select a template project to run the report.
For instructions about how to run the report, see Run a report on create operation
overrides. For instructions about how to use this report to refactor create
operations, see Refactor create operations.
Data Model
This report provides the details of a given category of model elements. Business
Modeler IDE users can define a number of model elements and store them in
a Business Modeler IDE template. These templates can be deployed to any
Teamcenter database. You may be interested in generating a report all LOVs
or GRM rules, or a report that shows a combination of multiple model element
categories such as all deep copy rules and naming rules. A user can use the
Business Modeler IDE client to examine all of this information; however, this
report offers an easier means to examine all elements within a given category by
generating this information into a single HTML page.
This report gives you the ability to generate a report like this and choose the
data model input that is used to generate the report. The input may come from
any of the following sources:
PLM00071 J
5-287
Chapter 5
Because all of the elements are generated into a single file, this report has
limitations. As the number of categories and elements within a category grows,
so does the resulting file size. In cases where you want to generate a report of
multiple categories try using the Data Model Documentation report.
For more information, see Run a report of individual types of data model.
Note
Template Project
Teamcenter Server
Template Package
Model File
4. Locate the first data model to compare. The dialog box that appears next is
dependent upon the input source you selected:
5-288
Template Project
PLM00071 J
Teamcenter Server
Type the user name and password for server access and click Connect.
For more information about how to connect to a server, see Add a server
connection profile.
Template Package
Browse for a template package.
For more information about how to create a template package, see Package
extensions into a template.
Model File
Select the TC_DATA\model\model.xml model file.
5. In the Input Data Model 2 box, select the source of the second data model to
compare and click Next:
6. As you had done earlier for the first data model, locate the second data model
and click Next.
7. On the Compare Two Data Model Options Page, leave the Show Equal
Attributes check box clear if you want the report to show only differences
between the data models, or select it if you want the report to show all the
elements that are the same between the two data models.
Click Next.
8. In the Report File Selection dialog box, select the project\output\reports
folder as the location where to write the report, and in the File Name box, type
a name for the report.
9. Click Finish.
Run a condition usage report
1. Choose BMIDEReports.
2. Select Condition Usage and click Next.
3. In the Condition Usage Report dialog box, select the condition to report, and
the project it resides in. Click Next.
4. In the Report File Selection dialog box, select the project\output\reports
folder as the location where to write the report, and in the File Name box, type
a name for the report.
5. Click Finish.
For information about conditions, see Conditions.
PLM00071 J
5-289
Chapter 5
Template Project
Teamcenter Server
Template Package
Model File
4. The dialog box that appears next is dependent upon the input source you
selected:
Template Project
Select the project and templates to include in the report.
Teamcenter Server
Type the user name and password for server access and click Connect.
For more information about how to connect to a server, see Add a server
connection profile.
Template Package
Browse for a template package.
For more information about how to create a template package, see Package
extensions into a template.
Model File
Select the TC_DATA\model\model.xml model file.
5. Click Next.
5-290
PLM00071 J
6. In the Select Model Elements dialog box, select the model elements you want to
appear in the report and click Next.
7. In the Report File Selection dialog box, select the project\output\reports
folder as the location where to write the report, and in the File Name box, type
a name for the report.
8. Click Finish.
Run a report of all data model
1. Choose BMIDEReports.
2. Select Data Model Documentation and click Next.
3. In the Project box, select the project on which you want to run the report.
4. Select the Generate Whats New section in the report? check box to include a
section showing the new data model added since previous versions of Teamcenter.
Select the previous versions.
5. Click Next.
6. Clear the Use default location box specify where to save the report.
7. Click Finish.
The report is generated at the specified location.
UML files only store the names and relative positions of the data model. The
definitions of data model created with the UML editor are not stored in the
UML files. They are stored in the projects template XML files.
Item is the most common business object or class with which you work.
2. Right-click the business object or class and choose Open In UML Editor.
PLM00071 J
5-291
Chapter 5
The business object or class appears in the UML editor as a box. You can also
drag other business objects into the UML editor.
3. To learn the basics of the UML editor, perform the following steps:
a. Work with the shortcut menu.
Right-click the name of the business object or class that appears at the top of
the box.
A shortcut menu appears. Try the following tasks:
b.
c.
Drag the gray box across the Outline view to change what is displayed
in the UML editor.
Click in the UML editor and click the zoom control in the toolbar at the
top of the window to change the view from 100 percent to a different size.
5-292
PLM00071 J
The data is saved in a file with a .tmd suffix as displayed on the tab at the
top of the UML editor. To open this .tmd file later and view it in the UML
editor, access the Project Files folder and double-click the .tmd file in the
UML Diagrams folder. Saving the diagram does not save the data model; you
must choose BMIDESave Data Model.
4. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
5. After you make changes to the data model using the UML editor, you can deploy
your changes to the test server. Choose BMIDEDeploy Template on the menu
bar, or select the project and click the Deploy Template button
toolbar.
on the main
For more information about actions you can perform in the UML editor, see
UML editor interface.
Create a new UML diagram
1. Choose FileNewOtherBusiness Modeler IDECreate a new Teamcenter
UML diagram
Click Next.
The New UML Diagram wizard runs.
2. Perform the following steps in the New UML Diagram dialog box:
a. Select the folder where you want to save the diagram, for example, UML
Diagrams.
b.
In the File Name box, type the name you want to give to the diagram. The
file has a .tmd file suffix.
c.
Click Finish.
The UML editor appears.
3. To work in the UML editor, drag and drop business objects or classes into the
new diagram. Right-click in the view and choose menu commands.
You can also create business objects or classes by dragging the Class or Business
Object icons from the UML editor palette into the editor.
4. To save the UML diagram, click the Save button on the main toolbar. The
diagram is saved in a file with a .tmd suffix as displayed on the tab at the top of
the UML editor.
To open this .tmd file later and view it in the UML editor, access the Project
Files folder and double-click the .tmd file in the UML Diagrams folder.
Note
Saving the diagram does not save the data model. To save the data
model, choose BMIDESave Data Model, or click the Save Data Model
button
PLM00071 J
5-293
Chapter
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
6-2
6-2
6-2
6-5
6-7
6-8
6-11
6-12
6-12
6-12
6-15
6-16
6-16
6-17
.
.
.
.
.
.
.
.
.
.
.
.
6-17
6-18
6-18
6-20
PLM00071 J
GRM rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Introduction to GRM rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Add a GRM rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Generic Relationship Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Evaluation order for GRM rules . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Understanding the impact of business object inheritance on GRM rules
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
6-27
6-27
6-29
6-33
6-34
6-34
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
6-35
6-35
6-40
6-41
6-42
6-43
6-43
6-44
6-46
6-46
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
isOtherSideReplica . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-47
Alternate ID rules . . . . . . . . . . . . .
Add an alternate ID rule . . . . . .
Alternate ID rule example . . . . .
Alternate ID rules characteristics
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
6-49
6-49
6-51
6-53
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
6-55
6-55
6-57
6-60
6-61
6-67
6-67
6-69
6-73
Conditions . . . . . . . . . . . . . . . . . . . . . . . . . .
Add a condition . . . . . . . . . . . . . . . . . . . .
Search conditions . . . . . . . . . . . . . . . . . .
Conditions overview . . . . . . . . . . . . . . . .
Condition examples . . . . . . . . . . . . . . . . .
Condition system . . . . . . . . . . . . . . . . . .
Condition expressions . . . . . . . . . . . .
Condition calls . . . . . . . . . . . . . . . . .
Condition operators . . . . . . . . . . . . . .
Valid condition operands . . . . . . . . . .
Condition operation rules . . . . . . . . . .
Valid condition signatures . . . . . . . . .
Troubleshooting conditions evaluations
ITK APIs for conditions . . . . . . . . . . .
Condition engine service . . . . . . . . . .
6-74
6-74
6-78
6-79
6-80
6-83
6-83
6-84
6-84
6-85
6-86
6-86
6-87
6-88
6-89
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Application extensions . . . . . . . . . . . . . . . . . . . . .
Introduction to application extensions . . . . . . . .
Add an application extension point . . . . . . . . . .
Add an application extension rule . . . . . . . . . . .
Add a business context . . . . . . . . . . . . . . . . . .
Sample application extension APIs . . . . . . . . . .
About the sample application extension APIs
RBF_execute . . . . . . . . . . . . . . . . . . . . . . .
executeRbfRules . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 6-90
. 6-90
. 6-90
. 6-92
. 6-94
. 6-96
. 6-96
. 6-97
6-100
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
PLM00071 J
Chapter
Naming rules
Set the name automatically assigned when a business object is created.
Display rules
Limit the kind of objects that can be created by particular individuals.
Alternate ID rules
Store information about the same part from different perspectives.
Alias ID rules
Store part numbers and other attribute information for similar parts.
PLM00071 J
6-1
Chapter 6
Naming rules
Introduction to naming rules
Naming rules define the data entry format for a business object property. Naming
rules can be used to name items, item revisions, datasets, forms, projects, and work
contexts. A naming rule consists of rule patterns and a counter. After you create a
naming rule, you must attach it to the business object property. You can also attach
the naming rule to a property on all business objects that use that property.
For an example of creating a naming rule, see Workshop 7: Add a naming rule. For
information about patterns, see Defining naming rule patterns.
You can create a naming rule for an item ID that starts with CCC plus
a six-digit number, so that it generates numbers from CCC000001 to
CCC999999.
Example
Property name
Dataset
object_name
pubr_object_id
rev
Form
object_name
Identifier
idfr_id
Item
item_id
object_name
ItemRevision
PSOccurrence
item_revision_id
occurrence_name
TC_Project
project_id
project_name
TC_WorkContext
workcontext_name
6-2
On the menu bar, choose BMIDENew Model Element, type Naming Rules
in the Wizards box, and click Next.
Open the Extensions\Rules folders, right-click the Naming Rules folder, and
choose New Naming Rules.
PLM00071 J
In the Name box, type the name you want to assign to the new naming rule
in the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
Click the Add button to add a naming rule pattern in the Patterns pane.
The Add Naming Rule Pattern wizard runs.
B. Click the Insert LOV buttons to add an LOV as part of the pattern.
PLM00071 J
6-3
Chapter 6
C. Click the Insert Rule button to use an existing naming rule for the
pattern.
D. In the Description box, type a brief description of the naming rule.
E. Select the Generate counters? check box if you want to add a counter
to the naming rule.
F. If you selected the Generate counters? check box, type characters in the
Initial Value box and the Maximum Value box that match the pattern.
For example, if you entered nnn for the pattern, type a three-digit
number in the Initial Value box and the Maximum Value box, such as
100 and 899. Or if you entered a pattern of Annn, you could type A001
and Z999.
G. Click Finish.
The pattern appears in the Pattern pane of the Naming Rule dialog box.
By default, the first pattern in the list is used to assign IDs for
objects.
e.
Change the patterns as desired by using the Add, Edit, Remove, Copy,
Move Up and Move Down buttons.
f.
Click Finish.
The naming rule is added to the Naming Rules folder.
3. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
To put the naming rule into effect, you must attach it to a property on a business
object, such as an item name.
6-4
PLM00071 J
In the Name box, type the name you want to assign to the new naming rule
in the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
d. Click the arrow in the Initial Revision Type box to choose the kind of
revision numbering system to use at the beginning of the revision name
scheme: Alphabetic (only alphabet characters), Numeric (only numbers), or
Alphanumeric (a mix of letters and numbers).
e.
In the Initial Revision Start box, type the characters to start the revision
naming scheme.
For example, if the desired revision numbering scheme is A001 to Z999, type
A in this box. The character must be in accordance with the initial revision
type. For example, if the initial revision type is alphabetic, you must type an
alphabetic character.
f.
PLM00071 J
In the Initial Revision Description box, type a description of the first portion
of the revision naming scheme.
6-5
Chapter 6
g.
Click the arrow in the Secondary Revision Type box to choose the kind
of revision numbering system to use next in the revision naming scheme:
Alphabetic (only alphabet characters), Numeric (only numbers), or
Alphanumeric (a mix of letters and numbers). This must be a different type
than the initial revision type. For example, if the initial revision type is
alphabetic, the secondary revision type must be numeric.
h. In the Secondary Revision Start box, type the characters to continue the
revision numbering.
For example, if the desired revision numbering scheme is A001 to Z999, type
001 in this box. The character must be in accordance with the secondary
revision type. For example, if the secondary revision type is numeric, you
must type a number.
i.
j.
Click the arrow in the Supplemental Revision Type box to choose one of
the following:
NumericNoZeroFill
Assigns numbers with no zeroes, for example, 1, 2, 3, up to 9999.
FixedTwoDigitsZeroFill
Assigns two-digit numbers using a zero fill-in, for example, 01, 02, 03,
up to 99.
FixedThreeDigitsZeroFill
Assigns three-digit numbers using a zero fill-in, for example, 001, 002,
003, up to 999.
FixedFourDigitsZeroFill
Assigns four-digit numbers with a zero fill-in, for example, 0001, 0002,
0003, up to 9999
CurrentRevLetterNumericNoZeroFill
Assigns numbers to the current revision letter with no zeroes, for
example, A1, A2, A3, up to A99.
CurrentRevLetterFixedOneDigit
Assigns single-digit numbers to the current revision letter, for example,
A1, A2, A3, up to A9.
CurrentRevLetterFixedTwoDigitsZeroFill
Assigns two-digit numbers to the current revision letter, for example,
A01, A02, A03, up to A99.
NextRevLetterNumericNoZeroFill
Assigns numbers to the next revision letter, for example, B1, B2, B3,
up to B99.
6-6
PLM00071 J
NextRevLetterNumericFixedOneDigit
Assigns single-digit numbers to the next revision letter, for example,
B1, B2, B3, up to B9.
NextRevLetterFixedTwoDigitsZeroFill
Assigns two-digit numbers to the next revision letter, for example, B01,
B02, B03, up to B99.
Note
Treat_Curr_Rev_As_Any_Rev
Set to False to prevent users from changing the current revision
letter.
Treat_Next_Rev_As_Any_Rev
Set to False to prevent users from changing the next revision
letter.
Click Finish.
The naming rule is added to the Revision Naming Rules folder.
3. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
To put the naming rule into effect, you must attach it to a property on a business
object, such as an item name.
For more information, see Attach a naming rule to a property.
PLM00071 J
6-7
Chapter 6
item revisions or children of item revisions.) To search for a business object, you
can click the Find button
on
6. After deployment, test your newly assigned baseline suffix naming rule in the
Teamcenter rich client by creating a baseline and checking the name that is
generated.
To baseline an item, open an item revision in the Structure Manager and choose
ToolsBaseline.
For complete instructions, see the Structure Manager Guide.
6-8
PLM00071 J
b.
Click the arrow in the Case box to select the kind of user input allowed
for the naming rule, Mix for mixed case, Upper for uppercase, or Lower for
lowercase.
c.
Click the Browse button to the right of the Condition box to select the
condition that determines when the naming rule is applied. If you select
isTrue as the condition, the value always applies.
Note
Only those conditions appear that have valid signatures. For naming
rules, the valid condition signature is as follows:
condition-name(UserSession)
For more information, see Using conditions with naming rules. For more
information about conditions, see Conditions.
d. Select Override to override the existing naming rule attached to this property.
For more information, see Override a COTS naming rule.
Click Finish.
The naming rule is attached to the property on the business object. The
business objects and properties display in the Naming Rule Attachments
table.
To detach the naming rule from any particular property, select the business
object in the table and click the Detach button.
PLM00071 J
6-9
Chapter 6
on
6-10
PLM00071 J
PLM00071 J
6-11
Chapter 6
Lists of values are literal variables and must be enclosed in double quotation
marks (").
Each pattern can consist of combinations of the characters shown in the following
table.
6-12
Character
Pattern match
&
Alphanumeric value.
X
x
N
n
Numeric value.
Alphabetic value.
PLM00071 J
Character
a
Pattern match
string
${system-variable}
PLM00071 J
GROUP
ROLE
USERID
Users ID.
USERNAME
Users name.
SITENAME
Site name.
All:pref
GROUP:pref
ROLE:pref
SITE:pref
USER:pref
6-13
Chapter 6
Character
Pattern match
Lists of values
RULE
NAME_Rules
Regular expressions
LOV
Lists of values
RULE
NAME_Rules
6-14
0 or 1
0 or more
1 or more
Any character
()
[]
PLM00071 J
Character
Pattern match
-
Range
[a-z0-9]+
[a-z]+[0-9]+
[a-hj-np-z]
[mejx]
[a\-z]+
{n,}
At least n
{,m}
{m}
Exactly m
PLM00071 J
6-15
Chapter 6
{LOV:Context}nnnn
The naming rule is then attached to the name property of the dataset business
object.
Note
The right-side counter range completes first and then moves to the next range from
the right, as follows:
001.a
.
.
.
001.z
002.a
.
.
.
002.z
003.a
.
.
.
003.z
"${GROUP}-AD-"NNN
Initial Value
${GROUP}-AD-111
Maximum Value
${GROUP}-AD-999
6-16
Pattern
"AA-${GROUP}-BB-"NN
Initial Value
AA-${GROUP}-BB-11
PLM00071 J
Maximum Value
AA-${GROUP}-BB-99
Property
Item
item_id
name
RuleA
item_revision_id
None
item_revision_id
name
RuleC
Document
MyDoc
RuleB
RuleD
With these rules established, rules are applied accordingly when a user performs the
following actions:
PLM00071 J
6-17
Chapter 6
(Item)
(Item Master)
(Identifier)
(Identifier)
(Item Revision)
(Item Revision Master)
(IdentifierRev)
(IdentifierRev)
To prevent this behavior, you must define a separate revision naming rule on the ID
property of supplemental revision-level identifier business objects, as follows:
1. Define a naming rule, for example, MyRule1, that generates the counter and
attach it to the ID property of the identifier.
2. Define another naming rule, for example, MyRule2, that is identical to
MyRule1 and attach it to the ID property of the identifier revision.
The alternate ID is generated and the counter is incremented as follows:
000/000@Master-1
001/000@Master-1
002/000@Master-1
003/000@Master-1
6-18
PLM00071 J
Business
object
Property
Naming rule
MyItem
item_id
naming_rule1 isTrue
MyItem
item_id
Item
item_id
Condition Description
Sets the default naming rule
for the property on the business
object.
Scenario 1:
o
The naming_rule1 naming rule evaluates to true but is given last priority
(that is, the server puts it aside for time being and goes on to evaluate
other attachments).
The naming_rule2 naming rule is returned as the valid attachment for the
MyItem/item_id property.
Scenario 2:
o
The naming_rule1 naming rule evaluates to true but is given last priority
(that is, the server puts it aside for time being and goes on to evaluate
other attachments).
The server has evaluated all the naming rule attachments for the given
business object/property combination. The server now has to make a decision:
Should it go to parent and see if the property exists on the parent, and if
it exists, evaluate the naming rule attachments on the parent business
object/property combination?
Or should it use the naming rule attachment that has the isTrue
condition?
PLM00071 J
6-19
Chapter 6
If the Override check box is selected (true), the naming rule attachment
that has the isTrue condition is used. In this case, naming_rule1 is
returned as the valid attachment for the MyItem/item_id property.
Scenario 3:
o
The naming_rule1 naming rule evaluates to true but is given last priority
(that is, the server puts it aside for the time being and goes on to evaluate
other attachments).
The server has evaluated all the naming rule attachments for the given
business object/property combination. The server has to now make a decision:
Should it go to the parent and see if the property exists on the parent,
and if it exists, evaluate the naming rule attachments on the parent
business object/property combination?
Or should it use the naming rule attachment that has isTrue condition?
Initial
examples
Secondary
format
Alphabetic
A, B
AA, AB
AAA, AAB
None
6-20
Secondary
examples
Supplemental Supplemental
format
examples
None
PLM00071 J
Initial
format
Initial
examples
Secondary
format
Alphabetic
A, B
AA, AB
AAA, AAB
None
Numeric
1, 2 999
01, 02 999
001, 002
999
Alphabetic
A, B
AA, AB
AAA, AAB
None
Alphanumeric
A1, A2
A01, A02
AA1, AA2
Alphabetic
A, B
AA, AB
AAA, AAB
Numeric
Alphabetic
A, B
AA, AB
AAA, AAB
Alphanumeric A1, A2
A01, A02
AA1, AA2
None
Numeric
1, 2 999
01, 02 999
001, 002
999
None
None
Numeric
1, 2 999
01, 02 999
001, 002
999
Alphabetic
A, B
AA, AB
AAA, AAB
None
Numeric
1, 2 999
01, 02 999
001, 002
999
Alphabetic
A, B
AA, AB
AAA, AAB
Alphanumeric
Numeric
1, 2 999
01, 02 999
001, 002
999
Alphanumeric A1, A2
A01, A02
AA1, AA2
None
Alphanumeric A1, A2
A01, A02
AA1, AA2
None
None
Alphanumeric A1, A2
A01, A02
AA1, AA2
Alphabetic
PLM00071 J
Secondary
examples
Supplemental Supplemental
format
examples
1, 2 999
None
01, 02 999
001, 002 999
A, B
AA, AB
AAA, AAB
A1, A2
A01, A02
AA1, AA2
None
6-21
Chapter 6
Initial
format
Initial
examples
Secondary
format
Secondary
examples
Supplemental Supplemental
format
examples
Alphanumeric A1, A2
A01, A02
AA1, AA2
Alphabetic
A, B
AA, AB
AAA, AAB
Numeric
Alphanumeric A1, A2
A01, A02
AA1, AA2
Numeric
1, 2 999
None
01, 02 999
001, 002 999
1, 2 999
01, 02 999
001, 002
999
The following table shows the supported formats of the supplemental revision types.
Current
released
revision
Example
NumericNoZeroFill
Any revision
1, 2, 3, up to 9999
FixedTwoDigitsZeroFill
Any revision
FixedThreeDigitsZeroFill
Any revision
FixedFourDigitsZeroFill
Any revision
CurrentRevLetterNumericNoZeroFill
Not applicable
A01
Not applicable
A01
Not applicable
A01
Not applicable
A01
Not applicable
A01
CurrentRevLetterFixedOneDigit
CurrentRevLetterFixedTwoDigitsZeroFill
NextRevLetterNumericNoZeroFill
NextRevLetterNumericFixedOneDigit
6-22
PLM00071 J
Current
released
revision
Example
NextRevLetterFixedTwoDigitsZeroFill
Not applicable
A01
Note
For those formats in the table whose current released revision is A01, if the
current revision is alphanumeric, that alphanumeric sequence is followed.
PLM00071 J
6-23
Chapter 6
6-24
Select the Propagate to sub Business Objects check box if all children of
the business object inherit the display rule.
PLM00071 J
c.
Click the Browse button to the right of the Condition box to select the
condition for which this display rule runs. If you select isTrue as the
condition, the rule always applies.
Note
5. After you create a rule, you can deploy your changes to the server. Choose
BMIDEDeploy Template on the menu bar, or select the project and click the
Deploy Template button
PLM00071 J
6-25
Chapter 6
Business object is visible (no display rule in effect for the logged-on user)
Then log on as a user in a group that has a display rule defined (and therefore
does not have rights to see Item business objects in menus). You should not be
able to create Item business objects.
Business object is hidden (the display rule in effect for the logged-on user)
6-26
PLM00071 J
For instructions about creating display rules, see Add a business object display rule.
The list of business objects on which you can create display rules is defined in
the TYPE_DISPLAY_RULES_list_of_primary_types preference and the
TYPE_DISPLAY_RULES_list_types_of_subclasses preference.
Note
Business object display rules are subject to the principles of group hierarchy and
inheritance. Rules defined at the site level are inherited by all groups and roles
within groups. Rules defined for a group are inherited by all subgroups, but rules
applied to a subgroup do not affect the parent groups or other subgroups at the same
level in the hierarchy (sibling groups). Rules applied to roles within groups apply to
all users with that role, but do not affect other roles in the same group.
In addition to being subject to the principles of group hierarchy and inheritance,
business object display rules are also subject to inheritance. Display rules set at the
subobject level take precedence over rules set at the business object level.
Note
You can also use the Command Suppression application to suppress the
display of menus and commands for certain groups.
For more information, see the Application Administration Guide.
GRM rules
Introduction to GRM rules
A Generic Relationship Management (GRM) rule applies constraints on the
relationship between two business objects. When you create a GRM rule, you select
the primary and secondary business objects for the relationship, the relationship
they have to one another, and the constraints to be applied. Available relationships
are children of the ImanRelation business object.
You can use Generic Relationship Management (GRM) rules to limit what objects
can be pasted to other objects. For example, if you do not want a certain type of
object to have a specification relation to another type, you can set the cardinality to 0
to deny pasting of one type of object to another with the specification relation.
For an example of creating a GRM rule, see Workshop 9: Add a relationship rule.
PLM00071 J
6-27
Chapter 6
Cardinality
Determines the number of allowed occurrences of the primary object in relation
to the secondary object, and of the secondary object in relation to the primary
object.
When you create a GRM rule, type a number in the Primary Cardinality or
Secondary Cardinality boxes:
Number
Action
-1 or *
1, or 2, or 3, and so on
Changeability
Specifies whether the relationship links between objects can be added, deleted,
or otherwise changed.
Attachability
Specifies whether new relationship links can be made between objects.
Detachability
Specifies whether the relationship links that exist between objects can be
removed.
You can see the relations between business objects in the UML editor by
right-clicking and choosing ShowRelations.
For more information, see Open a class or business object in the UML editor.
6-28
PLM00071 J
Note
The GRM rule applies for all children of the primary and secondary objects.
For example, if the ItemRevision business object is chosen as the primary
object, and the DirectModel dataset is chosen as the secondary object,
all children of these objects that have the relationship inherit the rule.
Therefore, all instances of the children of ItemRevision that are related to
all instances of children of DirectModel, and use the relation specified by
the rule, are subject to the constraints defined by the rule. However, rules
defined for a specific sub-business object take precedence over the relation
rules defined for a parent object.
On the menu bar, choose BMIDENew Model Element, type GRM Rules
in the Wizards box, and click Next.
On the menu bar, choose BMIDEEditorsGRM Rules Editor, and click the
Add button to the right of the table.
Open a business object, click the GRM Rules tab, and click the Add button to
the right of the table.
Click the Browse button to the right of the Secondary Object box to select
the secondary business object in the relationship.
c.
Click the Browse button to the right of the Relation Object box to choose
the relationship between the primary and secondary business objects. These
relations are children of the ImanRelation business object.
d. In the Primary Cardinality box, type the number of primary objects that can
be related to a secondary object with the relationship. An asterisk (*) means
an unlimited number. (-1 also means an unlimited number.)
PLM00071 J
e.
In the Secondary Cardinality box, type the number of secondary objects that
can be related to a primary object with the relationship. An asterisk (*)
means an unlimited number. (-1 also means an unlimited number.)
f.
g.
In the Attachability box, select Unrestricted if all users can relate new
objects using the rule, or select Write Access Req. if Access Manager rules
should be used to evaluate if the relationship creation is allowed.
6-29
Chapter 6
h. In the Detachability box, select Unrestricted if all users can remove the
relationships between objects using the rule, or select Write Access Req. if
Access Manager rules should be used to evaluate if the relationship creation
is allowed.
In the following example, the Item business object is restricted to having
only one UGPART attached with the IMAN_manifestation relation. If you
attempt to attach another of that type, the system displays an error.
Click Finish.
The rule is created and appears in the table on the GRM Rules editor.
6-30
PLM00071 J
3. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
on
PLM00071 J
6-31
Chapter 6
Changeability: Changeable
Attachability: Unrestricted
Detachability: Unrestricted
b.
After you create a business object, deploy your changes to the test server.
Choose BMIDEDeploy Template on the menu bar, or select the project and
click the Deploy Template button
To test the GRM rule, in the My Teamcenter application, create an item and
put a UGPART dataset on it with the IMAN_manifestation relationship:
A. Create an Item business object by choosing FileNewItem and
selecting the Item type.
B. Create a UGPART dataset by choosing FileNewDataset and choosing
the UGPART type.
C. Copy the UGPART dataset by selecting it and choosing EditCopy,
select the Item business object instance, choose EditPaste Special, and
choose the Manifestations relationship.
6-32
PLM00071 J
Click the red X button in the lower right corner of the paste error dialog box.
The following error dialog box shows that the GRM rule is the reason that
you cannot attach another UGPART dataset to the Item business object with
the Manifestations relationship.
PLM00071 J
6-33
Chapter 6
object using attributes that are references, as well as using GRM. References and
GRM can be used in both directions. In some cases, GRMs are exposed as properties.
The GRM module of the Integration Toolkit supports the concept of explicit
relationships. With GRM, you can define and enforce specific rules pertaining to
relationships, as well as separate the maintenance of relationships from the data
itself.
6-34
PLM00071 J
Although deep copy rules defined at a parent business object are inherited
by the children, they are not editable on the children. The Edit and Remove
buttons are unavailable on the Deep Copy Rules tab for the children
business objects.
For an example of a adding a deep copy rule, see Workshop 10: Add deep copy rules.
Perform the following steps to create a deep copy rule on a business object:
1. Choose one of these methods:
On the menu bar, choose BMIDENew Model Element, type Deep Copy
Rule in the Wizards box, and click Next.
Open a business object, click the Deep Copy Rules tab, and click the Add
button to the right of the deep copy rules table.
PLM00071 J
6-35
Chapter 6
b.
Select the Target Primary? check box to indicate that the business object
shown in the Target Type box is the primary object of the relationship
specified in the Relation Type box. When the business object instance is
revised or saved, the secondary objects are carried forward and related using
the relation in the Relation Type box.
Clear the Is Target Primary check box to indicate that the business object
shown in the Target Type box is the secondary object of the relationship
specified in the Relation Type box. When the business object instance is
revised or saved, the primary objects are carried forward and related using
the relation in the Relation Type box.
c.
Click the arrow in the Operation Type box to select Save As or Revise as the
operation to invoke the copy action.
d. If you chose Save As, for Property Type, click the Relation button if you
want to create the deep copy relationship, or select the Reference button to
define a deep copy rule between an object and a referenced object through
the reference property.
e.
The next box changes depending on what you selected for property type:
Relation
If you selected Relation as the property type, click the Browse button to
the right of the Relation box to select the relationship business object
to use for the relationship between the copied object and its business
object instance.
Available relationships are children of the ImanRelation business
object. Objects with a relationship that matches the selected relationship
are only copied from the source business object instance to the destination
business object instance. To match all relationships, select Match All.
Reference
If you selected Reference as the property type, click the Browse button
to the right of the Reference Property box to select the property. This
is similar to defining deep copy rules for relation properties except that
you are defining a deep copy rule between an object and a referenced
object through the reference property. If the reference property is a
typed reference, the object on the other side is the type specified in the
definition of the reference property or any of its subtypes. The Browse
button allows selecting this type or its subtypes.
For example, the Item business object has a uom_tag reference property
that is a typed reference property to the UnitOfMeasure business
object. When configuring a deep copy rule for an Item business object,
if the reference property is selected, you can configure the deep copy
rule on the uom_tag property and the UnitOfMeasure or any of its
subtypes as the secondary object.
f.
Click the Browse button to the right of the Attached Business Object box if
you want to specify the business object type to be copied.
Select the MatchAll value if you want all objects to be copied forward no
matter what type of business object they are.
6-36
PLM00071 J
g.
Click the Browse button to the right of the Condition box to select the
condition for which this deep copy rule runs. If you select isTrue as the
condition, the deep copy rule always applies.
Note
Only those conditions appear that have valid signatures. For deep
copy rules, the valid condition signatures are as follows:
condition-name(DeepCopyRule,ItemRevision,POM_object)
condition-name(DeepCopyRule,ItemRevision,POM_object,
UserSession)
condition-name(DeepCopyRule,POM_object,POM_object)
condition-name(UserSession)
Any condition other than isTrue must use one of the following conventions:
For more information about deep copy rule conditions, see Deep copy rule
conditions. For more information about conditions, see Conditions.
h. In the Action box, choose the kind of copying to be allowed for the business
object:
CopyAsObject
Creates a new object of the same type as the related object and relates to
the new revision. Objects created by this method are totally independent
of the source object. Therefore, modifications to the new object are not
reflected in the source object.
CopyAsReference
Creates a new relation between the new revision and the related object.
Therefore, modifications performed on the copied object are propagated
to the source object.
CopyAsReferenceOrReferenceNewCopy
Relates the current primary object to the original secondary object if
the secondary object has not been copied or revised during the current
operation. If a new copy of the secondary object is produced during
the current operation, it relates the current primary object to the new
PLM00071 J
6-37
Chapter 6
copy of the secondary object. This action is available for the save as
operation only.
NoCopy
Does nothing. Objects of the selected type and relation are not copied
forward to the new object during the save as or revise operation.
RelateToLatest
Finds the latest revision of a related object and creates a relation to the
new revision. You can only use this with the Revise operation type.
This action replaces the AutoCopyRel business object constant, which
is now deprecated.
For more information about this constant, see Business object constants
reference.
ReviseAndRelateToLatest
Finds the latest revision of a related object, revises it, and creates the
relation to the new revision. You can only use this with the Revise
operation type.
This action replaces the AutoRevise business object constant, which is
now deprecated.
For more information about this constant, see Business object constants
reference.
Select
Indicates that the object to be copied is to be selected by the client. This
is similar to the CopyAsReference action, but instead of the reference to
original being implied, the end user can select a reference to any object
in the user interface.
Note
SystemCopy
Indicates that the copy is to be performed by the system without any
end user input. This is similar to the CopyAsObject action but without
presenting a dialog box to the user.
i.
Select the Required check box if you want to prevent users of the Teamcenter
rich client from overriding the rule at run time.
j.
Select the Secured check box to prevent the deep copy rule from being
modified or overridden by another template.
k. Select the Copy Properties on Relation check box to specify that persistent
properties on relation objects need to be carried forward when the primary
objects participating in relations are revised or saved as new objects. If it is
not selected, only the mandatory properties are carried forward.
6-38
PLM00071 J
l.
Click Finish.
The rule is created and appears in the table in the Deep Copy Rules editor.
on
PLM00071 J
6-39
Chapter 6
Although deep copy rules defined at a parent business object are inherited by
the children, they are not editable at the child level. The Edit and Remove
buttons are disabled on the Deep Copy Rules tab for the child business
objects.
Deep copy rules are evaluated as follows: If a deep copy rule exists for the business
object, it is applied. Otherwise, the hierarchy is ascended until a rule is located or
the top-level parent is reached.
The following example assumes the existence of a hierarchy in which the
MyDRevision business object is a sub-business object of the MyDocRevision
business object, which in turn is a sub-business object of the DocumentRevision
business object which is a child business object of the ItemRevision class.
Example of inheritance
Deep copy rules are applied to the Revise action of the object classes/business
objects/sub-business objects, as shown in the following table.
6-40
PLM00071 J
Class/business
object/sub-business
object
Copy
option
DocumentRevision
CopyAsObject
RuleA
CopyAsReference
None
NoCopy
RuleB
CopyAsObject
None
CopyAsReference
RuleC
NoCopy
None
CopyAsObject
None
CopyAsReference
None
NoCopy
RuleD
MyDocRevision
MyDRevision
With these rules established, a user performs the following actions and the rules
are applied accordingly:
PLM00071 J
6-41
Chapter 6
Once a rule is defined for a business object, it cannot be duplicated using other
copy options. For example, if a rule is defined to copy forward UGMASTER
datasets attached to a specific source business object by the IMAN_specification
when the Save As operation is performed on the source business object, you
cannot define a rule on the same object business object/operation combination
to use a different copy option.
Prior to Teamcenter 8, some of the deep copy rules applied during Revise and
Save As operations of an ItemRevision business object were hard coded. They
are now exposed in the Foundation template as explicit deep copy rules on the
ItemRevision business object.
When deep copy rules are applied, if the rule specifies the Copy As Object
action and the object to be copied is an ItemRevision object, the action
performed is Copy As Reference.
When you set deep copy rules, they do not have any effect on what
happens to any associated classification objects. When revising, copying,
or using Save As, the behavior for classification objects is set solely by the
ICS_ico_action_after_saveas preference
6-42
PLM00071 J
This change is to ensure that you always perform a deep copy after an ItemRevision
business object is revised or saved.
If any old custom code (prior to Teamcenter 8) invokes the
ITEM_perform_deepcopy ITK methods, the custom code remains
unaffected. This is because the ITEM_perform_deepcopy ITK method first checks
if the object is already revised or saved. If yes, the deep copied objects are returned
without performing deep copy again. If no, deep copy rules are applied.
Therefore, beginning in Teamcenter 8, there is no requirement for customer code
to invoke the ITEM_perform_deepcopy ITK method after a call to any one of
these ITK methods.
Previously, the Save As operation on an Item object carried forward only certain
relations of the associated ItemRevision object. Beginning in Teamcenter 8,
when a Save As operation is performed on an Item object, the old relations of the
associated ItemRevision object are carried forward based on the deep copy rules in
the database. Therefore, the deep copy rules in the database is the deciding factor
for copying relations even during save as operations on an Item object.
As of Teamcenter 8, there is one action that is still hard coded. If there exists a
generic deep copy rule to perform the Copy As Object action for all its related
objects, and if the related other side object happens to be an ItemRevision object,
the system always performs the Copy As Reference action.
checkOtherSideOneToMany
TEMPLATE
Foundation
SIGNATURE
dr
The deep copy rule business object.
target
The item revision on which the Revise or Save As operation is performed.
otherSide
Any ItemRevision object related to the target.
DESCRIPTION
PLM00071 J
6-43
Chapter 6
SECURED
checkOtherSideOneToOne
TEMPLATE
Foundation
SIGNATURE
dr
The deep copy rule business object.
target
The item revision on which the Revise or Save As operation is performed.
6-44
PLM00071 J
otherSide
Any ItemRevision object related to the target.
DESCRIPTION
PLM00071 J
6-45
Chapter 6
SECURED
isOneToOneAndMature
TEMPLATE
Foundation
SIGNATURE
dr
The deep copy rule business object.
target
The item revision on which the Revise or Save As operation is performed.
otherSide
Any ItemRevision object related to the target.
DESCRIPTION
isOtherSideLatestMature
TEMPLATE
Foundation
SIGNATURE
6-46
PLM00071 J
dr
The deep copy rule business object.
target
The item revision on which the Revise or Save As operation is performed.
otherSide
Any item revision object related to the target.
DESCRIPTION
This condition is to be used only in deep copy rule definitions. The condition checks if
the otherSide item revision object related to the target is mature or not.
For example, in the following figure, the target item revision (Part1, Rev A) is
related using the TC_Is_Represented_By relation to the otherSide item revision
(Dsg1, Rev A).
This condition checks if the other side item revision (Dsg1, Rev A) contains a latest
revision that is mature. If yes, it returns true, otherwise, it returns false. In this
example, the condition finds the latest revision Dsg1, Rev B associated with the
Dsg1 design to be mature. Therefore, the condition evaluates to true.
Note
An item revision is considered as mature if its status matches with one of the
status values in the MaturityStatuses attachment for the business object
constant on that item revision type. For example, if the constant attachment
values for MaturityStatuses on the Design Revision business object is
Approved, Released and if the status of the Dsgn1, Rev B in the figure
was set to Approved, this item revision instance is considered mature.
SECURED
isOtherSideReplica
TEMPLATE
Foundation
SIGNATURE
dr
The deep copy rule business object.
target
The item revision on which the Revise or Save As operation is performed.
PLM00071 J
6-47
Chapter 6
otherSide
Any POM_object related to the target.
DESCRIPTION
This condition is to be used only in deep copy rule definitions. The condition checks
the otherSide object related to the target is locally created in the current site
database or is replicated from another sites database.
For example, in the following figure, the target item revision (Item1,Rev A) is
related by the IMAN_specification relation to the otherSide text dataset (Text01).
This condition checks if the text dataset (Text01) is local to the database or was
replicated from another sites database.
SECURED
6-48
PLM00071 J
Alternate ID rules
Add an alternate ID rule
Alternate identifiers store information (such as part numbers and attributes) about
the same part from different perspectives. They allow different types of users to
display an item according to their own rules rather than according to the rules of
the user who created the object. Only Item business objects or its children use
alternate IDs. Alias IDs are similar to alternate IDs. Alias IDs store information
for similar parts.
For more information about alias ID rules, see Add an alias ID rule. For information
about how end users use alternate IDs, see the My Teamcenter Guide.
Before creating an alternate ID rule, you must create Identifier business objects
whose properties hold information such as a suppliers address and cost data. You
also need to create Id Context objects that specify when the alternate ID is used,
such as for a supplier or a department.
For information, see Create an identifier business object and Add an ID context.
1. Right-click the Item business object or one of its children, choose Open, and
click the Alternate ID Rules tab.
2. Click the Add button to the right of the Master Alternate ID Rules table.
The New Alternate ID Rule wizard runs.
3. In the Alternate ID Rule dialog box, enter the following information:
a. The Project box defaults to the already-selected project.
b.
Click the Browse button to the right of the Identifier Context box to choose
the context when the rule is to be applied. To create a new Id Context
option, click the New button.
For more information, see Add an ID context.
c.
Click the Browse button to the right of the Identifier Type box to choose the
Identifier or IdentifierRev business object as the parent type for this rule.
To create a new Identifier business object, click the New button.
For more information, see Create an identifier business object.
Use the Rule box to govern how many alternate parts can be used for the
original one. This is like a cardinality rule that is used for GRM rules.
Leave the Rule box empty if you want to allow more than one identifier
object associated with the identifiable type. However, if you only want to
allow one, then enter a unique string.
For more information about alternate ID cardinality rules, see Alternate ID
rules characteristics.
f.
PLM00071 J
6-49
Chapter 6
g.
Click Next.
The value in the Identifier Type box defaults to the identifier type of the
master alternate ID rule.
c.
The value in the Identifiable Type box defaults to the identifiable type of
the master alternate ID rule.
d. In the Rule box, enter how many alternate parts can be used for the original
one. Leave the Rule box empty if you want to allow more than one identifier
object associated with the identifiable type. However, if you only want to
allow one, then enter a unique string.
e.
f.
Click Finish.
A master and supplemental rule are created.
5. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
6. Deploy your changes to the test server. Choose BMIDEDeploy Template on the
menu bar, or select the project and click the Deploy Template button
the main toolbar.
on
Choose FileNewID.
c.
In the New ID dialog box, choose Create new alternate ID and click Next.
d. Click the arrow in the Select context box to choose the ID context you
defined on the rule, and click the arrow in the Select type box to select the
identifier business object you defined on the rule.
For information about how to use alternate IDs, see the My Teamcenter
Guide.
6-50
PLM00071 J
PLM00071 J
6-51
Chapter 6
Note
When defining rules for alternates, you must have a rule for the item
business object and a rule for the corresponding item revision business
object. You cannot create alternate IDs unless both rules are defined. The
identifier business object for an item revision must be the name of the
identifier business object associated with the item appended with Rev.
All of the combinations listed previously are valid; however, they do not define
cardinality or how many of each identifier can exist for a given instance of an item.
Without a cardinality rule, a PartDesign item and item revision can have as many
alternate IDs in the Production Part or Temporary Part contexts as desired.
To allow items to have more than one part number in the Temporary Part or
Production Part contexts, but to limit item revisions to one alternate in those same
contexts, you can define the following cardinality rule:
Note
These rule combinations allow a PartDesign item to have many part numbers in
production and temporary context, but restricts PartDesign Revision to only one
part number in production and/or temporary context.
The following combinations allow an item revision to have an alternate ID in either
Production Part or Temporary Part context but not in both contexts:
6-52
PLM00071 J
Note
The value OneEngPart is a user-defined key. You can use any string,
such as the values A, to achieve the same results. Once the key value is
not null, you can have only one combination of IDContext/Identifier
Type/Identifiable Type with the same key value that exists for a given
instance of an identifiable.
PLM00071 J
If the Rule box is null for the given combination (ID context rule), the system
allows more than one identifier object of that identifier business object to be
associated with the same identifiable object. So, this is like cardinality N.
If the Rule box has some string defined in it, and this string is unique across
all ID context rules for the given identifier and identifiable business objects, the
system allows only one identifier object of that identifier business object to be
associated with the identifiable object. So, this is like cardinality 1.
If the Rule box has some string defined in it, and this string is shared across some
ID context rules for the given identifier and identifiable business objects, the
6-53
Chapter 6
system allows only one identifier object of one of the identifier business objects to
be associated with the identifiable object. So this is like an OR condition.
Alias ID rules
Add an alias ID rule
Alias identifiers store part numbers and other attribute information for similar
parts. Alias IDs can be associated with many items or item revisions. You can write
an alias ID rule to define the context when an alias ID can be applied to an item.
You can also create alternate IDs to store information about the same part from
different perspectives.
Before creating an alias ID rule, you must create Identifier business objects whose
properties hold information such as a suppliers address and cost data. You also
must create Id Context options that specify when the alias ID is used, such as
for a supplier or a department.
For information about how to use alias IDs, see the My Teamcenter Guide. For an
example of an alias ID rule, see Alias ID rules reference. For more information about
alternate identifiers, see Add an alternate ID rule. For information about identifiers,
see Create an identifier business object and Add an ID context.
1. Choose one of these methods:
On the menu bar, choose BMIDENew Model Element, type AliasId Rule
in the Wizards box, and click Next.
Click the Browse button to the right of the Identifier Context box to select
the context when the rule is to be applied.
Click the New button to create a new Id Context option.
c.
Click the Browse button to the right of the Identifier Type box to select the
Identifier or IdentifierRev business object that holds the ID information
in its properties.
Click the New button to create a new Identifier business object.
For more information, see Create an identifier business object.
Click Finish.
The new rule appears under the AliasId Rules folder.
6-54
PLM00071 J
3. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
on
In the New ID dialog box, choose Create new alias ID and click Next.
c.
Click the arrow in the Select context box to choose the ID context you
defined on the rule, and click the arrow in the Select type box to select the
identifier business object you defined on the rule.
For information about how to use alias IDs, see the My Teamcenter Guide.
Multifield keys
Introduction to multifield keys
Multifield keys are identifiers assigned to each object to ensure their uniqueness in
the database. Administrators use the MultiFieldKey business object constant to
assign the key definitions to different business object types. Administrators can
add multiple properties to define a key.
For more information, see Creating multifield key definitions.
PLM00071 J
6-55
Chapter 6
The multifield key is composed of a domain name and a combination of the objects
properties:
domain{properties}
For example, the default multifield key definition for Item business objects is
Item{item_id}. Because children business object types inherit the key definition
from their parent, they belong to the same domain as the parent business object.
For more information, see Multifield key domains.
You can configure multifield keys that allow end users to create multiple related
items using the same item ID. For example, suppose end users want to refer to a
part and drawing using the same item ID. Prior to Teamcenter 10, you could not do
this because both part and drawing types are children of the item type and are
both considered items. However, now you can do this by setting up multifield key
definitions per domain or object type. For example, in the case of part and drawing,
the administrator could define the unique key for part business objects and their
children as Part{item_id} and for drawing business objects and their children as
Drawing{item_id}. When these definitions are applied, it results in a unique
key identifier for each instance of an object type in the database, even though the
different object types can share the same item ID. (You could also provide a unique
key by adding a property in addition to the item_id property, such as object_type.
However, if you want the object_type property to appear in the item name, you
must use the DisplayName business object constant.)
For more information, see Creating objects with the same item ID.
In the following example, the value for the MultiFieldKey business object constant
is changed from the default setting of the item_id property to also include the
object_type property:
6-56
PLM00071 J
PLM00071 J
6-57
Chapter 6
The Available Properties box displays only the properties that are
available on the business object and are supported for multifield
keys. Multifield keys are supported only for properties with a single
value string and reference type properties. Multivalued properties
are not supported.
5. Click Finish.
The new key definition is displayed.
In the following example, the MultiFieldKey value for the Part business
object has been changed from the default definition of Item{item_id} to
Part{item_id,object_type}. Because all the children of the Part business object
inherit this definition, it is a key domain for all part types.
6-58
PLM00071 J
6. If you add properties to a business object multifield key definition, ensure that
the same properties are added to the creation dialog boxes for the business object
type. Because these properties are used to determine object uniqueness, the end
user must enter values to the properties if they are to contribute the objects
uniqueness. If the value of a property used for a multifield key is empty, that
property cannot contribute to the objects uniqueness identification. You can
make these properties required on the creation dialog boxes, if desired.
For instructions about how to add properties to the creation dialog boxes and
make them required, see Manage business objects for the CreateInput operation.
7. Once the keys are installed, keep in mind that they are not visible to the end user
in the name of the business object. If you want to use some of the properties in
the multifield definition to define how the name of the business object instances
are displayed, configure the DisplayName business object constant.
For more information, see Configure the displayed name of business object
instances.
8. Deploy your custom template to the test server database by using Teamcenter
Environment Manager (TEM).
For more information, see Package extensions into a template.
Caution
9. To verify that the keys are property defined in the system, use the
get_key_definition and get_key_string utilities.
PLM00071 J
6-59
Chapter 6
Before installing the new multifield key definitions to a production server, you
must ensure they do not cause key collisions resulting from identical keys.
Analyze the key definitions by running the mfk_update utility.
For more information, see Analyzing multifield keys.
10. After verifying that the keys work as designed, you can deploy them a production
server by packaging the custom template and installing it using Teamcenter
Environment Manager (TEM).
After deployment, the key is set for this business object type and is inherited by
all its children types, unless a separate key is set on a child type.
Multifield key definitions can only be used if all properties in the definition
are available on the business objects. You can analyze key definitions using
the mfk_update utility.
In the following example, a new key is defined on the Document business object,
creating a new domain. All children of the Document business object inherit the
new key, and therefore belong to the new domain. Custom business objects also
inherit the key from their parents. If you select an existing key for a business object,
the business object becomes a member of the existing keys domain.
In the example, the RequirementSpec business object is moved to the Item domain
because the administrator wanted the item_id property value for requirements
specifications to be unique among all items rather than among all documents.
6-60
PLM00071 J
PLM00071 J
6-61
Chapter 6
Note
Another way you can use the same item ID is to add the object_type
property to the key definition used by all the business objects, for example,
Item{item_id,object_type}. Whereas the domain approach (for example,
creating Drawing{item_id}) forces uniqueness of the item_id value across
the Drawing domain, if instead the object_type property is added at
the Item domain (for example Item{item_id,object_type}), the item_id
property is unique only for each object type. (Keep in mind that if you want
the object_type property to display in the item name, you must use the
DisplayName business object constant.)
Similarly, if you have a situation where you want to allow different parts
from different vendors to use the same item ID, you can add the property
for the vendor code or the CAGE code to the key definition that already
includes the item_id property.
6-62
PLM00071 J
Drawing business object in the New Multi Field Key dialog box
4. Click Finish.
This changes the multifield key definition for Drawing business objects from
Item{item_id} to Drawing{item_id}.
PLM00071 J
6-63
Chapter 6
Caution
7. To verify the behavior, create an item, drawing, and document that all have
the same item ID:
a. In the rich client, choose FileNewItem, select Item from the list, and
click Next.
Type the item ID number and do not click the Assign button.
6-64
PLM00071 J
c.
Click Finish.
d. Repeat the steps for the drawing and document types, making sure to type
the same item ID number for each.
When you are done, you have object instances of different business object
types that each have the same item ID.
To further test the behavior, search for the item ID that is used by multiple
objects. A dialog box appears allowing you to choose the desired object.
PLM00071 J
6-65
Chapter 6
6-66
PLM00071 J
Global constants
o
Fnd0MultiFieldKeyExclusions
Excludes selected business object types from having their multifield keys
definitions changed. The business objects types that already that have the
multifield key defined cannot be added to this exclusion list. This constant
prevents others from setting a multifield key by disabling the Edit button
on the MultiFieldKey business object constant.
Fnd0SecuredMultiFieldKey
Ensures that dependent templates dont change the MultiFieldKey
business object constant on specified business objects. If the administrator of
a dependent template tries to change the MultiFieldKey business object
constant, the administrator cannot because the Edit button is disabled. (The
Edit button is still enabled on the current template.)
ShowIdenticalItemIdAndName
Ensures that when instances of Item business objects have identical item
ID and name values, the name value is dropped (when set to the default
value of false). This is actually related to the objects display name and
not its multifield key.
The default display name for business objects is item_id+object_name.
If the values of these two properties are identical, the
ShowIdenticalItemIDAndName business object constant drops
object_name from the displayed string (when set to its default of false). If
you want to allow identical item ID and name values to be displayed for an
item instance, set the value to true.
For more information about managing the display name of an object, see
Configure the displayed name of business object instances.
Preferences
o
TC_MFK_DEFAULT_DOMAIN
Defines the domain used by find operations when the multifield key unique
identifier is not used.
For more information, see the Preferences and Environment Variables
Reference.
PLM00071 J
mfk_update
6-67
Chapter 6
Updates multifield key definitions in the key table in the database. You can
use this utility to indicate whether a multifield key is deployable or not (that
is, unique across objects in the domain, all properties found and of the right
type, and so on) or to rebuild all multifield key values in the system, thereby
guaranteeing correctness.
Normally, this utility is run by the system when upgrading so that business
object instances on the server are migrated to the new multifield key definitions.
As an administrator, you can also run this utility manually to evaluate proposed
multifield key definitions in a template before installing the template to the
production server. This helps you avoid any potential key collisions during
installation. You can also use this utility to analyze the multifield key definitions
on the server and if there are corrupt or inconsistent key definitions, you can
also use this utility to rebuild the key table on the database.
For example, to perform an analysis of proposed keys in a custom template:
mfk_update -u=infodba -p=infodba -g=dba
-check -file=C:\delta.xml -log=C:\mfk_check_template.log
To rebuild the key table for all multifield key definitions in the database:
mfk_update -u=infodba -p=infodba -g=dba -rebuild -log=C:\mfk_rebuild.log
Note
get_key_definition
Gets the multifield key definition for a business object type.
At a command prompt, type:
get_key_definition -class=business-object-name
results in:
Key Definition for T5_MyItem is T5_MyItem{item_id,object_type}
get_key_string
Gets the multifield key value of an item instance as a string containing property
names and values. This utility can be run on the Item business object or any of
its children. Use the -item or -key argument:
o
-item
Finds the key values for the item. Type the command using the following
format:
6-68
PLM00071 J
get_key_string -item=item-ID
results in:
Item Type is Item, Key String is item_id=000016
If other properties are added to the multifield key definition for an item
business object, they are displayed separated by commas. For example, if
the item_id and object_type properties comprise the multifield key for a
custom item business object named T5_MyItem, the output of the command
is:
Item Type is T5_MyItem, Key String is item_id=000016,object_type=T5_MyItem
-key
Finds the business object type of the item. Type the command using the
following format:
get_key_string -key=property=property-value
results in:
Item Type is Item, Key String is item_id=000016
PLM00071 J
6-69
Chapter 6
Default DisplayName business object constant for the Item business object
By default, the constant is set to $item_id+"-"+$object_name for Item business
objects. This displays the item name in the user interface.
6-70
PLM00071 J
2. To change the constant, select the DisplayName constant in the Business Object
Constants table and click the Edit button to the right of the table.
The Modify Business Object Constant dialog box is displayed.
PLM00071 J
6-71
Chapter 6
Modified DisplayName business object constant for the Item business object
5. Deploy your custom template to the database.
To deploy to a production server, package the template and install it using
Teamcenter Environment Manager (TEM).
After deployment, the value set for the displayed name is used for this business
object type and is inherited by all children types, unless a separate displayed
name is set on a child type.
Note
The display name of the object is different than the key. However, you
can use the same properties for the display name that you use for the
key definition.
6-72
PLM00071 J
Utilities
Arguments containing -*key* , such as -key, -itemkey, and -keyFileName,
are used in some utilities. These key arguments specify the multifield key ID
of the item to act on, and provide an alternative to the -item argument as a
method to specify items.
However, to use the -*key* arguments, you must know the multifield key ID to
enter. To obtain the key ID for an item, use the get_key_string utility.
For more information about this utility, see the Utilities Reference.
Classification
You cannot use the graphics builder feature in Classification if multifield key
support is enabled.
For more information about the graphics builder, see the Classification
Administration Guide.
Visualization
Most visualization features do not require any special configuration to work with
multifield key data, with the following exceptions:
o
ClearanceDB
The managed product name must include the __PLM_ITEMREV_UID
value for the item revision, and the clearance.cfgproduct file must include
the multifield key properties for the item.
For more information about using ClearanceDB with Teamcenter multifield
key data, see the ClearanceDB Administration Guide.
PLM00071 J
6-73
Chapter 6
MDS stamping
The MetaDataStamp_template preference must specify the values of
the multifield key properties associated with the item containing the
MDS_default_styles_template dataset.
For more information about configuring MDS stamping to work with
multifield key data, see the Preferences and Environment Variables Reference.
Conditions
Add a condition
Conditions are conditional statements that resolve to true or false based on the
evaluation of an expression. Conditions can be used to evaluate objects or user
sessions to deliver only certain results. Conditions are never used by themselves but
are only used by other objects such as rules, LOVs, or IRDCs.
The condition engine utilizes the CLIPS (C Language Integrated Production System)
external rules engine to process condition data. Because of the CLIPS engine rules,
condition expressions and the values for the business object properties must be
specified using the standard US7ASCII character set.
6-74
PLM00071 J
When you write a condition, you first choose the business objects against which
you want to run the condition (the signature) and then you write the statement to
evaluate the business objects (the expression).
For an overview of how conditions are structured, see Conditions overview.
1. Choose one of these methods:
In the Name box, type the name you want to assign to the condition in the
database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
PLM00071 J
6-75
Chapter 6
e.
f.
Select the Business Object input parameter if you want the condition
to be applied to a business object. You can also select this option if you
want to use only the UserSession business object as a parameter.
Select the Business Object and User Session input parameter if you
want the condition to be applied to a business object in the context of a
users work session (via the UserSession object).
Click the Browse button to the right of the Signature box. What displays
depends on the kind of input parameters what you selected earlier:
Custom
Click the Browse button to the right of the Signature box.
The Custom Parameters wizard runs. Use this wizard to define a
condition with two parameters where one of the parameters is not a
UserSession business object, or to define a condition with three or more
parameters.
Perform the following steps in the Custom Parameters dialog box:
A. Click the Add button to the right of the Parameters table. The New
Condition Parameter wizard runs.
B. Click Browse to the right of the Parameter type box and choose the
business object to write the condition for.
C. In the Parameter Name box, type the name of the parameter to
assign to the business object.
You can type anything you want for the parameter name, as long
as it does not have spaces. Earlier you saw how by default the o
parameter was chosen by the system to represent a business object,
6-76
PLM00071 J
Example
In the Expression box, type the condition statement you want to evaluate
using the business objects defined in the signature. You can write
expressions that contain strings, logical statements, dates, tags, and even
other conditions.
For more information about expressions, see Condition expressions.
Tip
PLM00071 J
6-77
Chapter 6
Example
4. Now that you have created the condition, it can be used by other objects.
Conditions are never used by themselves, but are only used by other objects.
There are many kinds of objects that can use conditions, such as business object
display rules, deep copy rules, IRDCs, LOVs, and naming rules, among others.
Search conditions
1. Right-click the Conditions folder and choose Find Conditions.
The Find Conditions wizard runs.
2. Perform the following steps in the find box:
a. Select the following check boxes to filter the search criteria:
Name
Searches the condition names.
Description
Searches the condition descriptions.
Input Parameters
Searches the input parameters on the condition. The input parameters
are the business objects and parameter names that serve as input to
the condition.
6-78
PLM00071 J
Expression
Searches the condition expressions.
For more information about expressions, see Condition expressions.
b.
In the Filter Text box, type the characters to search for. Use an asterisk *
for wildcard searching.
The conditions that match the filtering appear in the table.
Conditions overview
Conditions are conditional statements that resolve to true or false based on the
evaluation of an expression. A condition resolves to TRUE if the statement is
valid or FALSE if it is not. Rules use conditions to describe the types of objects to
which the rules apply.
When a rule that uses a condition is run against an object, it is divided into two
parts, an IF clause and a THEN clause. The condition (IF clause) examines the
object with Boolean logic, and the rule (THEN clause) describes an action or access
permission on the object.
There are many kinds of rules that can run conditions, such as deep copy rules.
For example, you can create a deep copy rule that states if (condition) a document
business object has a specification relationship to an item revision, then (rule) that
object is copied forward with the revised item revision.
The syntax for a condition is as follows:
condition-name(argument-list) :=
expression
In this syntax, everything to the left of the := symbol is the signature, and everything
to the right is the actual condition. (The := symbol does not appear on the Condition
dialog box when you create a condition.) Replace condition-name with the name of
the condition, replace argument-list with the list of objects to be supplied by the
calling program, and replace expression with the condition statement.
Following is an example condition:
MyCondition( ItemRevision o) :=
o.color = red
In the signature (to the left of the := symbol), MyCondition is the name of the
condition and ItemRevision is the type of business object to run against. In the
expression (to the right of the := symbol), o.color is the color attribute on the
business object, and red is the condition to be met. This condition says to examine
the color attribute on all of the ItemRevision business objects and find those
that have the red value.
You have a great deal of flexibility when creating the expression of a condition.
You can write expressions that contain strings, logical statements, dates, tags, and
even other conditions.
For instructions about how to create a condition, see Add a condition. For more
information about condition expressions, see Condition expressions and Condition
examples.
PLM00071 J
6-79
Chapter 6
Condition examples
Examples provide a good way to understand how to structure conditions. The
examples below are for discussion purposes only.
For instructions about how to create conditions, see Add a condition.
Primitives
o
String
isStringCondition1( Item o ) := Expression: "EqualString" =
"EqualString"
isStringCondition2( Item o ) := "UnequalString1" != "UnequalString2"
Note
This condition evaluates to TRUE for all users who have roles
like Designer or Design Manager.
isCondition2( UserSession o ) := o.user_id = "?ary"
This condition evaluates to TRUE for all users who have user
IDs like Mary or Gary.
o
Character
isCharCondition1(
isCharCondition2(
isCharCondition3(
isCharCondition4(
isCharCondition5(
isCharCondition6(
Item
Item
Item
Item
Item
Item
)
)
)
)
)
)
:=
:=
:=
:=
:=
:=
a
a
a
a
b
a
= a
!= b
< b
<= a
> a
>= a
o
o
o
o
o
o
)
)
)
)
)
)
:=
:=
:=
:=
:=
:=
Item
Item
Item
Item
Item
Item
o
o
o
o
o
o
)
)
)
)
)
)
1
0
0
0
1
1
= 1
!= 1
< 1
<= 1
> 0
>= 0
Float
isFloatCondition1(
isFloatCondition2(
isFloatCondition3(
isFloatCondition4(
isFloatCondition5(
isFloatCondition6(
6-80
o
o
o
o
o
o
Integer
isIntCondition1(
isIntCondition2(
isIntCondition3(
isIntCondition4(
isIntCondition5(
isIntCondition6(
Item
Item
Item
Item
Item
Item
:=
:=
:=
:=
:=
:=
1.5
0.5
0.5
0.5
1.5
1.5
= 1.5
!= 1.5
< 1.5
<= 1.5
> 0.5
>= 0.5
PLM00071 J
Boolean
isBoolCondition1( Item o ) := true
isBoolCondition2( Item o ) := false
Date
isDateCondition1(
isDateCondition2(
isDateCondition3(
isDateCondition4(
isDateCondition5(
isDateCondition6(
Item
Item
Item
Item
Item
Item
o
o
o
o
o
o
)
)
)
)
)
)
:=
:=
:=
:=
:=
:=
o.creation_date
o.creation_date
o.creation_date
o.creation_date
o.creation_date
o.creation_date
= "01-Jan-2009 00:00"
!= "29-Feb-2008 23:59"
< "01-Jan-2009 00:00"
<= "01-Jan-2009 00:00"
> "29-Feb-2008 23:59"
>= "29-Feb-2008 23:59"
Date element
Description
dd
MMM
yyyy
HH
mm
Properties on any business object when there are spaces in the property name
isCondition4( BOMLine bl1, BOMLine bl2 ) := bl1.UG NAME = bl2.UG
NAME
Properties on UserSession
isPropCondition5( MyItem o, UserSession u ) := o.owning_user = u.user
isPropCondition6( MyItem o, UserSession u ) := o.owning_group =
u.group
isPropCondition7( MyItem o, UserSession u ) := o.owning_project =
u.project
isPropCondition8( MyItem o, UserSession u ) := u.user_id = "infodba"
isPropCondition9( MyItem o, UserSession u ) := u.group_name =
"Engineering"
isPropCondition10( MyItem o, UserSession u ) := u.project_name =
"Concept"
isPropCondition11( MyItem o, UserSession u ) := u.role_name = "DBA"
PLM00071 J
6-81
Chapter 6
Nested conditions
isNestCondition1( DeepCopyRule dr, ItemRevision target, ItemRevision
otherside ) :=
( Condition::checkOtherSideOneToOne( dr, target,otherside ) = true ) AND
( Condition::isOtherSideLatestMature( dr, target, otherside ) = true )
Note
INLIST
o
String functions
o
ToUpper
isToUpperCondition1( Item o, UserSession u ) := Function::ToUpper(
u.role_name ) = "DBA"
Note
ToLower
isToLowerCondition1( Item o, UserSession u ) := Function::ToLower(
u.user_id ) = "mgr"
Note
Operators
Operators include !, !=, <, <=, =, >, >=, AND, NOT, and OR.
For an example that uses operators, see the
Fnd0SMIsCompletePercentInProgress condition:
Fnd0SMIsCompletePercentInProgress (ScheduleTask task, Schedule sched,
UserSession session) =:
task.complete_percent<100 and ( (task.complete_percent> 0 and
task.fnd0state="not_started") or (task.complete_percent>=
0 and task.fnd0state="complete") ) and (task.task_type=0 or task.task_type=1
6-82
PLM00071 J
Naming rules
For examples, see Attach naming rules with conditions and Using conditions
with naming rules.
IRDCs
For an example, see the Fnd0DMTemplateCondition condition:
Fnd0DMTemplateCondition (DMTemplateRevision 0) := o.ApplicationName="RM"
Condition system
Condition expressions
Expressions are of two kinds, unary and binary. Unary expressions evaluate to
a logical value, true or false. Binary expressions compare two values, and are
comprised of a left expression (left operand) and a right expression (right operand),
with an operator in the middle (such as =).
Expressions follow this syntax:
PLM00071 J
6-83
Chapter 6
Condition calls
You can call conditions from within conditions. You must supply the name of the
condition to call and the object arguments to pass. Like other calls, condition calls
have the following syntax:
condition-name(argument-list) :=
expression
Replace condition-name with the name of the condition you are creating, replace
argument-list with the list of objects to be supplied by the calling program, and
replace expression with the condition statement that calls the condition.
In the following example, the isCondition1 condition calls the
checkOtherSideOneToOne and isOtherSideLatestMature conditions:
isCondition1( DeepCopyRule dr, ItemRevision target, ItemRevision otherside ) :=
( Condition::checkOtherSideOneToOne( dr, target,otherside ) = true ) AND
( Condition::isOtherSideLatestMature( dr, target, otherside ) = true )
Condition operators
Binary conditions are constructed of expressions on the left side of the condition
(left operand) compared to expressions on the right side (right operand). Binary
conditions follow this syntax:
expression-value comparison-operator expression-value
The following Boolean operators are used to compare the left operand to the right
operand.
6-84
Operator
Description
!=
Not equal to
<
Less than
<=
Equal to
>
Greater than
>=
AND
NOT
OR
PLM00071 J
Note
Both the left operand and the right operand are string properties. When you check
the table, you see a left operand string property can use the = or != operators when
the right operand is a string property. So the expression is valid.
When you create a condition, it is validated for syntax at creation time. The following
table shows valid operand and operator combinations.
For instructions about how to create conditions, see Add a condition.
PLM00071 J
Left operand
Valid operators
String property
String operation
String literal
=, !=
String property
String operation
String literal
ToUpper / ToLower
String literal
Date attribute
Date operation
Numerical attribute
Numerical operation
Numerical literal
Character literal
Character property
Character operation
Numerical attribute
Numerical operation
Numerical literal
Character literal
Character property
Character operation
Logical attribute
Logical operation
Condition
INLIST
Logical literal (TRUE,
true, FALSE, or false)
AND, OR, =, !=
Logical attribute
Logical operation
Logical literal
Condition
INLIST
Date attribute
Date operation
Date attribute
Date operation
String literal
Tag property
Tag operation
=, !=
Tag property
Tag operation
NULL value
NULL value
=, !=
Tag property
Tag operation
ToUpper / ToLower
=, !=
String property
String operation
String literal
6-85
Chapter 6
Left operand
Valid operators
Stand-alone
Logical attribute
Logical operation
Condition
INLIST
Returns an int
Has exactly one output that is the last parameter in the operation
Does not take vectors, maps, or any template data type as parameters
6-86
Extension rules
LOV attachments
LOV values
PLM00071 J
Naming rules
Revision naming rules
Sub-LOVs
Business object display rules
The valid condition signature is:
condition-name(UserSession)
IRDC
The valid condition signatures are:
condition-name(ItemRevision)
condition-name(ItemRevision, UserSession)
PLM00071 J
6-87
Chapter 6
-log=dbextract_model.log
b.
c.
If you find the condition exists in the extracted model XML file and condition
parameters and condition expression are correct, proceed to the next
troubleshooting step. Otherwise, investigate why the condition did not get
deployed; perhaps the deployment failed and the failure was ignored and so
the condition did not get deployed to the database.
c.
Right-click the CLIPS Rules dataset instance and choose Named References.
d. Select the CLIPS_text named reference and click the Download button to
export it.
If you are unable to export the CLIPS_text named reference, check if FMS
and volumes are set up correctly. These have to be set up correctly for the
CLIPS rules file to get generated and uploaded as named references. Once
you fix FMS and volume related issues, try exporting the CLIPS_text named
reference again.
e.
Open the exported CLIPS rules file (rules.clp) and search for the condition.
If you find the condition exists in the CLIPS rules file and condition
parameters and condition expression seem correct, then the problem could
be with the evaluation code. Otherwise, try regenerating the CLIPS rules
file manually by running the bmide_setupknowledgebase utility to see if
that resolves the issue.
bmide_setupknowledgebase
-u=user-name
-p=password -g=group
-regen=true
-log=bmide_setupknowledgebase.log
CE_evaluate_condition
Evaluates the condition using the specified condition tag and condition
parameters.
extern CE_API int CE_evaluate_condition(
const tag_t condition_tag,
const int
parm_count,
const tag_t *parm_tags,
logical
*result
6-88
/**<
/**<
/**<
/**<
(I)
(I)
(I)
(O)
*/
*/
*/
*/
PLM00071 J
);
For example:
// .... some code .... //
ifail = CE_evaluate_condition( condition_tag,
parmCount,
parmArray,
&local_result );
// .... some code .... //
Always pass in the NULLTAG value for the UserSession object parameter. The
condition engine code automatically retrieves the UserSessionobject.
The value of the tag of all objects represented in the condition signature (with
the exception of the UserSession object for which you pass in the NULLTAG
parameter) must be provided in the order they are defined in the condition
signature. For example, given an ExampleCondition(Item o, ItemRevision
ir, UserSession u) condition signature, provide the actual tag of an Item object
in the first parameter, the actual tag of an ItemRevision object in the second
parameter, and NULLTAG for the third parameter. The parm_count number
is three, and the parameters are loaded into the array of tags in that order.
The CE_evaluate_condition API does not invoke the rules engine if the
condition name is isTrue or isFalse, so there is no need for callers to retrieve
the condition name using the condition tag to check if the condition name is
isTrue or isFalse.
CE_find_condition
Returns the condition tag for the specified condition name attribute value.
extern CE_API int CE_find_condition(
const char
*condition_name,
tag_t
*condition_tag
);
/**< (I)
/**< (O)
*/
*/
CE_ask_condition
Returns the condition name attribute value for the specified condition tag.
extern CE_API int CE_ask_condition(
const tag_t condition_tag,
char
**condition_name
);
/**< (I) */
/**< (OF) */
PLM00071 J
6-89
Chapter 6
{
ConditionInput[] inputs = new ConditionInput[2];
// true condition
ConditionInput conditionInput1 = new ConditionInput();
conditionInput1.conditionName = "isTrue";
inputs[0] = conditionInput1;
// false condition
ConditionInput conditionInput2 = new ConditionInput();
conditionInput2.conditionName = "isFalse";
inputs[1] = conditionInput2;
// evaluate conditions
response = conditionEngineService.evaluateConditions( inputs );
// process results
assertEquals( response.outputs[0].exitCode, 0 );
assertEquals( response.outputs[0].result, true );
assertEquals(
assertEquals(
}
catch ( Exception
{
assertNull( e
response.outputs[1].exitCode, 0 );
response.outputs[1].result, false );
e )
);
Application extensions
Introduction to application extensions
Application extensions allow for the configuration of applications using a decision
table. This extension point defines the table and the inputs and outputs that
customers can configure against it.
Application extensions can be used to configure business logic on the server, a
Teamcenter rich client application (such as My Teamcenter), a Teamcenter thin
client, or any application. You can use application extensions for anything that calls
an input and output, from user interface changes (icons, colors, and so on) to actions.
Application extensions use the rules based framework (RBF).
Adding an application extension can be a multi-step process. First you must add
the application extension point. Next, you can add a rule that governs when the
extension point is applied. Finally, you must ensure that you have the API in the
code that calls the extension point.
The extension point ID and input arguments are passed in to the Teamcenter rich
client or thin client application. Therefore, you must work with an application
developer to ensure that the ID and arguments have the proper format to pass in
to the application.
Caution
Application extension points are like a contract. Once they are defined,
others can configure application extension rules on them. Do not modify
or delete application extension points after they are created, because
they may have been deployed, or application extension rules may have
been configured against them.
6-90
PLM00071 J
In the ID box, type the ID you want to assign to the extension point. The ID
must be all lowercase and have no spaces. This ID is used by the extension
rule, and is also passed in to the Teamcenter rich client application.
For convenience, you may want to include the namespace where the
application extension point is used.
c.
In the Name box, enter the name you want to assign to the new application
extension point.
d. The Type box defaults to DecisionTable. The decision table lists the inputs
and outputs of the extension point.
e.
f.
Click Next.
Inputs and Outputs tables appear.
Click Browse to the right of the Type Name box to select a standard data
type, either Boolean, Date, Double, Float, Integer, or String.
c.
If you previously selected a primitive, in the Column Name box, type the
name you want for the input column in the extension rule decision table.
This column name appears when you create the extension rule for this point.
For more information, see Add an application extension rule.
PLM00071 J
6-91
Chapter 6
e.
If you previously selected a primitive, and you want to use an LOV for the
application extension point, click the Browse button to the right the LOV
Name box.
f.
Click Finish.
The input appears on the Inputs table.
Click the Browse button to the right of the Type Name box to select a type
(string, float, date, and so on). Enter an asterisk (*) in the search dialog to
see the available types.
c.
In the Column Name box, type the name you want for the output column
in the extension rule decision table. This column name appears when you
create the extension rule for this point.
For more information, see Add an application extension rule.
d. If you want to use an LOV for the extension point, click the Browse button to
the right of the LOV Name box
e.
Click Finish.
The output appears in the Outputs table.
6. Continue adding inputs and outputs as desired by clicking the Add button to the
right of the Inputs and Outputs tables.
7. After you create inputs and outputs, click Finish.
The application extension point is created and appears in the Application
Extension Points folder.
8. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
If you want to create a rule that defines when the application extension point is used,
you can create an application extension rule.
For more information, see Add an application extension rule.
6-92
PLM00071 J
In the Name box, enter the name you want to assign to the new rule.
c.
d. Click Next.
A decision table and a business contexts list appear.
5. The dialog box is different depending on whether you chose a primitive or a
business object when you created the extension point. If you chose a primitive
for the input on the extension point, proceed to step 6.
If you previously selected a business object for the extension point, a Config
Inputs button appears to the right of the Decision Table. Click the Config
Inputs button.
The Select Input Column Names wizard runs.
Perform the following steps on the Input Column Names dialog box:
a. Click the Add button.
The Business Object Input Details dialog box appears.
b.
Click the Browse button to the right of the Property Name box. Select
a property to use for input.
c.
The Column Name box defaults to the property name. Change the name
if you want.
d. Click the Browse button to the right of the LOV Name box if you want to
use an LOV for the input. The LOV type must match the property type. For
example, if the property is a string type, the LOV must also be a string type.
PLM00071 J
e.
f.
6-93
Chapter 6
g.
6. The decision table displays the input and output column names. For primitives
(string, date, and so on), these are created when you made the extension point.
For business objects, these are created when you selected the properties on the
rule.
Click the Add button to the right of the Decision Table.
Perform the following steps on the Rules Detail dialog box:
a. In the Inputs boxes, type the inputs for the point.
b.
c.
Click Finish.
7. If you want to define the user group or roles for whom the rule applies, click Add
button to the right of the BusinessContexts pane.
For information about how to create a business context, see Add a business
context.
8. After you create the rule, click Finish.
The application extension rule is created and appears below the application
extension point in the Application Extension Points folder.
9. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
10. Deploy your changes to the server. Choose BMIDEDeploy Template on the
menu bar, or select the project and click the Deploy Template button
the main toolbar.
on
6-94
PLM00071 J
For information about application extension rules, see Add an application extension
rule.
1. Choose one of these methods:
In the Name box, type the name you want to assign to the business context
in the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
d. Click the Add button to the right of the Accessor table to choose a group
and role for the business context.
The Teamcenter Repository Connection wizard prompts you to log on to a
server to look up its available groups and roles. Select the group and role
from the Accessor Selection dialog box.
For more information about setting up a server profile for the Teamcenter
Repository Connection wizard, see Add a server connection profile.
e.
Click Finish.
The new business context appears under the Business Contexts folder.
3. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
Now that you have created the business context, it is available for use by other
rules. Once the business context is applied to a rule, that rule can only be invoked
for the user groups identified in the business context. Business contexts can be set
for application extension rules.
For information about application extension rules, see Add an application extension
rule.
PLM00071 J
6-95
Chapter 6
SOA API
The services-oriented architecture (SOA) API evaluates and executes application
extension rules contained in the specified application extension point on the given
input name-value pairs, and returns the result of the execution in the output
name-value pairs. The executeRbfRules operation is used for this processing.
For more information about SOA, see the Services Guide.
ITK API
The RBF_execute Integration Toolkit (ITK) API is called to evaluate input
supplied against the contents of the knowledge base using the rules engine for
a specific application extension point (AEP) definition. The output results are
provided based on that same AEP definition for the calling routine to continue to
process. It is the responsibility of the calling routine to decide what processing
occurs based on the output received.
6-96
PLM00071 J
RBF_execute
This set of APIs can be used by an external developer to interact with the rules
engine. The declarations can be found in the rbf.h include file.
CONSTANT
DEFINITIONS
#define
#define
#define
#define
#define
#define
#define
RBF_VALUE_DATATYPE_STRING
RBF_VALUE_DATATYPE_BOOLEAN
RBF_VALUE_DATATYPE_INTEGER
RBF_VALUE_DATATYPE_DOUBLE
RBF_VALUE_DATATYPE_FLOAT
RBF_VALUE_DATATYPE_DATE
RBF_VALUE_DATATYPE_TAG
STRING;
BOOLEAN;
INTEGER;
DOUBLE;
FLOAT;
DATE;
TAG;
Use these constant values as the dataType value in the following RBF_value
structure.
DATA
STRUCTURES
struct RBF_value
{
char
*dataType;
char
*stringValue;
logical
booleanValue;
int
integerValue;
double
doubleValue;
float
floatValue;
date_t
dateValue;
tag_t
tagValue;
RBF_value()
{
dataType
= 0;
stringValue
= 0;
booleanValue = false;
integerValue = 0;
doubleValue
= 0;
floatValue
= 0;
dateValue
= NULLDATE;
tagValue
= NULLTAG;
}
};
struct RBF_name_value
{
char
*name;
RBF_value value;
};
These data structures are used to pass input into and receive output from the
RBF_execute ITK API call. There are helper ITK APIs to help create, populate,
and free the array of structures used as both input and output to the RBF_execute
ITK API:
RBF_build_name_value_pairs(
int
RBF_build_name_value_pairs(
const char
*nvp_name,
const char
*nvp_data_type,
const char
*nvp_value,
int
*count,
RBF_name_value
**values )
PLM00071 J
/*
/*
/*
/*
/*
Input */
Input */
Input */
I/O */
I/O (RBF_free_name_value) */
6-97
Chapter 6
This ITK API builds the array of name/value pair structures for input into the
RBF_execute ITK API. If the values parameter is NULL, then the count
and values are initialized with a new parameter. If the values parameter is
not NULL (already populated), then the count is incremented and values are
reallocated and a new parameter added. Call this ITK API (starting with a
NULL values parameter) for as many times as there are inputs defined for
the application extension point ID that is going to be used in the call to the
RBF_execute ITK API call.
Note that the input nvp_value is always a character string. This ITK
API converts that character string to the appropriate data type (based on
the input nvp_data_type value) for storage into the appropriate value
field in the RBF_value structure. For example, if the nvp_data_type is
RBF_VALUE_DATATYPE_TAG, then the input nvp_value should be a tag
string.
RBF_free_name_value
int
RBF_free_name_value(
int
*count,
RBF_name_value **values )
/* Input */
/* I/O */
This ITK API frees the space allocated for an array of name/value pair structures.
Call this ITK API for both the input that was created for and the output that
was returned from the RBF_execute ITK API call.
SIGNATURE
int
RBF_execute(
const char
*id,
int
in_count,
RBF_name_value
*in_values,
int
*result_count,
RBF_name_value
**result_values )
/* Input */
/* Input */
/* Input */
/* Output */
/* Output (RBF_free_name_value) */
This API first queries for the application extension point with the given ID. If
one is found, the input names are validated to make sure they align with what
the application extension point expects. The input (names and values) are then
presented to the rules engine in a format understandable by the rules engine. The
output resulted from any matches found by the rules engine are returned as an array
of name-value pairs that are ready to be used by the client.
Input to this service includes an application extension point ID and a count/array of
name-value pairs.
Output from this service is a count/array of name-value pairs.
EXAMPLE
int
{
int inCount = 0;
int ifail = ITK_ok;
int outCount = 0;
RBF_name_value *input_values = 0;
RBF_name_value *output_values = 0;
/* Build the first name/value pair input for the query
to the knowledge base */
ifail = RBF_build_name_value_pairs( AEP-name1,
RBF_VALUE_DATATYPE_STRING,
inValue1,
6-98
PLM00071 J
&inCount,
&input_values );
/* Build the second name/value pair input for the query
to the knowledge base */
if ( ifail == ITK_ok )
{
ifail = RBF_build_name_value_pairs( AEP-name2,
RBF_VALUE_DATATYPE_INTEGER,
inValue2,
&inCount,
&input_values );
}
/* Execute the query against the knowledge base */
if ( ifail == ITK_ok )
{
ifail = RBF_execute( AEP-ID,
inCount,
input_values,
&outCount,
&output_values );
}
/* Verify expected results for inValue(s) */
if ( ifail == ITK_ok )
{
/*** Do whatever you need to with the results
found in outCount and output_values ***/
}
/* Free allocated storage */
RBF_free_name_value( inCount,
&input_values );
RBF_free_name_value( outCount,
&output_values );
return( ifail );
/* End of exampleTest */
In the example, replace AEP-name-1, AEP-name-2, and AEP-ID with values from
the application extension point.
PLM00071 J
6-99
Chapter 6
executeRbfRules
Provides the capability to evaluate and execute application extension rules on the
server from a Java client. This operation tells the rules engine to apply the set of
application extension rules that belong to the specified application extension point
on the specified input name-value pairs and returns the result of the execution in
the output name-value pairs.
DATA
STRUCTURES
struct RbfNameValue
{
std::string name;
RbfValue value;
};
* name: The "name" is a "string" that identifies the input or output column
* on the Application Extension Rule.
* value: The "value" is specified using an "RbfValue" struct.
struct RbfValue
{
std::string dataType;
std::string stringValue;
bool booleanValue;
int integerValue;
double doubleValue;
float floatValue;
Date dateValue;
Tag tagValue;
};
* dataType: indicates the type of data that the struct is holding for the
* specified input or output column on the Application Extension Rule.
* It will will have one of the following values * "STRING", "BOOLEAN", "INTEGER", "DOUBLE", "FLOAT", "DATE", "TAG".
* value: the value for the specified input or output column on the
* Application Extension Rule.
struct ExecuteRbfRulesResponse
{
std::vector < RbfNameValue > outputs;
Teamcenter::Soa::Server::ServiceData serviceData;
};
* outputs: Outputs are specified as name-value pairs using an "RbfNameValue" struct.
* serviceData: A "ServiceData" struct containing the status of the operation.
SIGNATURE
ExecuteRbfRulesResponse executeRbfRules( const std::string id,
const std::vector < RbfNameValue > &inputs );
DESCRIPTION
The id value is unique application extension point ID. The inputs value is specified
as name-value pairs using an RbfNameValue structure.
6-100
PLM00071 J
OUTPUT
PLM00071 J
6-101
Chapter
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
7-2
7-2
7-2
7-2
7-3
7-4
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
7-8
7-8
7-9
7-10
7-11
7-11
PLM00071 J
Chapter
PLM00071 J
7-1
Chapter 7
Setting the displayed text and language in the Business Modeler IDE
For more information about translating user interface text into other languages, see
the Localization Guide.
For complete directions about how to create a template project, see Create a
Business Modeler IDE template project. For more information about data model
display names, see Localization process in the Business Modeler IDE.
7-2
PLM00071 J
Setting the displayed text and language in the Business Modeler IDE
When you click the Localization button in the Teamcenter client user
interface, the resulting Language Translations dialog box displays the
master locale setting in the Master Locale box.
For more information about the Localization button, see Add the Localization
button to properties.
cs_CZ
Czech as spoken in the Czech Republic
de_DE
German as spoken in Germany
en_US
English as spoken in the United States
es_ES
Spanish as spoken in Spain
fr_FR
French as spoken in France
it_IT
Italian as spoken in Italy
ja_JP
Japanese as spoken in Japan
ko_KR
Korean as spoken in Korea
pl_PL
Polish as spoken in Poland.
PLM00071 J
7-3
Chapter 7
Setting the displayed text and language in the Business Modeler IDE
pt_BR
Portuguese as spoken in Brazil.
ru_RU
Russian as spoken in Russia
zh_CN
Chinese as spoken in China
zh_TW
Chinese as spoken in Taiwan
5. Click Finish.
Add a locale
If the language you want to use is not on the list of available locales offered
by Teamcenter, you can add a new locale. For example, if you want to provide
translations in Swedish, you can add the sv_SE locale to your template and to the
server database.
1. Add the new locale to your template.
a. Open the Project Files\extensions folders, right-click the lang folder, and
choose OrganizeAdd localization files.
The Add Localization File dialog box is displayed.
b.
c.
Select the new locale you want to use. For example, if you want to use the
Swedish locale, select sv_SE - Swedish (Sweden).
d. Click Finish.
A message is displayed stating that Teamcenter does not support the locale
by default and that you must add support for the new locale to the server.
A new project_template_language_location.xml file is created in the Project
Files\extensions\lang folder. To see the new file, right-click the view and
choose Refresh.
The new locale is added to the list of available locales in the template, and is
also added in the Fnd0SelectedLocales global constant. To see the new
locale in the constant, choose BMIDEEditorsGlobal Constants Editor.
e.
7-4
PLM00071 J
Setting the displayed text and language in the Business Modeler IDE
B. Determine the encoding that must be used for the new locale.
For the example of Swedish, the textsrv_text.xml file makes it easier
to determine the encoding because it contains comments that show the
encodings needed for Swedish and some other languages. To see the
comments, search for the word Swedish in the file. The comments show
that the following encodings must be used for Swedish:
ISO8859_1
ISO8859_4
ISO8859_15
NT_1254
UTF-8
Note
To determine the encodings to use for your new locale, consult the
following tables.
Encodings for Oracle databases
PLM00071 J
Encoding
ASCII
us7ascii
BIG5
zht16big5
BIG5
zht16mswin950
EUC
ja16euc
GB2312
zhs16cgb231280
GB2312
zhs16gbk
ISO8859_1
we8iso8859p1
ISO8859_2
ee8iso8859p2
ISO8859_4
nee8iso8859p4
ISO8859_5
cl8iso8859p5
ISO8859_6
ar8iso8859p6
ISO8859_7
el8iso8859p7
ISO8859_8
iw8iso8859p8
ISO8859_15
we8iso8859p15
KSC5601
ko16ksc5601
NT_852
ee8pc852
NT_862
iw8pc1507
NT_866
ru8pc866
NT_1250
ee8mswin1250
NT_1251
cl8mswin1251
NT_1252
we8mswin1252
7-5
Chapter 7
Setting the displayed text and language in the Business Modeler IDE
NT_1253
el8mswin1253
NT_1254
tr8mswin1254
NT_1255
iw8mswin1255
NT_1256
ar8mswin1256
NT_1257
blt8mswin1257
SJIS
ja16sjis
UTF-8
utf8
UTF-8
al32utf8
BIG5
chinese_taiwan_stroke_bin
BIG5
chinese_prc_bin
KSC5601
korean_wansung_bin
NT_1250
croatian_bin
NT_1250
czech_bin
NT_1250
hungarian_bin
NT_1251
cyrillic_general_bin
NT_1252
latin1_general_bin
NT_1253
greek_bin
NT_1254
turkish_bin
NT_1255
hebrew_bin
NT_1256
arabic_bin
NT_1257
estonian_bin
NT_1257
latvian_bin
NT_1257
lithuanian_bin
SJIS
japanese_bin
7-6
Oracle
database
MS SQL database
Windows
Server
required
machine
encoding
we8iso8859p1
latin1_general_bin
NT_1252
UNIX
Server
required
machine
encoding
ISO8859-1
PLM00071 J
Setting the displayed text and language in the Business Modeler IDE
nee8iso8859p4
MS SQL database
-
Windows
Server
required
machine
encoding
-
we8iso8859p15
tr8mswin1254
turkish_bin
-
NT_1254
-
Oracle
database
utf8 / al32utf8
UNIX
Server
required
machine
encoding
ISO8859-4
ISO8859-15
UTF-8
C. After you determine the proper encodings to use, add the new locale to
the encodings textsrv_text.xml file.
For example, if you want to add Swedish, add the sv_SE locale to the
following encoding lines in the file:
<key id="textsrv_dbEncodingName_ISO8859_1">ISO8859-1</key>
<key id="textsrv_encodingLocales_ISO8859_1">en_US;fr_FR;de_DE;it_IT;es_ES;sv_SE</key>
<key id="textsrv_dbEncodingName_ISO8859_4">ISO8859-4</key>
<key id="textsrv_encodingLocales_ISO8859_4">en_US;de_DE;sv_SE</key>
<key id="textsrv_dbEncodingName_ISO8859_15">ISO8859-15</key>
<key id="textsrv_encodingLocales_ISO8859_15">en_US;fr_FR;de_DE;it_IT;es_ES;sv_SE</key>
<key id="textsrv_dbEncodingName_NT_1254">NT-1254</key>
<key id="textsrv_encodingLocales_NT_1254">en_US;fr_FR;de_DE;it_IT;es_ES;sv_SE</key>
<key id="textsrv_dbEncodingName_UTF8">UTF-8</key>
<key
id="textsrv_encodingLocales_UTF8">cs_CZ;de_DE;en_US;es_ES;fr_FR;it_IT;ja_JP;ko_KR;ru_RU;zh_CN;zh_TW;sv_SE</key>
b.
For the Swedish example, add the following line to the file:
<key id="textsrv_localeName_sv_SE">Swedish</key>
c.
If you want all the server-supplied user interface text and messages to appear
in the new locale, copy the TC_ROOT\lang\textserver\en_US\ directory
to a new locale directory and translate all the files into the new language.
For the Swedish example, copy the directory to a
TC_ROOT\lang\textserver\sv_SE\ directory and translate the contents
of the files to Swedish.
d. If you are using shared memory, you must remove the shared memory
backing store files to ensure that all the modifications are considered when
the pool manager and the middle tier are restarted.
The TC_SHARED_MEMORY_DIR environment variable value specifies
the directory where the store backing files are stored.
For more information, see the System Administration Guide.
e.
PLM00071 J
If you updated the data in the text server file and you have enabled the rich
client cache using TEM, you must update the client cache by running the
generate_client_meta_cache utility.
7-7
Chapter 7
Setting the displayed text and language in the Business Modeler IDE
b.
If you did create the new directory with translated content, this error
message does not appear.
c.
To verify that the new locale is available for data input, click the Localization
button to see the new locale include in the list of available locales.
For example, in the Query Builder application, select a query in the Saved
Queries pane and click the Localization button. Click in the Locale cell
to see the new locale listed.
d. To change the language for inputting text to the new locale, enter the new
locale to the TC_language_data_entry preference. To see these language
preferences, choose EditOptions, click the Search at the bottom of the
Options dialog box, and search for preferences beginning with TC_language.
For more information, see the Preferences and Environment Variables
Reference.
7-8
If you change the display name of an object in the master locale, you
must also change the display names for the object in all locales. If you do
not, the status of display names in other locales is marked as invalid.
PLM00071 J
Setting the displayed text and language in the Business Modeler IDE
Override
Changes the display name for a COTS object.
Edit
Changes the display name for a custom object or an already overridden
COTS object.
Add
Adds a new display name.
Remove
Removes the display name.
Click the arrow in the Locale box to select the language locale where the
text is to be used. Any of the following locales may be listed, depending on
the languages the template supports:
cs_CZ
Czech as spoken in the Czech Republic
de_DE
German as spoken in Germany
en_US
English as spoken in the United States
es_ES
Spanish as spoken in Spain
fr_FR
French as spoken in France
PLM00071 J
7-9
Chapter 7
Setting the displayed text and language in the Business Modeler IDE
it_IT
Italian as spoken in Italy
ja_JP
Japanese as spoken in Japan
ko_KR
Korean as spoken in Korea
pl_PL
Polish as spoken in Poland.
pt_BR
Portuguese as spoken in Brazil.
ru_RU
Russian as spoken in Russia
zh_CN
Chinese as spoken in China
zh_TW
Chinese as spoken in Taiwan
c.
In the Status box, select the status of the text change in the approval life
cycle:
Approved
The text change is approved for use.
Invalid
The text change is not valid.
Pending
The text change is pending approval.
Review
The text change is in review.
You can export text for translation based on its status using the
l10n_import_export utility.
d. Click Finish.
7-10
PLM00071 J
Setting the displayed text and language in the Business Modeler IDE
In the Value Localization box, type the value as you want it to display in
the user interface.
c.
If a description was previously entered for the LOV value, in the Description
Localization box, type a description for the display text.
d. In the Status box, select the status of the text change in the approval life
cycle.
e.
Click Finish.
Validating localizations
In Teamcenter 8.3, support was provided in the Business Modeler IDE to specify
display names (localized names) for several data model elements. For example,
you could specify localized names for the business object property name in several
PLM00071 J
7-11
Chapter 7
Setting the displayed text and language in the Business Modeler IDE
locales like English (en_US), German (de_DE), French (fr_FR), Russian (ru_RU),
and so on.
When users enter display names in the Business Modeler IDE they can use
characters in the Display Name field that are potentially not supported by the
database encoding. This issue becomes apparent only when the template is deployed
to the database. For example, you support localizations only for the English locale
(en_US), and your database encoding is set to ISO-8859-1. In the Business Modeler
IDE, you create a new business object property and enter the Euro symbol () in its
Display Name field. The Business Modeler IDE does not complain about the Euro
symbol in the display name for the business object property and it allows you to
package the template and deploy it to the database. But the database deployment
fails because the database encoding ISO-8859-1 does not support the Euro symbol.
Beginning in Teamcenter 9, the display names (localizations) entered in the Business
Modeler IDE are validated to ensure that the characters used in the display names
are valid for a given locale. The same validations are done by the Business Modeler
IDE parser whenever you open, reload, or import a Business Modeler IDE project to
the Business Modeler IDE client.
To achieve this validation, the Business Modeler IDE now installs the
textsrv_text.xml file into the TC_ROOT/lang/textserver/no_translation
directory.
The textsrv_text.xml file contains encodings per locale that are used by the
Business Modeler IDE client to validate the display names. This file contains many
XML entries, but the following sample code shows how encodings are stored per
locale:
<!-- SECTION DEFINING THE SMALLEST OR CUSTOM ENCODING FOR EACH
LOCALE: THIS IS USED FOR BMIDE LOCALIZATION VALIDATION -->
<key id="locale_validation_encoding_en_US">us-ascii</key>
<key id="locale_validation_encoding_cs_CZ">iso-8859-2</key>
<key id="locale_validation_encoding_pl_PL">iso-8859-2</key>
<key id="locale_validation_encoding_de_DE">iso-8859-1</key>
<key id="locale_validation_encoding_es_ES">iso-8859-1</key>
<key id="locale_validation_encoding_fr_FR">iso-8859-1</key>
<key id="locale_validation_encoding_it_IT">iso-8859-1</key>
<key id="locale_validation_encoding_pt_BR">iso-8859-1</key>
<key id="locale_validation_encoding_ja_JP">shift_jis</key>
<key id="locale_validation_encoding_ko_KR">euc_kr</key>
<key id="locale_validation_encoding_ru_RU">iso-8859-5</key>
<key id="locale_validation_encoding_zh_CN">gb2312</key>
<key id="locale_validation_encoding_zh_TW">big5</key>
In the XML sample code, not only are the encodings stored per locale, they are
available only for the locales included with standard Teamcenter. Currently, each
locale is set to its minimum encoding. For example, the encoding for en_US is
US-ASCII. This means if you enter display names (localizations) in the Business
Modeler IDE for en_US, the Business Modeler IDE validates that the characters
entered in the Display Name box are valid in the US-ASCII character set. The same
logic applies to localizations entered in other locales.
The encodings supplied in the textsrv_text.xml file are used only by the Business
Modeler IDE client for validations on localizations during the loading of a Business
Modeler IDE project or when users enter display names in the user interface. These
encodings are not used during template deployment. When you install your template
to the database, the settings in the textsrv_text.xml file are not used. Instead,
7-12
PLM00071 J
Setting the displayed text and language in the Business Modeler IDE
the Business Modeler IDE deploy utilities use the encoding set for the database
and the server host.
Encodings in the textsrv_text.xml file are the minimum encodings. You may use
a larger encoding because your database supports it. For example, you may want
to use the Euro symbol in en_US files because your database encoding is set to
ISO-8859-15. In such cases, you can modify the entries in the textsrv_txt.xml file
and provide your larger encoding for each of the locales. For example, you change
the encoding for en_US as ISO-8859-15:
<key id="locale_validation_encoding_en_US">iso-8859-15</key>
You can change the encoding for each of the locales (shown in the previous code
example) to use an encoding that is supported in your database. The Business
Modeler IDE then uses your custom encoding to validate the localizations in the
Business Modeler IDE client.
Teamcenter includes localizations only for a certain list of locales. For example,
Teamcenter does not include localization for the Romanian (ro_RO) locale. You may
be supporting the Romanian locale and if you want the Business Modeler IDE client
to validate all localizations entered in the Romanian locale, you must modify the
textsrv_text.xml file and add an entry for this locale. For example, you can add
the following:
<key id="locale_validation_encoding_ro_RO">iso-8859-16</key>
PLM00071 J
7-13
Chapter 7
Setting the displayed text and language in the Business Modeler IDE
Caution
7-14
PLM00071 J
Setting the displayed text and language in the Business Modeler IDE
Note
1. Upgrade the older custom template to the newer data model using one of the
following methods:
If your template project is not already in the workspace, import it into the new
version of the Business Modeler IDE by choosing FileImportBusiness
Modeler IDEImport a Business Modeler IDE Template Project.
For more information, see Upgrade a template project to the current data model
format.
Note
PLM00071 J
In the Migration Option area, click the Use raw text server files button.
7-15
Chapter 7
Setting the displayed text and language in the Business Modeler IDE
(Click the other button only if you decide not to continue with the migration
process. The other button is titled I dont have any custom property names
to be migrated or would like to skip doing this migration at this point.)
c.
Click the Browse button to the right of the Text server files location box
and browse to the directory for the text server files on the source (older)
Teamcenter server, for example, TC_ROOT\lang\textserver\. This value
is also provided by the value of the TC_MSG_ROOT environment variable.
Note
The migration wizard takes only one location from which to migrate
the localizations. However, some users may have user-level, text
server localizations in the TC_USER_MSG_DIR directory.
Therefore, if users have user-level, text-server localizations in the
TC_USER_MSG_DIR\language_locale\user_property_names.xml
file, before running the migration wizard, you must merge the
contents of this file with the one located in the TC_MSG_ROOT
location. (Replace language_locale with the value of the
TC_language_default preference, for example, en_US.)
d. Click the arrow in the Locale box to choose the language you want to migrate.
Note
e.
After the migration for this locale is complete, repeat the migration
for the other locales if there are conflicts in other locales.
Click Next.
4. Perform the following in the next Property Name and Relation Name Migration
dialog box:
a. Select the Check this box to start the precomputation for migration check
box. This parses the text server XML files and processes the keys.
If there are any conflicts after precomputation, they are displayed in the
Localization Conflicts table.
Conflicts may appear when comparing source (from the older version of
Teamcenter) with target (from the newer version of Teamcenter) because
some text is updated between Teamcenter versions.
b.
c.
5. Open the Console view to see the path to the log file that contains the summary
of the migration.
6. After the property names and relation names are migrated, run the Default
Localization Creation wizard to create the default display names.
7-16
PLM00071 J
Setting the displayed text and language in the Business Modeler IDE
PLM00071 J
b.
Click the Add button to the right of the Files to Import table to browse to
the location of the localization files.
c.
Click Finish.
7-17
Chapter 7
Setting the displayed text and language in the Business Modeler IDE
This occurs because localization changes can contain changes to the schema, and
schema changes cannot be live updated to a production server. Instead of using live
update, install localized templates using Teamcenter Environment Manager (TEM).
This error occurs in a couple of notable situations. For example, if you want to
add the Localization button to a property, you must set the Localizable property
constant to true. Usually setting a constant value does not result in changes to any
classes or attributes. In this instance, an additional hidden attribute is created on
the class used by the associated business object. A typical example that causes the
error is when you set the Localizable property constant to true on the object_desc
or object_name properties on the Item business object and then attempt to live
update the change.
In addition, attaching an LOV to a property results in a hidden attribute being
placed on the source business object of the property. Just as for Localizable
property changes, Siemens PLM Software does not recommend using live update if
the data model contains changes to LOV attachments.
7-18
PLM00071 J
Chapter
PLM00071 J
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
8-33
8-33
8-34
8-35
8-36
8-36
8-37
8-38
8-40
8-41
8-47
8-47
8-48
8-50
8-51
8-51
8-52
Extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Introduction to extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Define an extension . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Assign an extension . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Write extension code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Extension example: Add a postaction on a folder business object . . . . . . .
Extension example: Start a workflow on an item revision . . . . . . . . . . . .
Overview of the workflow extension example . . . . . . . . . . . . . . . . . .
Define the sample extension in the Business Modeler IDE . . . . . . . .
Assign the sample extension . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Develop the C custom extension code for the example extension . . . .
Build the library for the example extension . . . . . . . . . . . . . . . . . . .
Implement the sample extension . . . . . . . . . . . . . . . . . . . . . . . . . .
Execute the sample extension . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
About extension attachments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Add a predefined extension to a business object . . . . . . . . . . . . . . . . . . .
Working with user exits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Extensions reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Operations reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Extension inheritance reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Understanding the implications of the autoAssignToProject extension on
propagation rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Create a custom bulk loader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
8-55
8-55
8-56
8-58
8-60
8-60
8-63
8-63
8-64
8-65
8-65
8-70
8-71
8-71
8-72
8-72
8-75
8-75
8-76
8-82
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 8-82
. 8-84
PLM00071 J
Chapter
Data-model-based customization
Allows addition of custom C++ operations to business objects, and the overriding
of existing operations on business objects. Codeful customization typically
involves this adding of new operations or the overriding of existing operations.
For more information, see Introduction to data-model-based customizations.
Extensions customization
Allows you to write a custom function or method for Teamcenter in C or C++
and attach the rules to predefined hook points in Teamcenter (preconditions,
preactions, and postactions). Also, existing operations can be extended to these
hook points.
For more information, see Introduction to extensions.
The following figure shows the client-server interaction in Teamcenter. The business
object interface provides a C++ API that the rich client and thin client can interact
with directly. Teamcenter Services and Integration Toolkit (ITK) interfaces provide
an additional layer of interaction, and remote clients typically use these interfaces
to interact with the server. The rich client typically invokes Teamcenter Services
interfaces, and the thin client interacts through the ITK interfaces. (All access and
modification of data in the database is done by the business object interface.)
PLM00071 J
8-1
Chapter 8
8-2
PLM00071 J
Data-model-based customizations
Introduction to data-model-based customizations
The Teamcenter data model framework supports a single, coherent mechanism for
developing new functionality by defining business logic on business objects in the
Impl class. This exposes the business logic API in an object-oriented way (through
interfaces).
For more background information on data-model-based customization, see the Server
Customization Programmers Guide.
Codeful customization typically involves adding a new operation to a business object
or overriding an implementation of an existing operation on a business object.
Operations are Teamcenter functions, such as create, checkin, checkout, and so on.
Operations can be placed on custom business objects and properties. To see these
operations, right-click a business object, choose Open, and in the resulting editor,
click the Operations tab.
Operations on a business object provide the interfaces for business logic. The
implementation of the business logic is done by functions or methods on the
implementation class corresponding to the business object. There are certain
restrictions on operations. You cannot modify a COTS operation (that is, noncustom
operation). You cannot modify or delete a released operation; you can only deprecate
it.
Caution
Coding process
Following is the general process for writing data-model-based customization code
in the Business Modeler IDE. The Code Generation folder under the Extensions
folder is where you do most of this work.
1. Set up the coding environment.
Set up code generation, and create the release, library, and data types you
want to use.
For more information, see Set up the coding environment.
2. Create an operation or override an operation.
For more information, see Add a business object operation and Override an
operation.
3. Generate boilerplate code.
Generate boilerplate C++ code files in which you can write your code
implementation for the operation.
For more information, see Introduction to generating boilerplate code and
Generate service artifacts.
PLM00071 J
8-3
Chapter 8
The Business Modeler IDE packages the built C++ library as part of its
template packaging. The complete solution that includes the data model
and the C++ run-time libraries are packaged together.
For APIs in C++ signatures, see the C++ API Reference.
The C++ API Reference is available only in the Teamcenter HTML Help
Collection. It is not available in the PDF collection.
8-4
PLM00071 J
Create a release
Releases are distributions of software products. By default, Teamcenter releases
are listed under the Code Generation\Releases folder so that you can create code
against these releases. You can specify the release against which code is created by
right-clicking a release and choosing OrganizeSet as active release. The code you
create after setting the release is then assigned to that release. When you create
some code objects, such as operations or services, you must specify a release.
1. Choose one of these methods:
On the menu bar, choose BMIDENew Model Element, type Release in the
Wizards box, and click Next.
In the Extensions folder, open the Code Generation folder, right-click the
Releases folder, and choose New Release.
In the Name box, type the name you want to assign to the new release in
the database.
When you name a new data model object, a prefix from the template is
automatically affixed to the name to designate the object as belonging to
your organization, for example, A4_.
For more information, see Naming objects and Create a Business Modeler
IDE template project.
c.
In the Display Name box, type the name of the release as it will display in
the Business Modeler IDE.
Select Set as Current Release to select this new release as the active one to
use for all data model creation processes.
You can also set a release as active by right-clicking the release and choosing
OrganizeSet as active Release. A green arrow in the release symbol
indicates it is the active release.
f.
Click the arrow in the Type box to choose whether this release is considered
a major release, a minor release (which is dependent on a major release), or
a patch (to a minor or major release).
g.
In the Service Version box, type the version of the services you plan to create
in the release using format _YYYY_MM, for example, _2010_06. You must
fill in this box if you plan to create services for this release.
h. Click the Browse button to the right of the Prior Release box to choose the
previous release. If you are creating a minor release, choose the major
release that this minor release follows. If you are creating patch, choose
either the major or minor release that the patch is applied to.
PLM00071 J
8-5
Chapter 8
i.
Click Finish.
The new release appears under the Releases folder.
3. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
Create a library
A library is a collection of files that includes programs, helper code, and data.
Open the Extension\Code Generation\Libraries folders. By default, Teamcenter
libraries are listed under the Libraries folder. You can create your own library that
is dependent on Teamcenter libraries.
You can specify the library against which code is created by right-clicking a library
and choosing OrganizeSet as active library. The code you create after setting the
library is then assigned to that library. When you create some code objects, such as
business object or property operations, you must specify a library.
1. Set the release the library is to be used for. Open the Code Generation\Releases
folders, right-click the release, and choose OrganizeSet as active Release. A
green arrow in the release symbol indicates it is the active release.
For information about creating releases, see Create a release.
2. Choose one of these methods:
On the menu bar, choose BMIDENew Model Element, type Library in the
Wizards box, and click Next.
In the Extensions folder, open the Code Generation folder, right-click the
Library folder, and choose New Library.
Select the isThirdParty check box if the library is built outside of the
Business Modeler IDE or the library is provided by a third-party vendor.
c.
In the Name box, type the name you want to assign to the new library, or if
you selected the isThirdParty check box, click the Browse button to specify
the third-party library file.
Select the Set as Active Library check box to select this new library as the
one to use for all data model creation processes.
You can also set a library as active by right-clicking the library in the
Libraries folders and choosing OrganizeSet as active Library. A green
arrow in the library symbol indicates it is the active library.
8-6
PLM00071 J
f.
Click the Add button to the right of the Dependent On pane to select the
libraries this new library is dependent on. This box is disabled if you are
using a third-party library file.
g.
Click Finish.
The new library appears under the Library folder.
4. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
Data types
Introduction to data types
In software programming, a data type is a definition for a specific type of data and
the operations that can be performed on that data. For example, if some code has the
char data type applied to it, it is character text and can contain only characters. Or
if some code has the int data type applied, it is integer type code and can contain
only numbers. You use data types as the return type when you create business object
operations. To work with data types, open the Extensions\Code Generation\Data
Types folders.
You can work with the following kinds of data types:
PLM00071 J
On the menu bar, choose BMIDENew Model Element, type External Data
Type in the Wizards box, and click Next.
8-7
Chapter 8
In the Name box, type the name you want to assign to the new data type.
c.
In the Namespace box, type a namespace for the type. Namespaces allow for
grouping code under a name to prevent name collisions.
d. In the Description box, type a description of the new external data type.
e.
In the Declaration Header box, type the header file declaring the external
data type. The header should provide how the header file should be included
in code, for example:
path/custom-data-type.hxx
For information about adding data types dynamically, see Add a structure
data type.
f.
Click Finish.
The new data type appears under the External Data Type folder.
3. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
4. Deploy your changes to the test server. Choose BMIDEDeploy Template on the
menu bar, or select the project and click the Deploy Template button
the main toolbar.
on
8-8
Teamcenter::DateTime
PLM00071 J
Teamcenter::OperationDispatcher
Helper methods for extension framework.
Teamcenter::Soa::Common::ObjectPropertyPolicy
Service-oriented architecture (SOA) representation of property policies.
Teamcenter::Soa::Server::InvalidCredentialException
Service-oriented architecture (SOA) exception error for incorrect ID.
Teamcenter::Soa::Server::ModelSchema
Service-oriented architecture (SOA) representation of schema.
Teamcenter::Soa::Server::Preferences
Service-oriented architecture (SOA) class for holding preferences.
Teamcenter::Soa::Server::ServiceData
Service-oriented architecture (SOA) class that holds model objects and partial
errors.
Teamcenter::Soa::Server::ServiceException
Service-oriented architecture (SOA) service exception class.
date_t
Structure to represent a date.
std::string
String from the standard namespace.
std::vector<PropertyDescriptor>
Property descriptor vector.
std::vector<bool>
Boolean (true or false) vector.
std::vector<char>
Character vector.
std::vector<date_t>
Date vector.
std::vector<double>
Double vector.
std::vector<int>
Integer (number) vector.
PLM00071 J
8-9
Chapter 8
std::vector<long>
Long string vector.
std::vector<std::string>
String vector.
std::vector<tag_t>
Tag vector.
tag_t
Tag to an object.
bool
Allows two choices to the user (true or false).
char
A single character, such as A, B, Z.
double
A double-precision floating point decimal number (an 8-byte decimal number
from the range 1.7E to 308).
float
A 4-byte decimal number from the range 3.4E to 38.
int
An integer without decimals from 1 to 999999999.
long
A string of unlimited length.
void
Associated with no data type.
8-10
PLM00071 J
std::map
Map from the standard namespace.
std::vector
Vector from the standard namespace.
Operations
Add a business object operation
Operations are actions you can perform on business objects and properties in
Teamcenter. You can create operations on custom business objects or properties. To
see these operations, right-click a business object, choose Open, and in the resulting
editor, click the Operations tab.
Operations have an operation template. The template defines the basic signature
API structure of the operation: parameters, inputs, and outputs. An operation
template can therefore be used to define new operations that follow the same
signature pattern without having to redefine the signature again.
A business object operation is a function on a business object. It is defined with
parameters, a return value, inheritance, and whether it is overridable. After
you create a business object operation, you must generate code and write an
implementation for the operation. You can only write operations on children of the
POM_application_object business object.
For more information, see Introduction to generating boilerplate code and Write
implementation code for a business object or property operation.
You can also create a property operation or operations on services.
For more information, see Add a property operation and Add a service operation.
Caution
1. Ensure that you have set the proper active release for the operation. Open the
Extensions\Code Generation\Releases folders, right-click the release, and
choose OrganizeSet as active Release. A green arrow in the release symbol
indicates it is the active release.
For information about creating releases, see Create a release.
2. Set the active library for the operation. Open the Extensions\Code
Generation\Libraries folders, right-click the custom library, and choose
PLM00071 J
8-11
Chapter 8
4. Right-click the custom business object, choose Open, and click the Operations
tab in the resulting view.
5. Click the Operations folder and click the Add button.
Note
The Return Type box defaults to the int type because the return type is
always int. The Return Qualifier box cannot be changed because the return
represents failure code (ifail) that is required by autogenerated code to
check for errors.
c.
Overridable?
Allows child business objects to override this method.
Published?
Declares the operation as published for use.
PreCondition?
Places limits before an action.
PreAction?
Executes code before an action.
8-12
PostAction?
PLM00071 J
f.
In the Return Description box, type a description of the return value for
the operation.
g.
Select the Return Const? check box to set the return constant value to const.
h. Select the Free Return Memory? check box to free up memory pointed to by
the return value. This check box is available only when the Return Qualifier
box contains a value.
i.
Click the Browse button to the right of the Library box to select the library
to hold the source for the operation.
For information about creating libraries, see Create a library.
j.
To set parameters on the operation, click the Add button to the right of the
Parameters table. These parameters are the arguments to the C++ functions.
Perform the following steps in the Parameter dialog box:
A. In the Name box, type a name for the parameter.
B. Click the Browse button to the right of the Type box to select a data
type to hold the parameter.
In the Choose a Data Type Object dialog box, you can select the
following data types to filter:
Primitive
Generic data types. Only boolean, double, float, and int are
available for services.
For more information about primitive data types, see Primitive data
types reference.
External
Standard data types. Only those listed are available for services, and
they are defined by Teamcenter.
For more information about external data types, see External data
types reference.
Template
Data types that allow code to be written without consideration of the
data type with which it is eventually used. Only vector is available
for services.
For more information about template data types, see Template data
type reference.
Interface
Data types for returning business objects. Only business objects
with their own implementation are selectable. For business objects
PLM00071 J
8-13
Chapter 8
Generated
Service data types, such as structure, map, and enumeration data
types. Only the data types set up for this service are shown as being
available for this service. You can manually type the name of a type
that is in another service as long as it is in the same service library.
For more information about creating data types, see Introduction to
service data types.
C. Click the arrow in the Qualifier box to select the qualifier for the return
value.
No value
Indicates that no parameter is passed.
&
Indicates that the parameter is passed by reference. The actual
parameter is passed and not just the value of the parameter.
*
Indicates that the address of the parameter is passed. The address
is the pointer to the parameter.
**
Indicates the address of the pointer to the parameter is passed. The
address is a pointer to the pointer.
[]
Indicates that the parameter is an array. The address of the first
element in the array is passed.
*&
Indicates a parameter instance is created within the routine and
the pointer of the instance is returned. The caller must manage the
return pointer.
8-14
PLM00071 J
k. Click Finish.
The Business Modeler IDE displays the new operation in the Operations
editor.
7. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
8. Generate code.
Right-click the Business Objects folder and choose Generate CodeC++
classes.
For more information about code generation, see Introduction to generating
boilerplate code.
9. Write an implementation in the generated business_objectImpl.cxx file.
For more information about how to work with implementation files, see Write
implementation code for a business object or property operation. For examples of
how to write code in the Impl file, see Sample implementation code.
Add a property operation
Operations are actions you can perform on business objects and properties in
Teamcenter. You can create operations on custom business objects or properties. To
see these operations, right-click a business object, choose Open, and in the resulting
editor, click the Operations tab.
A property operation is a function on a property. You can publish getter and setter
methods on a custom operation. After you create an operation on a custom property,
you must generate code and write an implementation for the operation. You can also
add a property operation when you create a persistent property.
For more information, see Introduction to generating boilerplate code and Write
implementation code for a business object or property operation.
You can also create a business object operation or operations on services.
For more information, see Add a business object operation and Add a service
operation.
Caution
1. Ensure that you have set the proper active release for the operation. Open the
Extensions\Code Generation\Releases folders, right-click the release, and
choose OrganizeSet as active Release. A green arrow in the release symbol
indicates it is the active release.
For information about creating releases, see Create a release.
2. Set the active library for the operation. Open the Extensions\Code
Generation\Libraries folders, right-click the custom library, and choose
OrganizeSet as active Library. A green arrow in the library symbol indicates
it is the active library.
For information about creating libraries, see Create a library.
PLM00071 J
8-15
Chapter 8
3. Select the custom business object whose property you want to add an operation
to. In the Business Objects folder, browse to the custom business object. To
search for a business object, click the Find button
4. Right-click the custom business object, choose Open, and click the Operations
tab in the resulting view.
5. Click a custom property in the Property Operations folder and click the Add
button.
Note
The Add button is enabled only after you have created a release.
For more information, see Create a release.
The Business Modeler IDE runs the New Property Operation wizard.
6. In the Property Operation dialog box, select the Getter check box to enable
getting the value of the property, and select Setter check box to enable setting
the value of the property. Select the following check boxes that apply:
Overridable?
Allows child business objects to override this method.
Published?
Generates the getter or setter method.
PreCondition?
Places limits before an action.
PreAction?
Executes code before an action.
PostAction?
Executes code after an action.
8. Generate code.
Right-click the Business Objects folder and choose Generate CodeC++
classes.
For more information, see Introduction to generating boilerplate code.
9. Write an implementation in the generated business_objectImpl.cxx file.
8-16
PLM00071 J
For more information about how to work with implementation files, see Write
implementation code for a business object or property operation.
Override an operation
You can make a custom business object or property operation overridable by other
operations on child business objects. A custom operation is overridable if it is
inherited from a parent business object, marked as overridable, is not already
overridden. The Override button is available if these conditions are met.
In the Operations tab, select the custom operation and click the Override button.
The button changes to Remove Override, and the Overridden check box is checked
on the right side of the Operations tab.
For more information about the Operations tab, see Operations tab in the Business
Object editor.
1. Select the business object whose operation you want to override. In the Business
Objects folder, browse to the business object. To search for a business object,
click the Find button
2. Right-click the business object, choose Open, and click the Operations tab in
the resulting view.
3. Click the operation you want to override in the Operations or the Property
Operations folder.
The Override button is available if the operation is inherited from a parent
business object, is marked as overridable, and is not already overridden. The
Remove Override button displays if the operation is already overridden.
4. To override the operation, click the Override button.
The Override Operation wizard runs. Click Finish.
The button changes to Remove Override, and the Overridden check box to the
right is selected. To remove an override, click the Remove Override button.
5. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
PLM00071 J
8-17
Chapter 8
Select the Enable Deprecation Policy check box to allow for removal of
obsolete objects from the project.
c.
Click the arrow in the Number of Allowed Releases before Deletion box to
select how many releases before objects can be deleted from the project.
d. Click OK.
2. In the Business Objects folder, right-click the business object that contains the
custom operation you want to deprecate, choose Open, and click the Operations
tab in the resulting view.
For more information about the Operations tab, see Operations tab in the
Business Object editor.
3. Select the custom operation you want to deprecate in the Operations folder or
the Property Operations folder.
4. Click the Deprecate button.
Note
The Deprecate button is available only if the deprecation policy is set for
the project, the operation is custom, and the operation was created in
an earlier release. If not, a Remove button is displayed instead. An Un
Deprecate button displays if the operation has already been deprecated.
8-18
PLM00071 J
When you create a new operation, ensure that you select the Published check
box and select the action where you want to attach the operation (PreCondition,
PreAction, and/or PostAction).
Also ensure that you enter the parameters to the C++ functions in your
implementation.
For more information about creating operations, see Add a business object
operation.
2. Create the extension that calls the operation.
For complete directions about how to create an extension, see Define an extension.
a. In the Extensions folder, right-click the RulesExtensions folder and
choose New Extension Definition.
b.
In the Extension dialog box, click the Add button to the right of the
Availability table.
c.
In the New Extension Availability dialog box, click the Browse button to
the right of the Business Object Name box and select the custom business
object with the custom operation you want to use.
In the Extension Point box, select the extension point that was set up
when the custom operation was created (PreCondition, PreAction, and/or
PostAction).
3. Create the extensions rule that determines how the extension is applied.
For complete directions about how to create extension rules, see Assign an
extension.
a. Select the custom operation on the Operations tab of the custom business
object where it resides.
b.
On the right side of the tab, expand the Extension Attachments link.
c.
Choose the point at which you have made the operation available
(Pre-Condition, Pre-Action, Base-Action, or Post-Action).
The Add button is enabled only on the available points.
PLM00071 J
8-19
Chapter 8
For more information, see Create a custom persistent business object and
implement a custom operation.
2. Add a custom run-time property to the UserSession business object.
This custom run-time property is implemented to return an instance of
the custom business object. In this example, the custom property name is
MyCustomObject.
For more information, see Add a custom run-time property to a UserSession
business object.
3. Define a condition expression using the custom property of the UserSession
business object.
Using the custom run-time property, use your own custom operation in a
condition expression in the following manner:
//ConditionName ( Signature ) := Expression
isConditionExampleA(WorkspaceObject o, UserSession u) :=
u.MyCustomObject.checkObjects ( o ) = false
For more information, see Define condition expression using a custom property of
the UserSession business object.
Create a custom persistent business object and implement a custom operation
Suppose you need to define a custom operation on a COTS (WorkspaceObject)
business object and use the custom operation in a condition expression. Currently,
this use case is not supported. To overcome this limitation, the best alternative is to
create your own custom business object and define custom operations on the custom
business object. You can then use this custom operation in a condition expression:
1. Define a custom business object, for example, CustomBusinessObject under
the POM_object business object or the WorkspaceObject business object.
2. Add a custom operation to the CustomBusinessObject business object and
implement its base function in the CustomBusinessObjectImpl class. The
signature of this custom operation is as follows:
int
checkObjects(
tag_t objTag,
bool* result )
This operation takes the tag of the target object as input. The business logic
codes are written against the input target object as illustrated in the following
code sample:
int CustomBusinessObjectImpl::checkObjectsBase( tag_t objTag, bool* result )
{
//Use Teamcenter ITK and C++ APIs to access data of the target object identified by objTag
8-20
PLM00071 J
//Implement business logic code to check the data of the target object
//set *result to true or false depending on the validation result.
}
The stub for the Impl class is generated the first time that the code generation
is run. To generate the stub, right-click the Business Objects folder and choose
Generate CodeC++ classes.
For more information, see Generate C++ code.
An operation that can be used in a condition expression must satisfy certain criteria.
For example, the operation must return an int and must have exactly one output
that is the last parameter in the operation signature.
For more information, see Using a custom operation in a condition expression.
Add a custom run-time property to a UserSession business object
You can use a custom business object and its custom operation directly to define the
following condition expression:
//ConditionName ( Signature ) := Expression
isConditionExample(CustomBusinessObject o) :=
o.checkObjects ( objTag ) = false
Note that there is no target object input. That is, the actual use case is to define a
condition function against the target object of a WorkspaceObject business object
instead of the custom business object.
In this alternative solution, the custom business object is used as a gateway for
a condition expression to access the custom operation through the UserSession
business object. For this purpose, you must add a custom run-time property to the
UserSession business object. The sole purpose of this custom run-time property
is to create and return a singleton instance of the custom business object. The
storage type of this property to the custom business object is a TypedReference
storage type.
Define getter operation for custom runtime property
Currently, the Business Modeler IDE does not allow you to define the getter
operation for a custom property defined on a COTS business object. To overcome
this limitation, you can manually add the following elements into your template to
define the getter operation for your custom property.
In this example, the custom property name is MyCustomObject. This property is a
single-value reference property. Therefore, the PROP_ask_value_tag operation is
used.
PLM00071 J
8-21
Chapter 8
cplusplus
C
8-22
PLM00071 J
}
*customObjTag = myCustomObjectTag;
return ifail;
}
PLM00071 J
8-23
Chapter 8
Boilerplate code
Introduction to generating boilerplate code
Generating boilerplate code can save time and effort over manually setting up the
source files, and it can reduce coding errors. The autogenerated code conforms to a
coding standard, therefore maintaining consistency. You can create C++ boilerplate
source code files into which you can add implementation code by right-clicking the
Business Objects folder and choosing Generate CodeC++ classes.
Note
Most of the code pieces are autogenerated; you only need to write code in the
implementation (Impl) file, as shown in the following figure. First you create the
business objects and operations, and their definitions are deployed to the database
without writing any code. Then you generate code, creating boilerplate files that
provide inheritance and overriding behavior to the business object. Finally, you write
the custom logic for the operation in the stub provided in the Impl file.
Generated code
Generate C++ code
After operations are defined, you can create C++ boilerplate source code files into
which you can add implementation code by right-clicking the Business Objects
folder and choosing Generate CodeC++ classes. This generates the C++ interface
for the business object and other boilerplate code. A stub for the implementation
class also is generated the first time (Impl file). Add the business logic manually
in this class.
If you have any server code customizations from previous versions, you must
regenerate the code and rebuild your libraries.
Tip
8-24
If additional operations are added to the business object at a later time, the
operations must be added manually to this implementation class.
PLM00071 J
Note
PLM00071 J
8-25
Chapter 8
business logic. (The Generated Source Folder folder holds files containing
boilerplate code. You should never edit these files.)
Note
You can also locate the files in your workspace. To find the workspace
location, choose FileSwitch Workspace. For example, on a Windows
system, they are saved by default to:
install-location\bmide\workspace\
version\project\src\
The C++ API Reference is available only in the Teamcenter HTML Help
Collection. It is not available in the PDF collection.
8-26
BusinessObject interface that defines the API for the business object. All
callers work only with the interface.
Dispatch class that implements the interface. It provides the overriding and
extensibility capabilities.
Impl class that is the actual implementation where the business logic is
manually implemented by the developer.
Delegate class that delegates invocations to the implementation class and breaks
the direct dependency between the dispatch and implementation classes.
PLM00071 J
Framework interfaces
Class
Autogenerated
Purpose
Interface
Yes
Dispatch
Yes
Generated
Implementation
(GenImpl)
Yes
Implementation
(Impl)
No
Delegate
Yes
Implementation code
Write implementation code for a business object or property operation
You can write implementation code for a business object or property operation by
using boilerplate source code files. Write an implementation after you have created
an operation and have generated the boilerplate code.
For APIs in C++ signatures, see the C++ API Reference. For information about
creating operations, see Add a business object operation.
Note
PLM00071 J
The C++ API Reference is available only in the Teamcenter HTML Help
Collection. It is not available in the PDF collection.
8-27
Chapter 8
1. Create the operation for which you need to write the implementation.
Property operation
Right-click the custom business object against which you want to write the
property operation, choose Open, click the Operations tab in the resulting
view, click the Property Operations folder, select the custom property against
which you want to write the operation, and click the Add button.
For more information, see Add a property operation.
To change the location where generated code is saved, open the projects
properties. Right-click the project, choose Properties, and select
TeamcenterCode Generation.
For more information, see View Business Modeler IDE template project
properties.
For sample code, see Sample implementation code. For APIs in C++ signatures,
see the C++ API Reference.
8-28
PLM00071 J
Note
The C++ API Reference is available only in the Teamcenter HTML Help
Collection. It is not available in the PDF collection.
The Business Modeler IDE packages the built C++ library as part of its
template packaging. The complete solution that includes the data model
and the C++ run-time libraries are packaged together.
The C++ API Reference is available only in the Teamcenter HTML Help
Collection. It is not available in the PDF collection.
PLM00071 J
8-29
Chapter 8
The following code block demonstrates how interface methods and ITKs can be
called when adding a new operation on the business object.
/**
* checks if the BusinessObject has a valid SAPPartNumber
* @param valid - true if the SAPPartNumber is valid.
* @return - returns 0 is executed successfully.
*/
int CommercialItemImpl::hasValidSAPPartNumberBase( bool &valid )
{
//get the handle to the interface object first.
CommercialItem *cItem = getCommercialItem();
//invoke method on the Interface ( CommericalItem )
ifail = cItem->getSAPPartNumber(sapPartNumber, isNull);
//Write code here to validate the sapPartNumber value
//agaist Business Requirement and update "valid" variable.
//You can also invoke ITK using the tag.
//Use getTag() to get the tag to be passed on to the ITK.
if( ifail == ITK_ok )
{
tag_t cItemTag = cItem->getTag();
//You may write custom code involving ITK calls with input as cItemTag here.
}
return ifail;
//---------------------------------------------------------------------------------// CommercialItemGenImpl::getSAPPartNumberBase
// Base for Accessor of SAPPartNumber
//---------------------------------------------------------------------------------int CommercialItemImpl::getSAPPartNumberBase( std::string &value, bool &isNull ) const
{
int ifail = ITK_ok;
//Add custom code here if needed.
ifail = CommercialItemGenImpl::getSAPPartNumberBase( value, isNull );
//Add custom code here if needed.
return ifail;
}
The following code block demonstrates how a super method is called when
overriding an existing operation from a child business object, and how a getter
operation is added to a property. Normally the super method should be invoked
at the beginning of the overridden method. However, this does not apply to post
methods. The following sample method is a postaction of create and therefore
requires that the super_createPostBase method be called at the end of the
sample.
/**
* desc for createPost
* @param creInput - Description for the Create Input
* @return - return desc for createPost
*/
int CommercialItemImpl::createPostBase( Teamcenter::CreateInput *creInput )
{
int ifail = ITK_ok;
// In addition to the implementation in parent BusinessObject write
// your specific Implementation
if(ifail = ITK_ok)
{
//Add custom code here if needed.
/*
//use getters methods available on OperationInput/CreateInput to access the
//values in CreateInput.
//for example below code gets the SAPPartNumber set by the user during
//the create CommercialItem Action on the create UI.
std::string sAPPartNumber ;
bool isNull = false ;
ifail = creInput->getString("SAPPartNumber",sAPPartNumber,isNull);
//Implement custom code to meet the Business Requirement
*/
}
//Add custom code here if needed.
/*
Custom code
*/
// Call the super createPost to invoke parent implementation
ifail = CommercialItemImpl::super_createPostBase(pCreateInput);
8-30
PLM00071 J
return ifail;
}
Server code
Build server code on Windows
1. Ensure that the build configuration is set properly.
a. Right-click the project and choose Properties.
b.
B. Verify that the build flags in the lower pane are set properly for the
platform you are building on.
The following debug flags are set by default in the Compiler Flags box.
PLM00071 J
Platform
Debug flag
Windows
Solaris
-Zi
-g
AIX
-g
8-31
Chapter 8
c.
Platform
Debug flag
Linux
HP-UX
-ggdb
-g
Mac OS
-g2
Click OK.
Description
Build All
Build Project
Clean
Build Automatically
For more information about these menu options, choose HelpHelp Contents
in the top menu bar and choose the C/C++ Development User Guide in the left
pane of the Help dialog box.
3. Write your code in the implementation files.
For more information, see Write implementation code for a business object or
property operation and Write a service operation implementation.
4. While in the C/C++ perspective, choose ProjectBuild Project to build the
libraries containing server code.
If ProjectBuild Automatically is already selected, code is built automatically
any time the code is changed and saved.
8-32
PLM00071 J
Caution
Services
The process for creating services in the Business Modeler IDE
You can create your own Teamcenter services and service operations using the
Business Modeler IDE.
A service is a collection of service operations that all contribute to the same area of
functionality. A service operation is a function, such as create, checkin, checkout, and
so on. Service operations are used for all internal Teamcenter actions, and are called
by external clients to connect to the server.
PLM00071 J
8-33
Chapter 8
For more information, see the Services Guide and the Services Reference.
Note
When you use the Business Modeler IDE to create your own services and service
operations, follow this process:
1. Set up code generation.
Define where the generated code files are placed.
For more information, see Set up a project for coding.
2. Add a service library.
For more information, see Add a service library.
3. Add a service.
For more information, see Add a service.
4. Add service data types.
For more information, see Introduction to service data types.
5. Add service operations.
For more information, see Add a service operation.
6. Generate service artifacts.
For more information, see Generate service artifacts.
7. Write implementations of the service operations.
For more information, see Write a service operation implementation.
8. Build server and client libraries.
For more information, see Build server and client libraries.
Teamcenter ships with service libraries and interfaces to build applications in Java,
C++, and C# (.NET), allowing you to choose the method that best fits with your
environment. Teamcenter services also ships with WS-I compliant WSDL files for
all operations. To see these libraries, see the soa_client.zip file on the installation
source.
8-34
PLM00071 J
You can create your own XML file, such as services.xml. In the Project Files
folder, right-click the extensions folder and choose OrganizeAdd new
extension file.
2. Choose one of these methods:
On the menu bar, choose BMIDENew Model Element, type Service Library
in the Wizards box, and click Next.
c.
If this library requires other libraries in order to function, click the Add
button to the right of the Dependent On box to select other libraries.
d. Click Finish.
The new library appears under the Services folder.
4. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
5. Create services to go into the library. Right-click the library and choose New
Service.
For more information, see Add a service.
Add a service
A service is a collection of Teamcenter actions (service operations) that all contribute
to the same area of functionality. Before you can add a service, you must create a
service library to place the service into.
Teamcenter ships with its own set of services and service operations to which you
can connect your own client. See the soa_client.zip file on the installation source.
For more information about the entire service creation process, see The process for
creating services in the Business Modeler IDE.
For more information about this soa_client.zip file, see the Services Guide and
the Services Reference.
PLM00071 J
8-35
Chapter 8
Note
In the Name box, type the name you want to assign to the new service.
c.
d. The Library box displays the service library the service is created in.
e.
The Server Namespace displays the namespace the new service has on the
server, for example, Teamcenter::Soa::myServiceLibrary.
f.
Click Finish.
The new service appears under the service library in the Services folder.
5. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
6. Create data types and operations for the service. Right-click the service, choose
Open, and click the Data Types tab or the Operations tab.
For more information, see Introduction to service data types and Add a service
operation.
8-36
Structure
PLM00071 J
Map
Links one type to another. Corresponds to a C++ typedef data type.
Enumeration
Contains a list of possible values. Corresponds to a C++ enum data type.
Service data types are used only by the service library for which they are
created.
For more information about service data types, see Introduction to service
data types.
1. Ensure that you have set the proper active release for the data type. Open the
Extensions\Code Generation\Releases folders, right-click the release, and
choose OrganizeSet as active Release. A green arrow in the release symbol
indicates it is the active release.
For information about creating releases, see Create a release.
2. Expand the Code Generation\Services folders.
3. Under the Services folder, open a service library and select the service to hold
the new data type. You must create a service library and service before you
create a service data type.
For more information, see Add a service library and Add a service.
4. Right-click the service in which you want to create the new data type, choose
Open, and click the Data Types tab.
5. Click the Add button on the Data Types tab.
The Complex Data Type wizard runs.
6. Select Structure and click Next.
7. Perform the following steps in the Structure dialog box:
a. The Project box defaults to the already-selected project.
PLM00071 J
b.
In the Name box, type the name you want to assign to the new data type.
c.
Select the Published check box to make the data type available for use by
client applications. Clear the box to unpublish the type, and to put it into an
Internal namespace. Unpublished types can only be used by unpublished
operations (published can be used by either).
8-37
Chapter 8
d. In the Description box, type a description for the new data type.
e.
Click the Add button to the right of the Data Type Elements table to add
elements to the structure data type.
Perform the following steps in the Structure Element dialog box:
A. In the Name box, type a name for the new element.
B. Click the Browse button on the Type box to select the data type object to
use for the element.
Note
Click the Add button again to add more elements to the structure data type.
The Preview pane shows a preview of the new data type.
g.
Click Finish.
The new data type displays on the Data Types tab. To see the characteristics
of the data type, select it and click Data Type Definition on the right side
of the editor.
8. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
9. Write a service operation that uses the new data type. When you create a service
operation, service data types are shown as Generated data types in the Choose
a Data Type Object dialog box.
For more information, see Add a service operation.
Add a map data type
A map data type is a kind of service data type that links one type to another. It
corresponds to a C++ typedef data type of the std::map form. A map data type
consists of two components, a key type and a value type.
Note
Service data types are used only by the service for which they are created.
For more information about service data types, see Introduction to service
data types.
1. Ensure that you have set the proper active release for the data type. Open the
Extensions\Code Generation\Releases folders, right-click the release, and
choose OrganizeSet as active Release. A green arrow in the release symbol
indicates it is the active release.
For information about creating releases, see Create a release.
8-38
PLM00071 J
Select the Published check box to make the data type available for use by
client applications. Clear the box to unpublish the type, and to put it into an
Internal namespace. Unpublished types can only be used by unpublished
operations (published can be used by either).
c.
In the Description box, type a description for the new data type.
d. Click Browse to the right of the Key Type box to select the key to use for
this map.
Note
e.
Click the Browse button to the right of the Value Type box to select the
value to use for this map.
f.
Click Finish.
The new data type displays on the Data Types tab. To see the characteristics
of the data type, select it and click Data Type Definition on the right side
of the editor.
8. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
9. Write a service operation that uses the new data type. When you create a service
operation, service data types are shown as Generated data types in the Choose
a Data Type Object dialog box.
For more information, see Add a service operation.
PLM00071 J
8-39
Chapter 8
Service data types are used only by the service for which they are created.
For more information about service data types, see Introduction to service
data types.
1. Ensure that you have set the proper active release for the data type. Open the
Extensions\Code Generation\Releases folders, right-click the release, and
choose OrganizeSet as active Release. A green arrow in the release symbol
indicates it is the active release.
For information about creating releases, see Create a release.
2. Expand the Code Generation\Services folders.
3. Under the Services folder, open a service library and select the service to hold
the new data type. You must create a service library and service before you
create a service data type.
For more information, see Add a service library and Add a service.
4. Right-click the service in which you want to create the new data type, choose
Open, and click the Data Types tab.
5. Click the Add button on the Data Types tab.
The Complex Data Type wizard runs.
6. Select Enumeration and click Next.
7. Perform the following steps in the Enumeration dialog box:
a. In the Name box, type the name you want to assign to the new data type.
b.
Select the Published check box to make the data type available for use by
client applications. Clear the box to unpublish the type, and to put it into an
Internal namespace. Unpublished types can only be used by unpublished
operations (published can be used by either).
c.
In the Description box, type a description for the new data type.
d. Click the Add button to the right of the Enumerators box to add enumerators
to the data type.
The New Enumeration Literal wizard runs. Type a value in the Value box
and click Finish.
8-40
e.
Click the Add button again to add more enumerators to the data type.
f.
Click Finish.
PLM00071 J
The new data type displays on the Data Types tab. To see the characteristics
of the data type, select it and click Data Type Definition on the right side
of the editor.
8. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
9. Write a service operation that uses the new data type. When you create a service
operation, service data types are shown as Generated data types in the Choose
a Data Type Object dialog box.
For more information, see Add a service operation.
Teamcenter ships with its own set of services and service operations to
which you can connect your own client. See the soa_client.zip file on the
installation source.
For more information about the soa_client.zip file, see the Services Guide
and the Services Reference.
The Services Reference is available only in the Teamcenter HTML Help
Collection. It is not available in the PDF collection.
1. Ensure that you have set the proper active release for the operation. Open the
Extensions\Code Generation\Releases folders, right-click the release, and
choose OrganizeSet as active Release. A green arrow in the release symbol
indicates it is the active release.
For information about creating releases, see Create a release.
2. Expand the Code Generation\Services folders.
3. Under the Services folder, open a service library and select the service to hold
the new service operation. You must create a service library and service before
you create a service operation.
For more information, see Add a service library and Add a service.
4. Right-click the service in which you want to create the new service operation,
choose Open, and click the Operations tab.
5. Click the Add button on the Operations tab.
The New Service Operation wizard runs.
PLM00071 J
8-41
Chapter 8
Click the Browse button to the right of the Return Type box to select the
data type to be used to return data:
bool
Returns a Boolean value (true or false). The bool data type is a primitive
data type.
For more information about primitive data types, see Primitive data
types reference.
std::string
String from the standard namespace. The std::string data type is an
external data type.
8-42
PLM00071 J
For more information about external data types, see External data types
reference.
Teamcenter::Soa::Server::ServiceData
Returns model objects, partial errors, and events to the client application.
If you select the ServiceData type, include it only in the top-level
structure that a service is returning. The ServiceData data type is an
external data type.
For more information about external data types, see External data types
reference.
You can also create your own structure service data types and select them in
this dialog box.
For information about creating data types, see Introduction to data types.
Note
c.
Select the Published check box to make the operation available for use by
client applications. Clear the box to unpublish the operation and place it
into an Internal namespace.
d. Select the Throws Exception check box if a return error causes an exception
to be thrown.
This enables the Exception Condition button.
e.
To set parameters on the service operation, click the Add button to the right
of the Parameters table. Perform the following steps in the Parameter dialog
box:
A. In the Name box, type a name for the parameter.
B. Click the Browse button to the right of the Type box to select a data
type to hold the parameter.
In the Choose a Data Type Object dialog box, you can select the
following data types to filter out:
Primitive
Generic data types. Only boolean, double, float, and int are
available for services.
For more information about primitive data types, see Primitive data
types reference.
External
Standard data types. Only those listed are available for services;
they are defined by Teamcenter.
For more information about external data types, see External data
types reference.
PLM00071 J
8-43
Chapter 8
Template
Data types that allow code to be written without consideration of the
data type with which it is eventually used. Only vector is available
for services.
For more information about template data types, see Template data
type reference.
Interface
Data types for returning business objects. Only business objects
with their own implementation are selectable. For business objects
without their own implementation, select the closest parent instead.
Generated
Service data types, such as structure, map, and enumeration data
types. Only the data types set up for this service are shown as being
available for this service. However, you can type in the name of
a data type that is in another service as long as it is in the same
service library.
For more information about creating data types, see Introduction to
service data types.
Note
C. Click the arrow in the Qualifier box to select the qualifier for the return
value. Only the valid qualifiers display depending on the type of
parameter selected.
&
Reference variable.
*
Pointer variable.
**
Double pointer. (Pointer to a pointer.)
[]
Array container.
8-44
PLM00071 J
Use correct formatting with fixed and bold text where appropriate.
E. Click Finish.
The Parameters table displays the new parameter.
f.
g.
PLM00071 J
Describe what this operation does. Explain more than simply stating
the method name.
Make the description complete in its usefulness. Keep in mind the client
application developer while writing the content.
Use correct formatting with fixed and bold text where appropriate.
Describe what the output represents and provide high-level details of the
output data. Do not specify only the type of service data returned.
Use correct formatting with fixed and bold text where appropriate.
8-45
Chapter 8
j.
Click the Use Case button to describe how the user interacts with this
operation to accomplish the operations goal. Follow these best practices:
Describe how operations interrelate to satisfy the use case (if there is
interrelation between operations).
Use correct formatting with fixed and bold text where appropriate.
Click the Dependencies button to select the other operations that are used
in conjunction with this operation to accomplish the goal.
k. Click the Teamcenter Component button to select the component you want
to tag this operation as belonging to. Teamcenter Component objects
identify Teamcenter modules that have a specific business purpose.
Tip
Create your own custom components to use for tagging your service
operations. To create your own custom components, right-click
Teamcenter Component in the Extensions folder, choose New
Teamcenter Component, and type the details for the name, display
name, and description. In the Name box, you can either choose
your template name or choose a name to help you easily organize
and identify your set of service operations. After the component is
created, it appears in the list of available components.
The preview pane shows how the operation information appears in the
service API header. If you choose to generate API documentation for services
(for example, using Javadoc), this preview shows you how the documentation
appears when generated.
Click Finish.
The new service operation displays on the Operations tab. To see the
characteristics of the operation, select it and click Operation Definition on
the right side of the editor.
8-46
PLM00071 J
7. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
Bold
Applies a bold font to the selected text. You can also apply bold text by pressing
the CTRL+B keys.
Italics
Applies italicized font to the selected text. You can also apply italicized font
by pressing the CTRL+I keys.
Bullets
Applies bullets to the selected items. You can also apply bullets by pressing
the CTRL+P keys.
Variable
Applies a fixed-width font (such as Courier) to the selected text to designate
that the text is a variable. You can also apply the variable format by pressing
the CTRL+O keys.
Check Spelling
Performs a spell check for the text in the Description Editor dialog box. You can
also perform a spell check by pressing the CTRL+S keys.
PLM00071 J
8-47
Chapter 8
2. Ensure that the code generation environment is set up in the project the way
you want it.
a. Right-click the project folder and choose Properties.
b.
For more information, see View Business Modeler IDE template project properties.
3. To generate code for all services, open the Extensions\Code Generation folders,
right-click the Services folder, and choose Generate CodeService Artifacts. To
generate code only for a particular service library, select only the service library.
Check the Console view to see the progress of the generation.
4. To see the generated files, open the Project Files\src\server\service-library
folders.
Note
You can also locate the generated files in your workspace. To find the
workspace location, choose FileSwitch Workspace. For example, on a
Windows system, they are saved by default to:
install-location\bmide\workspace\
version\project\src
1. Create the operation for which you need to write the implementation.
In the Extensions\Code Generation\Services folder, open a service library.
Right-click the service to hold the new operation, choose Open, click the
Operations tab, and click the Add button.
For more information see Add a service operation.
2. Generate the service artifacts.
Right-click the Services folder and choose Generate CodeService Artifacts. To
generate code only for a particular service library, select only the service library.
For more information about generating service artifacts, see Generate service
artifacts.
8-48
PLM00071 J
In the sample, error-constant is replaced with a constant that maps to the correct
error message in the text server. Typically, you create your own error constants.
Constants can be exposed through ITK (for server code customization) by
addition of the header file in the kit_include.xml file.
Caution
PLM00071 J
8-49
Chapter 8
ServiceData implementation
The ServiceData class is the primary means for returning Teamcenter data model
objects. Objects are sorted in created, deleted, updated or plain lists. These lists
give the client application access to the primary data returned by the service. The
Teamcenter Services server-side framework provides the service implementor access
to the following ServiceData class with methods to add objects to the different lists
(tag_t can be passed to these in place of the BusinessObject tag):
class ServiceData
{
public:
void addCreatedObject ( const BusinessObjectRef<Teamcenter::BusinessObject> obj );
void addCreatedObjects( const std::vector< BusinessObjectRef<Teamcenter::BusinessObject>
>& objs );
void addDeletedObject ( const std::string& uid );
void addDeletedObjects( const std::vector<std::string>& uids );
void addUpdatedObject ( const BusinessObjectRef<Teamcenter::BusinessObject>
obj );
void addUpdatedObjects( const std::vector< BusinessObjectRef<Teamcenter::BusinessObject>
>& objs );
void addUpdatedObject( const BusinessObjectRef<Teamcenter::BusinessObject> obj,
const std::set<std::string>& propNames );
void addPlainObject
( const BusinessObjectRef<Teamcenter::BusinessObject> obj );
void addPlainObjects ( const std::vector< BusinessObjectRef<Teamcenter::BusinessObject>
>& objs );
...
};
void addObject
( const BusinessObjectRef<Teamcenter::BusinessObject> obj );
void addObjects
( const std::vector< BusinessObjectRef<Teamcenter::BusinessObject>
>& objs );
Note
The nature of the Teamcenter data model is such that simply returning the primary
requested objects is not enough. In many instances you must also return the objects
referenced by primary objects. The ServiceData class allows this to be done with
the addObject method. Objects added to the ServiceData class through the
addObject method are not directly accessible by the client application; they are
only accessible through the appropriate properties on the primary objects of the
ServiceData class:
class ServiceData
{
public:
8-50
PLM00071 J
...
void
void
addObject
addObjects
};
The different add object methods on the ServiceData class only add references to
the objects to the data structure. These object references are added without any of
the associated properties. There are two ways for adding object properties to the
ServiceData class: explicitly added by the service implementation, or automatically
through the object property policy. To explicitly add properties use the addProperty
or addProperties method:
class ServiceData
{
public:
...
void addProperty ( const BusinessObjectRef<Teamcenter::BusinessObject> obj,
const std::string& propertyName
);
void addProperties( const BusinessObjectRef<Teamcenter::BusinessObject> obj,
const std::set<std::string>& propNames );
};
PLM00071 J
8-51
Chapter 8
Note
2. Select the project in the Advanced perspective and choose ProjectBuild All
on the menu bar.
You can also perform this step in the C/C++ perspective. The C/C++ perspective
is an environment you can use to work with C and C++ files, as well as to
perform build operations.
The output libraries are generated for all the client bindings, and the server side
library is built. Output library files are placed under the output folder in the
client, server, and types subfolders.
3. After all services are built, you can package them into a template.
On the menu bar, choose BMIDEPackage Template Extensions.
For more information, see Package extensions into a template.
Note
The Business Modeler IDE packages the built C++ library as part of its
template packaging. The complete solution that includes the data model
and the C++ run-time libraries are packaged together.
You define the bindings that are generated when you create a new project.
For more information, see Create a Business Modeler IDE template project.
Server libraries
A server-side library is created with the name
libprefix-service-library-name.library-extension in the output\server\lib
folder.
8-52
PLM00071 J
For example, if a prefix is set to xyz3 and the service library name is MyQuery,
the library file name is libxyz3myquery.dll for Windows servers and
libxyz3myquery.so for UNIX servers.
This library must be deployed into Teamcenter server using Teamcenter
Environment Manager (TEM).
Type library
Type libraries are created for the server side as well as for the client
side. The server-side type library is C++ based, and the format is
libprefix-service-library-nametypes.library-extension.
Based on the binding options specified, the corresponding language type libraries
are also generated. For example, if the client application is a Java application,
the prefix-service-library-nameTypes.jar file must be added to the client
applications class path for using the types defined in the service.
If a prefix is set to xyz3 and the service library name is MyQuery,
the type library file name is libxyz3myquerytypes.dll for Windows
servers and libxyz3myquerytypes.so for UNIX servers. For the Java
client, a xyz3MyQueryTypes.jar file is created, and for the C# client, a
xyz3MyQueryTypes.dll is created.
PLM00071 J
8-53
Chapter 8
A JAR file is created that can be used in rich client customization. The
corresponding type library also must be placed into the class path for consuming
services in the rich client.
The JAR file name is prefix-service-library-nameRac.jar.
WSDL bindings
WSDL files are also generated depending on the option specified,
and the corresponding Axis bindings are created with a
prefix-service-library-nameWsdl.jar naming convention. This must
be deployed onto the Web tier. After it is deployed, client applications can
consume the services using WSDL definitions.
Following is typical usage (for example, if the prefix is xyz3, the solution name is
MyCustom, and the service library name is MyQuery).
Deploy- Language/
ment
Technology
Server
C++
libxyz3myquery.dll
libxyz3myquerytypes.dll
libxyz3myquery.so
libxyz3myquerytypes.so
Client
C++
libxyz3myquerystrong.dll
libxyz3myquerytypes.dll
libxyz3modelmycustom.dll
libxyz3myquerystrong.so
libxyz3myquerytypes.so
libxyz3modelmycustom.so
Client
C++ Smart
pointer version
libxyz3myquerystrongmngd.dll libxyz3myquerystrongmngd.so
libxyz3myquerytypes.dll
libxyz3myquerytypes.so
libxyz3modelmycustommngd.dll libxyz3modelmycustommngd.so
Client
Java Strong
xyz3MyQueryStrong.jar
xyz3MyQueryTypes.jar
xyz3StrongModelMyCustom.jar
xyz3MyQueryStrong.jar
xyz3MyQueryTypes.jar
xyz3StrongModelMyCustom.jar
Client
Java Loose
xyz3MyQueryLoose.jar
xyz3MyQueryTypes.jar
xyz3MyQueryLoose.jar
xyz3MyQueryTypes.jar
Client
C#
xyz3MyQueryStrong.dll
xyz3MyQueryTypes.dll
xyz3StrongModelMyCustom.dll
Client
Rich client
xyz3MyQueryRac.jar
xyz3MyQueryTypes.jar
xyz3StrongModelMyCustom.jar
xyz3MyQueryRac.jar
xyz3MyQueryTypes.jar
xyz3StrongModelMyCustom.jar
Client
WSDL
xyz3mycustomWsdl.jar
xyz3mycustomWsdl.jar
8-54
PLM00071 J
Extensions
Introduction to extensions
An extension is a business rule that adds predefined behavior to a business object
operation and fires as a precondition, preaction, or postaction. An extension is an
independent function. It is defined and made available for attachment to a specific
operation of a business object as a precondition, preaction, or postaction.
Extensions allow you to write a custom function or method for Teamcenter in C or
C++ and attach the rules to predefined hook points in Teamcenter. After defining an
extension, it can be assigned to a business object or a property so that it is invoked
at a particular point (on a precondition, preaction, base action or postaction on the
object). This is done through the Extensions Attachment link in the Operations
tab for a business object.
To see extensions defined for business objects, right-click a business object, choose
Open, and click the Operations tab in the resulting editor. The available C++
style signature operations for the business object are found in the Operations
folder, whereas operations from previous versions of Teamcenter are in the Legacy
Operations folder at the bottom of the Operations folder. Available operations for
the properties are found in the Property Operations folder. To see the extension
points defined for an operation, select the operation and click the Extensions
Attachments link on the lower right side of the tab.
Note
All the operations in the Legacy Operations folder will be migrated in the
future and will be available under the Operations folder. For example, the
ITEM_create operation under the Legacy Operations folder will be migrated
to the create(datatypes) operation under Operations folder. Siemens PLM
Software recommends that from now on you attach pre/postactions on the
create(datatypes operations instead of on the ITEM_create operation. All the
existing pre/postactions already attached on the ITEM_create operation
continue to work.
You can also use predefined extensions to perform actions. The predefined extensions
rules can be viewed under the Extensions\Rules\Extensions folder.
For reference information about extensions, see Extensions reference.
Note
PLM00071 J
8-55
Chapter 8
Define an extension
An extension is a business rule that adds pre-defined behavior to a business object
operation and fires as a pre-condition, pre-action, or post-action. When you define an
extension, you identify the parameters passed to the extension when it is executed,
and how the extension is made available to other business objects.
1. Open the Extensions\Rules folders.
2. Right-click the Extensions folder and choose New Extension Definition.
The New Extension Definition wizard runs.
3. Perform the following steps on the Extension dialog box:
a. The Project box defaults to the already-selected project.
b.
4. Click the arrow in the Language box and choose the programming language of
the function, either C or C++.
5. Click the Browse button to the right of the Library box to select the library that
contains the function.
For information about creating libraries, see Create a library.
Note
6. If there are parameters to be passed to the extension, click the Add button to
the right of the Parameter List table.
Perform the following steps in the Extension Parameter dialog box:
a. In the Name box, type a name for the parameter.
b.
8-56
Click the arrow in the Type box to select the parameter type as String,
Integer, or Double.
PLM00071 J
c.
Select the Mandatory check box if the parameter is mandatory (that is, the
value for that parameter cannot be null).
d. Select one of the following Suggested Value options to select the type of
value for the parameter:
None if you type the argument value manually when assigning the
extension.
TcQuery if the values are derived from the results of a saved query.
e.
If you selected TcLOV, click the Browse button to the right of the LOV Name
box to locate the list of values for the parameter.
f.
If you selected TcQuery, click the Browse button to the right of the Query
Name box to locate the saved query.
The Teamcenter Repository Connection wizard prompts you to log on to a
server to look up its available saved queries.
For more information about setting up a server profile for the Teamcenter
Repository Connection wizard, see Add a server connection profile.
g.
Click Finish.
The parameter is added to the Parameter List table.
7. Click the Move Up or Move Down buttons to change the order in which the
parameters are passed.
8. To define availability of the extension to business objects, click the Add button
to the right of the Availability table.
The New Extension Availability wizard runs.
Perform the following to define availability of the extensions:
a. Click the Browse button to the right of the Business Object Name box to
choose the business object on which to place the extension. Availability
defined for a business object applies to its children.
Note
User exits also display in this list, so that you can make a user exit
available for use by the new extension.
b.
c.
If you selected Property, click the arrow in the Property Name box to select
the property.
d. Click the arrow in the Operation Name box to select the operation to place
on the business object. The list includes both legacy and new operations for
that business object. The new operations have the C++ style signature.
PLM00071 J
8-57
Chapter 8
For information about how to create operations, see Add a business object
operation.
e.
Click the arrow in the Extension Point box to select the point as a
PreCondition, PreAction, or PostAction action.
Pre/post conditions for an operation are controlled during operation creation
time. For example, if a precondition is enabled for the XYZ(data-types)
operation during its creation time, then the availability wizard shows the
precondition for that operation only.
f.
Click Finish.
The validity item is added to the Availability table.
9. Click Finish.
The extension is added to the Extensions folder.
10. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
11. Now that you have added the extension, you can assign it to business objects
or business object properties.
For more information, see Assign an extension.
Assign an extension
After you define an extension, you can assign it to a business object or a property so
that it is invoked at a particular point (on a pre-condition, pre-action, base action, or
post-action on the object).
To see extensions operations defined for business objects, right-click a business
object, choose Open, and click the Operations tab in the resulting editor. To see
the extension points defined for an operation, select the operation and click the
Extensions Attachments link in the lower right side of the editor.
For reference information about extensions, see Extensions reference.
1. In the Business Objects folder, right-click the business object you have made
available on the extension, choose Open, and click the Operations tab in the
resulting editor.
Note
You must have already made the rule available to the business object or
property in the Availability table in the New Extension wizard.
For more information, see Define an extension.
2. If you are assigning the rule to a business object, open the Operations folder
and select the operation you have made available on the extension. (Open the
Legacy Operations to see more operations.)
If you are assigning the rule to a business object property, open the Properties
folder and select the property and operation you want to assign.
8-58
PLM00071 J
3. To see the extension points defined for an operation, select the operation and
click the Extensions Attachments link in the lower right side of the editor.
Choose the point at which you have made the operation available to run:
Pre-Condition, Pre-Action, Base-Action, or Post-Action.
Note
c.
Click the Browse button to the right of the Condition box to select the
condition that determines when the extension is applied. If you select isTrue
as the condition, the value always applies.
Note
6. Now that you have assigned the extension, you must write the code.
For more information, see Write extension code.
PLM00071 J
8-59
Chapter 8
You may need to right-click in the view and choose Refresh to see the
files that were generated.
c.
8-60
PLM00071 J
PLM00071 J
8-61
Chapter 8
c.
d. Click Finish.
The extension is added to the postaction.
The library file is saved as libH2libext. XML entries store the exact name
of the library without the library extension (.dll, .so, and so on).
4. Implement the H2FolderPostAction extension.
a. Right-click the H2FolderPostAction extension and choose Generate
extension code.
The extension boilerplate code is generated into a H2FolderPostAction.cxx
C++ file and a H2FolderPostAction.hxx header file. To see these
files, open the project in the Navigator view and browse to the
output\server\gensrc\H2libext\ directory.
Note
b.
8-62
You may need to right-click in the view and choose Refresh to see
the files that were generated.
PLM00071 J
#include <H2libext/H2FolderPostAction.hxx>
#include <stdio.h>
#include <stdarg.h>
#include <ug_va_copy.h>
#include <CreateFunctionInvoker.hxx>
using namespace Teamcenter;
int H2FolderPostAction (METHOD_message_t* msg, va_list args)
{
std::string name;
std::string description;
bool isNull;
// printf("\t +++++++++++ In H2FolderPostAction() ++++++++++\n");
va_list local_args;
va_copy( local_args, args);
CreateInput *pFoldCreInput = va_arg(local_args, CreateInput*);
pFoldCreInput->getString("object_name",name,isNull);
pFoldCreInput->getString("object_desc",description,isNull);
// Write custom business logic here
va_end( local_args );
return 0;
}
The symbol should not be mangled (C++). The output should look similar
to the following:
11471 00002BE0 H2FolderPostAction = _H2FolderPostAction
b.
PLM00071 J
8-63
Chapter 8
c.
Click the Add button in the Parameter List table. Now create the Company
ID parameter.
A. In the Name box, type Company ID.
B. In the Type box, select Integer.
C. Clear the Mandatory check box to make the parameter optional.
8-64
PLM00071 J
D. Click Finish.
7. Modify the availability of this extension.
a. Click the Add button in the Availability table. The Extension Availability
dialog box is displayed.
A. Click Browse in the Business Object Name box and select Item.
B. In the Business Object or Property area, select the Type check box.
C. In the Operation Name box, select ITEM_Create.
D. In the Extension Point box, select PostAction.
E. Click Finish.
b.
PLM00071 J
8-65
Chapter 8
You may need to right-click in the view and choose Refresh to see the
files that were generated.
3. Using the generate boilerplate code files, create the custom code. Following
are examples.
#include "bmf_extension_workflow_sample.h"
int getArgByName(BMF_extension_arguments_t* p,
int
arg_cnt,
const char*
paramName)
{
int i;
for (i =0; i < arg_cnt; i++)
{
if (tc_strcmp(paramName, p[i].paramName) == 0)
{
return i;
}
}
return -1;
}
int bmf_extension_workflow_sample(METHOD_message_t* msg,
va_list args)
{
int ifail = ITK_ok;
tag_t item_tag = NULLTAG;
tag_t rev_tag = NULLTAG;
char * item_id;
char * item_name;
char * type_name;
char * rev_id;
tag_t * new_item;
tag_t * new_rev;
char relproc[BMF_EXTENSION_STRGVAL_size_c + 1];
int no_args;
char job_desc[WSO_desc_size_c + 1] = {\0};
char job_name[WSO_name_size_c + 1] = {\0};
tag_t job_tag = NULLTAG;
char* bm_operation_name = 0;
char* bm_type_name = 0;
char* bm_property_name = 0;
Input_Params_t* params = NULL;
BMF_extension_arguments_t* tmpparam = NULL;
int paramCount =0;
int companyid = 0;
int attachment_type;
tag_t template_tag = NULLTAG;
tag_t allocation_tag = NULLTAG;
char *allocation_obj = NULL;
BMF_extension_arguments_t *input_args = NULL;
int index;
int divisionid;
/********************/
/* Initialization */
/********************/
//Get the parameters from the ITEM_create_msg
item_id = va_arg( args, char *);
8-66
PLM00071 J
PLM00071 J
8-67
Chapter 8
#include bmf_extension_workflow_sample.h
Any source code functions that need to be written to support the custom
extension based functionality. In the sample, there are two functions:
int getArgByName(
BMF_extension_arguments_t*
int
const char*
p,
arg_cnt,
paramName)
bmf_extension_workflow_sample(
METHOD_message_t* msg,
va_list
args);
Retrieve the message parameters for the current operation using va_arg.
In this example, the current operation is ITEM_create_msg. There are
four character strings (pointers) and two tag_t pointers to retrieve. This
data represents item ID, item name, type name, revision ID, new item, and
new revision, respectively.
Retrieve the custom extension parameters from the user parameters of the
message using the BMF_get_user_params function. In this example, the
custom extension is bmf_extension_workflow_sample. There is one
mandatory character string value and one optional integer value to retrieve.
This data represents Release Process and Company ID, respectively.
Note
Process each of the individual extension parameters that have been retrieved
into the array of BMF_extension_arguments_t structures.
Call the getArgByName local function to retrieve the appropriate value for
each data element and assign it to the appropriate variable.
The source code needs to be able to handle optional parameters that were
not assigned on a particular extension point.
Now all of the data from the message and from the custom extension should
be available to you. Write the rest of the ITK functionality to accomplish
the goal.
#ifndef BMF_SAMPLE_C_2
#define BMF_SAMPLE_C_2
#include "bmf_extension_utils.h"
#include <epm/epm.h>
#include <itk/bmf.h>
8-68
PLM00071 J
#include <bmf/libuserext_exports.h>
extern USER_EXT_DLL_API int
bmf_extension_workflow_sample(METHOD_message_t*
va_list
#include <bmf/libuserext_undef.h>
#endif // BMF_SAMPLE_C_2
msg,
args);
#include itk/bmf.h
Contains the structure definition (BMF_extension_arguments_t) required
for processing user parameter data. This is processed as an array of these
structures by the developer.
typedef struct BMF_extension_arguments_s
{
char paramName[BMF_EXTENSION_ARGNAME_size_c + 1];
union val_union
{
int
int_value;
double double_value;
char
str_value[BMF_EXTENSION_STRGVAL_size_c + 1];
}arg_val;
} BMF_extension_arguments_t;
paramName
Contains the value of the Name box entered by the administrator in
the Parameter Details dialog box when defining the extension through
the Business Modeler IDE application. In the example, there are two:
Release Process and Company ID.
val_union
Contains the actual value defined for the specified paramName
when the administrator assigns the extension to an entry point in the
Argument Panel for extension on the Assign Extension tab (made up of
only one of the three value definitions at one time based on the type of
value). In the example, Release Process is a mandatory String, and
Company ID is an optional Integer. A mandatory value is always
present. An optional value may or may not be present.
Contains the ITK function definition (BMF_get_user_params defined
in the bmf.h file) required for retrieving the user parameter data of
the custom extension. This ITK function returns a row count and an
array of all the existing user parameter name/value pairs (using the
BMF_extension_arguments_t structure described above) from the input
METHOD_message_t structure. This array of structures needs to be freed
by the ITK developer using a call to the MEM_free function.
#include bmf/libuserext_exports.h
Contains definitions required for processing.
#include bmf/libuserext_undef.h
Contains the symbol definition processing required for the user extension
API.
PLM00071 J
8-69
Chapter 8
Any additional #include lines that need to be defined for the custom
extension based on functionality. In the sample, the epm/epm.h file is
required because of the workflow processing functionality it is using.
USER_EXT_DLL_API
extern USER_EXT_DLL_API custom-extension-function
The message data and custom extension user data are independent of each
other so it does not matter which is processed first. However, they should be
processed together as a set.
You are expected to know the data that exists for the message. This includes
data types and the retrieval order so this data can be processed properly using
va_arg.
You are expected to know the user data that exists for the custom extension. This
includes data types and whether each data element is mandatory or optional
so that this data can be processed properly after the BMF_get_user_params
function is used to retrieve this data.
Use the compile scripts (discussed below) and specify multiple targets to
be compiled.
Execute the link script once to produce the library containing these
extensions.
8-70
PLM00071 J
If there are errors, they show up between the create and link lines.
PLM00071 J
8-71
Chapter 8
Pre-Condition
Places limits before an action. For example, limit individual users by their work
context to create only a certain item type. Pre-conditions are executed first in an
operation dispatch. If any of the pre-conditions fails, the operation is aborted.
Typical examples of pre-conditions are naming rules.
Pre-Action
Executes code before an action. For example, add user information to the session
prior to translation. Pre-actions are executed after pre-conditions and before the
base action. If any of the pre-actions fail, the operation is aborted. A typical
example is an initial value rule that needs to set an initial value before the
save base action is invoked.
Base-Action
Executes code for an action. The base action is the actual operation
implementation, and cannot be replaced. Base-Action is used only for user
exits operations.
For more information, see Working with user exits.
Post-Action
Executes code after an action. For example, automatically start an item in a
workflow. If any of the post-actions fail, the operation is aborted.
8-72
PLM00071 J
for which you want to use the extension, and observe the extension point where
it can be used.
PLM00071 J
8-73
Chapter 8
Attaching an extension
8-74
PLM00071 J
9. Click Finish.
The extension is added to the table under the extension point.
10. Save the data model by choosing BMIDESave Data Model on the menu bar,
and deploy the data model by choosing BMIDEDeploy Template.
Verify that the extensions work as expected in the Teamcenter rich client.
For example, if you use the predefined createObjects extension definition to
automatically create a dataset whenever a certain item type is created, verify
that the dataset is created in the My Teamcenter application.
Note
To work with user exits, right-click a user exit and choose Open Extension Rule.
You can add actions on the right side of the editor. The Base-Action section is only
shown for user exits operations.
For more information about using the Extension Rules editor, see User Exits
(Extension Rules) editor. For more information about extension rules, see
Introduction to extensions.
You can make a user exit available for use when you define an extension rule.
Right-click the Extensions folder, choose New Extension Definition, click the Add
button to the right of the Availability table, and click the Browse button on the
Business Object Name box. The user exits display on the list along with business
objects.
For more information, see Define an extension.
For additional information about ITK user exits, see the Integration Toolkit Function
Reference and the Server Customization Programmers Guide.
Note
Extensions reference
Extensions allow you to use custom functions and predefined methods to extend
Teamcenter behavior.
For information about creating extensions, see Introduction to extensions.
Messages, methods, and method registrations are stored in the database as
operations, extensions, and extension points, which can be defined and configured
PLM00071 J
8-75
Chapter 8
using the Business Modeler IDE. This methodology supports the C and C++ APIs
and uses database storage that allows the reuse of extensions.
Before proceeding further, you should become familiar with some terms. Extensions
allow you to configure system behavior by applying extensions to extension points
that are related to business operations in Teamcenter. Business operations are
actions performed in the system, such as creating and saving an item, fetching
or setting a property value, or invoking a user exit. Extension points are events
in the system, such as a postaction on an operation or a user exit, that allow you
to implement custom behavior. Extensions contain information about functions
associated with Teamcenter business objects and properties.
Business operations can expose one or more extensions points, which can contain
zero or more extensions. Extensions within an extension point display the following
characteristics:
Each extension can have a set of arguments that is unique within the extension
point.
External extensions can be configured in the same manner as the core extensions
delivered with Teamcenter.
An extension can be included more than once in a single extension point with
different arguments, and can also be included in multiple extension points
depending on availability.
User exit operations can only be configured from the base extension point (that
is, pre-condition, pre-action, and post-action extension points are not available).
Operations reference
Operations are actions you can perform in Teamcenter. When you assign an
extension to a business object or property, you can call an operation on that business
object or property.
For more information about creating and assigning extensions, see Introduction
to extensions.
To see operations defined for business objects, right-click a business object, choose
Open, and click the Operations tab in the resulting view. The available operations
for the business object are found in the Operations folder, and available operations
for the properties are found in the Properties folder.
To see details on an operation, open the Operations folder and select an operation.
Details display in the Operation Definition pane on the right side of the editor.
Under the Operations folder you can find the Legacy Operations folder. The
following table lists legacy operations on business objects.
8-76
Operation
Description
AE_create_dataset
PLM00071 J
PLM00071 J
Operation
Description
AE_delete_dataset
AE_export_file
AE_import_file
AE_save_dataset
BOM_variant_config
ECM_create_supercedure
ECM_delete_supercedure
GRM_create
IMAN_delete
IMAN_export
IMAN_import
IMAN_refresh
IMAN_save
IMANTYPE_create
IMANTYPE_create_props
IMANTYPE_init_user_props
IMANTYPE_viewer_props
ITEM_baseline_rev
ITEM_copy_rev
ITEM_copy_rev_to_existing
ITEM_create
ITEM_create_from_rev
8-77
Chapter 8
Operation
Description
ITEM_create_rev
ITEM_deep_copy
copy_as_object
A new object is created from the existing
attachment object. The newly created
object has distinct behavior different
from its parent.
copy_as_reference
A symbolic link is created between the
attachment of the parent item revision
and the newly created item revision. If
the attachment of the parent changes,
the newly created item revisions
corresponding attachment also changes.
no_copy
The attachment is detached from the
newly created item revision.
8-78
LOV_ask_disp_values
LOV_ask_num_of_values
LOV_ask_value_descriptions
LOV_ask_values
LOV_ask_values_by_coworker
LOV_create
LOV_insert_values
LOV_is_valid
LOV_set_usage
LOV_set_value_descriptions
LOV_set_values
LOV_valid_by_coworker
ME_create_processoperation
ME_clone_template_action
OBJIO_SM_create
PLM00071 J
Operation
Description
WSO_copy
WSO_create
To see operations on properties, open the Property Operations folder and click the
plus (+) button to the left of a property. The operations are shown attached to
the properties. The following table lists available operations on business object
properties.
PLM00071 J
Operation
Description
PROP_ask_lov_chars
PROP_ask_lov_dates
PROP_ask_lov_doubles
PROP_ask_lov_ints
PROP_ask_lov_logicals
PROP_ask_lov_strings
PROP_ask_lov_tags
PROP_ask_value_char
PROP_ask_value_char_at
PROP_ask_value_chars
PROP_ask_value_date
PROP_ask_value_date_at
PROP_ask_value_dates
PROP_ask_value_double
PROP_ask_value_double_at
8-79
Chapter 8
Operation
Description
PROP_ask_value_doubles
PROP_ask_value_int
PROP_ask_value_int_at
PROP_ask_value_ints
PROP_ask_value_logical
PROP_ask_value_logical_at
PROP_ask_value_logicals
PROP_ask_value_string
PROP_ask_value_string_at
PROP_ask_value_strings
PROP_ask_value_tag
PROP_ask_value_tag_at
PROP_ask_value_tags
PROP_is_modifiable
8-80
PROP_set_value_char
PROP_set_value_char_at
PLM00071 J
PLM00071 J
Operation
Description
PROP_set_value_chars
PROP_set_value_date
PROP_set_value_date_at
PROP_set_value_dates
PROP_set_value_double
PROP_set_value_double_at
PROP_set_value_doubles
PROP_set_value_int
PROP_set_value_ints
PROP_set_value_int_at
PROP_set_value_logical
PROP_set_value_logical_at
PROP_set_value_logicals
PROP_set_value_string
PROP_set_value_string_at
PROP_set_value_strings
PROP_set_value_tag
PROP_set_value_tag_at
PROP_set_value_tags
8-81
Chapter 8
Operation
Description
PROP_UIF_ask_value
PROP_UIF_set_value
PROP_validate_lov_char
PROP_validate_lov_date
PROP_validate_lov_double
PROP_validate_lov_int
PROP_validate_lov_logical
PROP_validate_lov_string
PROP_validate_lov_tag
Operation
Extension point
IMAN_import
PostAction
IMAN_save
ITEM_create_from_rev
8-82
PLM00071 J
Type
Operation
Extension point
IMAN_save
PostAction
ITEM_baseline_rev
ITEM_copy_rev
ITEM_copy_rev_to_existing
AE_save_dataset
PostAction
IMAN_save
PostAction
If a current project is not specified for the user, this extension is ignored
and the object is not automatically assigned. In addition, when the
autoAssignToProject extension is configured for an item or ECO, the
project name is preselected in the Assign to Projects page of the item or
ECO create, revise, and save as dialog boxes.
PLM00071 J
8-83
Chapter 8
Scenario
The autoAssignToProject
extension is configured for types
P (primary object) and types S
(secondary object). In addition, the
Requirements relation is defined
as a propagation rule. The user
creates an object of type P and
an object of type S. After creating
the objects, the user attaches the
secondary object to the primary
object using the Requirements
relationship.
8-84
PLM00071 J
BulkPropertyContextData.hxx file.
c.
d. Implement the extension function that registers the bulk loader function
with the bulk property retrieval framework, for example:
Int registerBulkLoaderPostAction(METHOD_message_t *, va_list args)
{
int ifail = ITK_ok;
va_list largs;
va_copy( largs, args );
tag_t type_tag = va_arg( largs,tag_t);
va_end( largs );
TCTYPE_ask_name( typeTag, typeName );
if( strcmp( typeName, BOMLine ) == 0 )
{
//Register the same bulk-loader for all the properties of each absocc Form BO
TCTYPE_ask_property_by_name(type_tag, propNames[i], &pd );
logical invokeOnce = true;
PROPDESC_register_bulk_loader( pd, invokeOnce,
pipeAbsoccBulkLoaderFn );
}
}
PLM00071 J
);
8-85
Chapter 8
b.
if( PROPDESC_is_bulk_loading_context() )
{
AbsoccBulkContextData* pipeBulkContextData =
static_cast<AbsoccBulkContextData
*> (PROPDESC_ask_bulk_prop_context_data( m ));
if( pipeBulkContextData != 0 ) {
absoccFormTag = pipeBulkContextData->find( bomLineTag );
}
}
else {
//Existing query code to find the absocc form
}
//Check if abosoccFormTag can be NULLTAG
}
8-86
PLM00071 J
Chapter
PLM00071 J
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
9-22
9-22
9-24
9-26
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
9-28
9-33
9-34
9-34
9-34
9-34
9-35
9-35
9-36
9-36
9-37
9-37
9-38
9-38
9-39
9-39
9-40
9-40
9-41
9-41
9-41
9-42
9-42
9-43
9-43
9-44
9-44
9-45
9-45
9-45
9-46
9-46
9-47
9-47
9-48
9-48
9-49
9-49
9-50
9-50
9-50
9-51
9-51
9-52
9-52
9-53
9-53
9-54
9-54
9-55
9-55
9-55
9-56
9-56
PLM00071 J
isChangeReviewBoardAssignable . .
isChangeSpecialist1 . . . . . . . . . . .
isChangeSpecialist1Assignable . . . .
isChangeSpecialist2 . . . . . . . . . . .
isChangeSpecialist2Assignable . . . .
isChangeSpecialist3 . . . . . . . . . . .
isChangeSpecialist3Assignable . . . .
isCm0DevRqstCreatable . . . . . . . .
isEffectivityCreatableForChange . .
isImpactedItemRevisableForChange
isImpactedItemRevisableForTask . .
isProblemReportCreatable . . . . . . .
isRequestor . . . . . . . . . . . . . . . . . .
isRequestorAssignable . . . . . . . . . .
isRollUpCommittable . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
9-56
9-57
9-57
9-58
9-58
9-59
9-59
9-59
9-60
9-60
9-61
9-61
9-61
9-62
9-62
Classification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-63
Configure Classification using the Business Modeler IDE . . . . . . . . . . . . . 9-63
Dimensional Planning and Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-63
Configure Dimensional Planning and Validation (DPV) using the Business
Modeler IDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-63
Configure DPV to automatically attach forms . . . . . . . . . . . . . . . . . . . . . 9-63
Manufacturing Process Planner . . . .
Configure Manufacturing Process
IDE . . . . . . . . . . . . . . . . . . . .
3D PDF business objects . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-70
Planner using the Business Modeler
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-70
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-70
Multi-Structure Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configure Multi-Structure Manager using the Business Modeler IDE
Automatically aligning CAD designs and parts . . . . . . . . . . . . . . . .
Configure the automateAndLink extension . . . . . . . . . . . . . . . . . . .
Using conditions with the automateAndLink extension . . . . . . . . . .
Create a condition asking whether to create a part . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
9-71
9-71
9-71
9-71
9-80
9-81
PLM00071 J
. . . . . . 9-88
. . . . . . 9-88
. . . . . . 9-88
. . . . . . 9-91
. . . . . . 9-93
. . . . . . 9-94
Structure Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configure Structure Manager using the Business Modeler IDE
Configuring BOM grading . . . . . . . . . . . . . . . . . . . . . . . . . .
Add custom properties to BOM columns . . . . . . . . . . . . . . . .
Create conditions to control permitted structure content . . . . .
Control parent-child product structures . . . . . . . . . . . . . . . .
Control structures based on properties . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 9-95
. 9-95
. 9-95
. 9-96
9-100
9-101
9-106
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
9-119
9-119
9-119
9-120
Validation Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configure Validation Manager using the Business Modeler IDE
Validation Manager business objects . . . . . . . . . . . . . . . . . . . .
Validation Manager properties . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
9-127
9-127
9-128
9-129
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
9-130
9-130
9-130
9-131
9-137
PLM00071 J
Chapter
Before working with 4GD objects, you must install the following templates
to your project:
For instructions about how to add a template to your project, see Add a
template to a Business Modeler IDE project.
PLM00071 J
9-1
Chapter 9
Click the Properties tab, click the Add button, select Compound, and click
Next.
c.
Click the GRM Rules tab and click the Add button to the right of the table.
c.
Cpd0DesignElement
Secondary Object
Relation Object
Mdl0AttachAttrGroup
Primary Cardinality
Secondary Cardinality
Changeability
Changeable
Attachability
Unrestricted
Detachability
Unrestricted
5. Create new forms or use existing forms to hold the properties. For example,
create a form named A2attrGrpForm.
9-2
PLM00071 J
Expose the forms on a BOM line as a BOM line property by adding the forms
to the BOMLineAbsOccCompProperties global constant.
Use this format:
FORM::relation-type::form-type::OBJECT::bomline-property-name
Replace relation-type with the name of the relationship from the BOM line or
its item revision, replace form-type with the form type associated to the BOM
line, and replace bomline-property-name with the BOM line property name
that gives a reference to the form.
For example:
FORM::IMAN_reference::A2attrGrpForm::OBJECT::bl_A2attrGrpForm
c.
Map the BOM line property to the design element property in the
Cpd0DEToBOMPropertyMapping global constant. For example:
bl_A2attrGrpForm:a2DE_attrGrp_a2mfgAttr
This global constant determines how to copy and compare each attribute on
an attribute group to configured forms attribute on a BOM line.
7. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
8. Deploy your changes to the test server. Choose BMIDEDeploy Template on the
menu bar, or select the project and click the Deploy Template button
the main toolbar.
on
PLM00071 J
9-3
Chapter 9
Access Manager
Configure Access Manager using the Business Modeler IDE
Access Manager defines rules that control who can access objects. Use the Business
Modeler IDE to create custom objects used by the Access Manager application.
COTS Access Manager objects are provided by the Foundation template. No
additional templates are needed.
For more information about Access Manager, see the Access Manager Guide.
Privilege name
Specifies the unique identifier that Teamcenter uses to store privileges in the
database. (The display name of the privilege name property is maintained in
the Business Modeler IDE.)
Privilege token
Specifies the single-letter mnemonic for that privilege (for example, R is the
token for the default read privilege).
NAME is the name and T is the single-letter token you define for
this new custom privilege.
2. Add the new privilege to the database using the Business Modeler IDE by
adding children to the AM_privileges business object.
ADA License
Configure ADA License using the Business Modeler IDE
ADA License provides support to enforce the International Traffic in Arms
Regulations (ITAR) and intellectual property (IP) policies using authorized data
access (ADA) licenses. Use the Business Modeler IDE to create custom objects used
by the ADA License application. COTS ADA License objects are provided by the
Foundation template. No additional templates are needed.
9-4
PLM00071 J
For more information about ADA License, see the Authorized Data Access License
Guide.
You can use a process similar to the following to add a list of citizenships
to the User Citizenships box in the ADA License application by
using the Business Modeler IDE to attach a list of values to the
fnd0user_citizenships property on the ADA_License business object.
1. To see the available default categories in the ADA License application, click
the arrow in the Category box.
PLM00071 J
9-5
Chapter 9
9-6
PLM00071 J
PLM00071 J
If you want to create your own set of license categories in another list of
values, you can attach your custom LOV to the fnd0license_category
property and use it instead of the Fnd0ADALicenseCategories LOV.
9-7
Chapter 9
9-8
PLM00071 J
b.
c.
When the end user opens the ADA License application and selects a
license type in the License Type box, the corresponding categories
appear in the Category box.
PLM00071 J
9-9
Chapter 9
c.
d. When the end user logs on to the ADA License application as a member
of a user group, the categories belonging to that user group appear in
the Category box.
Before working with Aerospace and Defense objects, you must install the
following templates to your project:
For instructions about how to add a template to your project, see Add a
template to a Business Modeler IDE project.
ADSDesign
Represents the geometric data of a component or assembly. This is a child of
the Design business object.
ADSDrawing
Represents a drawing for a technical document. This is a child of the Drawing
business object.
ADSPart
Represents a component of a product. This is a child of the Part business object.
9-10
ADSTechDocument
PLM00071 J
CommercialPart
Represents the common-use parts that have been identified as standard design
by a company, an industry, or the military. This is a child of the Part business
object.
ADS_Lists_Parts
Represents the association between a technical document revision and an
ADS part or ADS design item.
ADS_Lists_PartRevisions
Represents the association between a technical document revision and ADS
part revisions or ADS design revisions.
ADS_Lists_DrawingRevisions
Represents the association between a technical document revision and an
ADS drawing revision.
TC_Program_Preferred_Parts
Represents the association between a standard part and a program.
Note
The following properties control use of location codes, which are used in
Aerospace and Defense:
fnd0CurrentLocationCode
Sores the current location code for the item revision. This property is
found on the ItemRevision business object.
fnd0LocationCodePref
Automatically assigns the original location code to an item when it
is initially created. This property is found on the TC_UserContext
business object.
fnd0LocationType
Captures location type for a company location. This property is found on
the CompanyLocation business object.
fnd0OriginalLocationCode
Stores the original location for the item. This property is found on the
Item business object.
This property is optional by default. You can make it required using the
Required property constant on Aerospace and Defense business objects
(for example, on the ADSPart, ADSDesign, ADSTechDocument,
ADSDrawing, Ads0StdNote, or Ads0CustomNote business objects).
PLM00071 J
9-11
Chapter 9
For more information about using location codes, see the Aerospace and
Defense Solution Guide.
As-Built Manager
Configure As-Built Manager using the Business Modeler IDE
Use the Business Modeler IDE to create custom objects used by the As-Built
Manager application.
For more information about how to use the Business Modeler IDE to configure
As-Built Manager, see the As-Built Manager Guide.
Before working with As-Built Manager objects, you must install the following
templates to your project:
Note
For instructions about how to add a template to your project, see Add a
template to a Business Modeler IDE project.
Audit Manager
Configure Audit Manager using the Business Modeler IDE
System administrators use Audit Manager to create audit logs. Audit logs track
what information has changed and who has changed the information. Use the
Business Modeler IDE to create custom objects used in the Audit Manager. COTS
Audit Manager objects are provided by the Foundation template. No additional
templates are needed.
For more information about Audit Manager, see the Audit Manager Guide.
Use the Business Modeler IDE to create custom audit events, event mapping, and
audit definition objects used in the Audit Manager. To create these objects, in
the Extensions folder, open the Audit Manager folder and right-click the Audit
Definitions, Event Type Mappings, or Event Types folders and choose the New
command.
The typical flow for creating Audit Manager objects is as follows:
1. Ensure that the TC_audit_manager preference is set to ON.
2. Ensure that the TC_audit_manager_version preference is set to 3.
Note
9-12
Use the 1 value for legacy auditing (only workflow, checkout, and checkin
auditing) and the 2 value to use the Audit Manager application in the
rich client solely to manage audit definitions.
PLM00071 J
3. Create a new event type to specify the event for which audit logs are to be
written.
4. Create an event type mapping to connect the event to a business object type.
5. Create an audit definition to define the information that needs to be captured
when an event occurs to a specific business object instance.
On the menu bar, choose BMIDENew Model Element, type Event Type
in the Wizards box, and click Next.
PLM00071 J
9-13
Chapter 9
3. In the Display Name box, type the name that you want the event to have in
the user interface.
4. In the Description box, type a description of the new event so that others know
what it is used for.
5. Click Finish.
6. Create an event type mapping definition to connect the event to a business object
type.
For instructions, see Create an event type mapping.
On the menu bar, choose BMIDENew Model Element, type Event Type
Mapping in the Wizards box, and click Next.
9-14
PLM00071 J
PLM00071 J
9-15
Chapter 9
On the menu bar, choose BMIDENew Model Element, type Audit Definition
in the Wizards box, and click Next.
9-16
PLM00071 J
5. Click the Add button to the right of the Audit Extensions box to select the log
extensions to use in the definition.
For more information about these extensions, see Audit Manager data model
objects.
6. In the Description box, type a description of the purpose for this audit definition.
7. Select the Is Active? check box to turn on the audit definition.
8. Select the Track Old Values? check box to enable tracking of the old values
of properties.
9. Select the Audit on Property Change Only? check box to log the information
specified in this audit definition only if the property values change. This
functionality is only enabled if the Track Old Values? check box is selected.
10. Click Next to add primary object properties to the audit. These properties are on
the business object for which the audit definition is being created.
a. In the Primary Audit Definition Properties dialog box, click the Add button
located to the right of the table.
PLM00071 J
b.
In the Add Audit Definition property dialog box, click Browse to the right of
the Property Name box to select the primary property.
c.
To change the display name of the property in audit logs, type the new
display name in the Target Property Name box.
9-17
Chapter 9
d. Use the Target Old Value Property Name box to change the display name of
the old property in the audit logs.
Note
e.
The Target Old Value Property Name box and the Enable Tracking?
box are enabled if you selected the Track Old Values? check box in
the Add an Audit Definition dialog box.
Click the arrow in the Enable Tracking? box to select the kind of tracking:
Track Always
Always tracks old and new values of properties even if there are no
changes to the property value.
No
Does not track changes to properties.
Track Different
Tracks old and new values of properties only when the property value
changes.
f.
Click Finish.
Click the Add button in the Primary Audit Definition Properties dialog box
to add more properties as needed.
9-18
Fill in the boxes as you did for the primary business objects.
PLM00071 J
c.
Click Finish.
PLM00071 J
9-19
Chapter 9
Perform the following steps in the Business Modeler IDE immediately after the
successful upgrade to Teamcenter and before deploying any data model changes:
1. Import the custom_audit_configurations.xml file from the TC_DATA\model
directory into your custom template project by choosing FileImportBusiness
Modeler IDEImport template file.
2. In the BMIDE view, right-click the project and choose Reload Data Model. Make
sure there are no model errors reported in Console view.
3. Package and deploy the template to the Teamcenter database.
Business objects
o
Fnd0AuditLog
Defines the available types of audit logs to be used in event type mapping.
Fnd0FileAccessAudit
Holds file access audit records. Shown as File Access Audit in the rich
client user interface.
Fnd0GeneralAudit
Holds audit records for which the object type and event type combination
are not defined in any other audit log business objects. Shown as General
Audit in the user interface.
Fnd0LicenseChangeAudit
Holds license change audit records. Shown as License Change Audit
in the user interface.
Fnd0LicenseExportAudit
Holds license export audit records. Shown as License Export Audit in
the user interface.
Fnd0OrganizationAudit
Holds organization audit records. Shown as Organization Audit in the
user interface.
Fnd0ScheduleAudit
Holds schedule audit records. Shown as Schedule Audit in the user
interface.
Fnd0StructureAudit
Holds structure audit records. Shown as Structure Audit in the user
interface.
Fnd0WorkflowAudit
9-20
PLM00071 J
Extensions
The following audit extensions define the log handlers to use in an audit
definition:
o
Fnd0CICO_auditloghandler
Logs checkin and checkout information, change ID, and the reason to audit.
Applies to checkin and checkout events.
Fnd0OCC_track_position_orientation_audithandler
Logs occurrence position and orientation changes of components in
structures.
Fnd0PROJInfo_audithandler
Logs project names that are assigned to the project. The project names are
comma separated.
Fnd0USER_get_additional_log_info
Logs workflow information to audit logs. For example, for the __Assign
event, this handler logs information such as the process name, task type,
user comments, and the user ID and user name the workflow is assigned to.
Fnd0WriteSignoffDetails
Logs the workflow signoff history.
Automotive Edition
Configure Automotive Edition using the Business Modeler IDE
Use the Business Modeler IDE to create custom objects used by the Automotive
Edition application.
For more information about how to use the Business Modeler IDE to configure
Automotive Edition, see Getting Started with Automotive Edition.
Note
Before working with Automotive Edition objects, you must install the
following templates to your project:
For instructions about how to add a template to your project, see Add a
template to a Business Modeler IDE project.
PLM00071 J
9-21
Chapter 9
CAE Manager
Configure CAE Manager using the Business Modeler IDE
Use the Business Modeler IDE to create custom objects used by the CAE Manager
application.
CAE Manager objects are provided by the Foundation template. No additional
templates are needed.
For more information about how to use the Business Modeler IDE to configure CAE
Manager, see the Simulation Process Management Guide.
Change Management
Configure Change Management using the Business Modeler IDE
Use the Business Modeler IDE to create custom objects used by the Change Manager
application. The custom objects you create are templates of the different change
processes to be used at your site. End users create instances of these change objects,
such as change requests, and use them in their workflow processes.
For more information about how end users work with change objects, see the Change
Manager Guide.
Note
Before working with these objects, you must install the Change Management
template (cm_template.xml file) to your project.
For instructions about how to add a template to your project, see Add a
template to a Business Modeler IDE project.
Create change business objects if you want to create your own change notices,
requests, or problem reports, or if you want to create new change relationships.
1. If you have not already done so, create a custom template project to hold your
data model changes.
For instructions, see Create a Business Modeler IDE template project.
2. Ensure that you have installed the Change Management template
(cm_template.xml file) to your project.
For instructions about how to add a template to your project, see Add a template
to a Business Modeler IDE project.
3. Create children Change Management business objects as needed.
9-22
PLM00071 J
For more information about these business objects, see Change Management
business objects.
4. Make the new business objects creatable by making new conditions.
Each Change Management business object has a corresponding condition that
makes it creatable in the user interface. The conditions follow this naming
convention:
naming-prefixisbusiness-object-nameCreatable
Search on conditions containing the word Creatable for examples, and look at
these conditions to see how to create your own conditions.
For example, if you created a child of the ChangeNotice business object, look
at the isChangeNoticeCreatable condition for an example of how to create
yours. Or if you created a child of the CMHasImpactedItem relation business
object, look at the isCMCMHasImpactedItemCreatable condition. (The
conditions whose names end in ForPrimary and ForSecondary are for the
primary and secondary relationships, and those whose names end in ForTask
are for schedule tasks.)
The following example shows how to create a new condition:
a. If the naming prefix for your project is A5_, create a child of the
ChangeNotice business object named A5_ChangeNotice. (You can name
it what you want, but it must have the naming prefix for your project.)
For more information, see Naming objects and Create a Business Modeler
IDE template project.
b.
PLM00071 J
9-23
Chapter 9
ChangeItem
Provides general behavior to support planning capabilities, traceability, and
Change Management.
9-24
PLM00071 J
Caution
ChangeNotice
Provides the means to formulate a detailed work plan for a set of requests
and to execute the plan to closure. After change requests are implemented, a
notice should be sent to all the stakeholders notifying them of the change.
ChangeRequest
Provides the means to formulate a business case for the resolution of a set of
problems and enable users to provide technical recommendations. When a
problem report is reviewed and verified, a change request must be filed to
handle the problem.
ProblemReport
Describes a problem in such a way that another party can repeat the same
steps and duplicate the problem precisely.
ChangeItemRevision
Provides the revision of the ChangeItem business object.
Caution
ChangeNoticeRevision
Provides the revision of the ChangeNotice business object.
ChangeRequestRevision
Provides the revision of the ChangeRequest business object.
ProblemReportRevision
Provides the revision of the ProblemReport business object.
CMRelation
Defines the top-level Change Management relation; all Change Management
relations are children of this business object.
o
CMHasImpactedItem
Provides for change planning in terms of associating business item revisions
impacted by the change in context.
PLM00071 J
CMHasProblemItem
9-25
Chapter 9
CMHasSolutionItem
Provides for the traceability of the deliverable that result from the execution
of the product plan. It relates ChangeNotice objects to a solution item.
CMHasWorkBreakdown
Provides for work breakdown relations.
CMImplements
Allows ProblemReport objects to be implemented by ChangeRequest
objects, and ChangeRequest objects to be implemented by ChangeNotice
objects. It is used for navigating change resolution.
CMReferences
Allows problem reports, change requests, and change notices to reference
items and datasets.
9-26
PLM00071 J
6. On creation, the new change item should reflect the new form.
PLM00071 J
9-27
Chapter 9
9-28
PLM00071 J
b.
PLM00071 J
9-29
Chapter 9
9-30
PLM00071 J
Set the value of the business object constant on the business object.
Open the business object that the constant is scoped to (for this example,
the ProblemReportRevision business object), and set the condition when
the constant applies. For example, if isTrue is specified, the creation of the
relation is always allowed. The value determines which condition to use to
evaluate whether to allow the creation of the relation. You can use any of
the existing or custom conditions.
PLM00071 J
9-31
Chapter 9
9-32
PLM00071 J
Note
PLM00071 J
9-33
Chapter 9
Once you override the COTS naming rule using the custom condition, the custom
naming rule works as designed.
For more information about how to override a COTS naming rule, see Override
a COTS naming rule.
Classic change
Classic change is no longer available to manage change management processes. Use
the Change Manager application instead. To see classic change objects, open the
Extensions\Options\Classic Change folders. Like change business objects, classic
change objects represent an alteration to requirements.
Classic change objects were used in the now obsolete Change Viewer application,
which is replaced by the Change Manager application. If you intend to move your
old classic change objects to the Change Manager application, you must create new
change objects to replace the classic change objects.
For more information about migrating classic change objects, see the Change
Manager Guide. For information about creating objects, see Configure Change
Management using the Business Modeler IDE.
You can also obtain a report of the COTS data model in the Teamcenter
Data Model Report provided in the Teamcenter HTML documentation
collection. This guide is installed from the Online Help panel in Teamcenter
Environment Manager (TEM).
Cm0isCm0AuditsItemCreatable
TEMPLATE
Change Management
9-34
PLM00071 J
SIGNATURE
c
The generic review revision.
i
The item revision.
u
The user session.
DESCRIPTION
Cm0isCm0HasContractCreatable
TEMPLATE
Change Management
SIGNATURE
c
The generic review revision.
i
The item revision.
u
The user session.
DESCRIPTION
Cm0isCm0IncorporatesCreatable
TEMPLATE
Change Management
SIGNATURE
Cm0isCm0IncorporatesCreatable (ChangeItemRevision p,
WorkspaceObject s, CMHasImpactedItem i, ChangeItemRevision c,
UserSession u)
PLM00071 J
9-35
Chapter 9
p
The change item revision object to be evaluated.
s
The workspace object business object.
i
The impacted item.
c
The secondary change item revision in the relationship.
u
The user session.
DESCRIPTION
Cm0isCm0IncorporatesCreatableForPrimary
TEMPLATE
Change Management
SIGNATURE
Cm0isCm0IncorporatesCreatableForPrimary (ChangeItemRevision o,
UserSession u)
o
The change item revision object to be evaluated.
u
The user session.
DESCRIPTION
Cm0isCm0IncorporatesCreatableForSecondary
TEMPLATE
Change Management
SIGNATURE
Cm0isCm0IncorporatesCreatableForSecondary (WorkspaceObject o
CMHasImpactedItem i, ChangeItemRevision c, UserSession u)
9-36
PLM00071 J
o
The workspace object business object.
i
The impacted item.
c
The change item revision.
u
The user session.
DESCRIPTION
Cm0isCm0RaisesActionItemsCreatable
TEMPLATE
Change Management
SIGNATURE
Cm0isCm0RaisesActionItemsCreatable (Cm0GnReviewRevision c,
ItemRevision i, UserSession u)
c
The generic review revision.
i
The item revision.
u
The user session.
DESCRIPTION
Cm0isCMHasImpactedItemCreatable
TEMPLATE
Change Management
SIGNATURE
Cm0isCMHasImpactedItemCreatable (ChangeItemRevision p,
WorkspaceObject s, UserSession u)
PLM00071 J
9-37
Chapter 9
p
The change item revision.
s
The workspace object business object.
u
The user session.
DESCRIPTION
Cm0isCMHasImpactedItemCreatableForSecondary
TEMPLATE
Change Management
SIGNATURE
Cm0isCMHasImpactedItemCreatableForSecondary (WorkspaceObject o,
UserSession u)
o
The workspace object business object.
u
The user session.
DESCRIPTION
Cm0isCMHasImpactedItemCreatableForTask
TEMPLATE
Change Management
SIGNATURE
Cm0isCMHasImpactedItemCreatableForTask (ChangeItemRevision c,
ScheduleTask t, UserSession u)
c
The change item revision.
t
The task.
9-38
PLM00071 J
u
The user session.
DESCRIPTION
Cm0isCMHasProblemItemCreatable
TEMPLATE
Change Management
SIGNATURE
Cm0isCMHasProblemItemCreatable (ChangeItemRevision p,
WorkspaceObject s, UserSession u)
p
The change item revision object to be evaluated.
s
The workspace object business object.
u
The user session.
DESCRIPTION
Cm0isCMHasProblemItemCreatableForSecondary
TEMPLATE
Change Management
SIGNATURE
Cm0isCMHasProblemItemCreatableForSecondary (WorkspaceObject o,
UserSession u)
o
The workspace object business object.
u
The user session.
DESCRIPTION
PLM00071 J
9-39
Chapter 9
SECURED
Cm0isCMHasProblemItemCreatableForTask
TEMPLATE
Change Management
SIGNATURE
Cm0isCMHasProblemItemCreatableForTask (ChangeItemRevision c,
ScheduleTask t, UserSession u)
c
The change item revision object to be evaluated.
t
The task.
u
The user session.
DESCRIPTION
Cm0isCMHasSolutionItemCreatable
TEMPLATE
Change Management
SIGNATURE
Cm0isCMHasSolutionItemCreatable (ChangeItemRevision p,
WorkspaceObject s, UserSession u)
p
The change item revision object to be evaluated.
s
The workspace object business object.
u
The user session.
DESCRIPTION
9-40
PLM00071 J
Cm0isCMHasSolutionItemCreatableForSecondary
TEMPLATE
Change Management
SIGNATURE
Cm0isCMHasSolutionItemCreatableForSecondary (WorkspaceObject o,
UserSession u, )
o
The workspace object.
u
The user session.
DESCRIPTION
Cm0isCMHasSolutionItemCreatableForTask
TEMPLATE
Change Management
SIGNATURE
Cm0isCMHasSolutionItemCreatableForTask (ChangeItemRevision c,
ScheduleTask t, UserSession u)
c
The change item revision object to be evaluated.
t
The task.
u
The user session.
DESCRIPTION
Cm0isCMHasWorkBreakdownCreatable
TEMPLATE
Change Management
PLM00071 J
9-41
Chapter 9
SIGNATURE
p
The change item revision object to be evaluated.
s
The Schedule business object.
u
The user session.
DESCRIPTION
Cm0isCMHasWorkBreakdownCreatableForSecondary
TEMPLATE
Change Management
SIGNATURE
Cm0isCMHasWorkBreakdownCreatableForSecondary (Schedule o,
UserSession u)
o
The Schedule business object.
u
The user session.
DESCRIPTION
False.
Cm0isCMReferencesCreatableForTask
TEMPLATE
Change Management
9-42
PLM00071 J
SIGNATURE
Cm0isCMReferencesCreatableForTask (ChangeItemRevision c,
ScheduleTask t, UserSession u)
c
The change item revision object to be evaluated.
t
The task.
u
The user session.
DESCRIPTION
Cm0isIncorporationStatusEditable
TEMPLATE
Change Management
SIGNATURE
o
The change item revision object to be evaluated.
u
The user session.
DESCRIPTION
isActiveSequence
TEMPLATE
Change Management
SIGNATURE
isActiveSequence (ItemRevision o)
o
The item revision.
u
The user session.
PLM00071 J
9-43
Chapter 9
DESCRIPTION
isAnalyst
TEMPLATE
Change Management
SIGNATURE
o
The change item revision.
u
The user session.
DESCRIPTION
isAnalystAssignable
TEMPLATE
Change Management
SIGNATURE
o
The change item revision business object.
u
The user session.
DESCRIPTION
This condition allows the current analyst or the change specialists to assign a user
as the analyst.
The Cm0AnalystAssignableCondition business object constant uses this
condition as its default value.
For more information, see Business object constants reference.
SECURED
False.
9-44
PLM00071 J
isAuthor
TEMPLATE
Change Management
SIGNATURE
isAuthor (UserSession u)
u
The user session.
DESCRIPTION
isCMHasImpactedItemCreatable
TEMPLATE
Change Management
SIGNATURE
p
The change item revision.
s
The item revision.
u
The user session.
DESCRIPTION
isCMHasImpactedItemCreatableForPrimary
TEMPLATE
Change Management
PLM00071 J
9-45
Chapter 9
SIGNATURE
isCMHasImpactedItemCreatableForPrimary (ChangeItemRevision o,
UserSession u)
o
The change item revision.
u
The user session.
DESCRIPTION
This condition allows the requestor or analyst to update the Impacted Items folder
for change requests and change notices.
SECURED
False.
isCMHasImpactedItemCreatableForSecondary
TEMPLATE
Change Management
SIGNATURE
isCMHasImpactedItemCreatableForSecondary (ItemRevision o,
UserSession u)
o
The item revision
u
The user session.
DESCRIPTION
This condition allows the requestor or analyst to add or delete item revisions related
to change requests and change notices in the Impacted Items folder.
SECURED
False.
isCMHasImpactedItemCreatableForTask
TEMPLATE
Change Management
SIGNATURE
isCMHasImpactedItemCreatableForTask (ChangeItemRevision o,
UserSession u)
o
The change item revision.
9-46
PLM00071 J
This condition allows the task assignees to add or delete item revisions related
to tasks in the Impacted Items folder.
SECURED
False.
isCMHasProblemItemCreatable
TEMPLATE
Change Management
SIGNATURE
p
The change item revision.
s
The item revision.
u
The user session.
DESCRIPTION
isCMHasProblemItemCreatableForPrimary
TEMPLATE
Change Management
SIGNATURE
isCMHasProblemItemCreatableForPrimary (ChangeItemRevision o,
UserSession u)
o
The change item revision.
u
The user session.
PLM00071 J
9-47
Chapter 9
DESCRIPTION
This condition allows the requestor or analyst to update the Problem Items folder for
problem reports, change requests, and change notices.
SECURED
False.
isCMHasProblemItemCreatableForSecondary
TEMPLATE
Change Management
SIGNATURE
o
The change item revision.
u
The user session.
DESCRIPTION
This condition allows the requestor or the analyst to add or delete item revisions
related to problem reports, change requests, or change notices in the Problem
Items folder.
SECURED
False.
isCMHasProblemItemCreatableForTask
TEMPLATE
Change Management
SIGNATURE
isCMHasProblemItemCreatableForTask (ChangeItemRevision o,
UserSession u)
o
The change item revision.
u
The user session.
DESCRIPTION
This condition allows the task assignees to add or delete item revisions related to
tasks in the Problem Items folder.
SECURED
False.
9-48
PLM00071 J
isCMHasSolutionItemCreatable
TEMPLATE
Change Management
SIGNATURE
p
The change item revision.
s
The item revision.
u
The user session.
DESCRIPTION
isCMHasSolutionItemCreatableForPrimary
TEMPLATE
Change Management
SIGNATURE
isCMHasSolutionItemCreatableForPrimary (ChangeItemRevision o,
UserSession u)
o
The change item revision.
u
The user session.
DESCRIPTION
This condition allows the analyst to update the Solution Items folder for change
requests or change notices.
SECURED
False.
PLM00071 J
9-49
Chapter 9
isCMHasSolutionItemCreatableForSecondary
TEMPLATE
Change Management
SIGNATURE
o
The item revision.
u
The user session.
DESCRIPTION
This condition allows the analyst to add or delete item revisions related to change
requests or change notices in the Solution Items folder.
SECURED
False.
isCMHasSolutionItemCreatableForTask
TEMPLATE
Change Management
SIGNATURE
isCMHasSolutionItemCreatableForTask (ChangeItemRevision o,
UserSession u)
o
The change item revision.
u
The user session.
DESCRIPTION
This condition allows the task assignees to add or delete item revisions related to
tasks in the Solution Items folder.
SECURED
False.
isCMHasWorkBreakdownCreatable
TEMPLATE
Change Management
SIGNATURE
isCMHasWorkBreakdownCreatable (ChangeItemRevision p,
ScheduleRevision s, UserSession u)
9-50
PLM00071 J
o
The change item revision.
s
The schedule revision.
u
The user session.
DESCRIPTION
isCMHasWorkBreakdownCreatableForPrimary
TEMPLATE
Change Management
SIGNATURE
isCMHasWorkBreakdownCreatableForPrimary (ChangeItemRevision o,
UserSession u)
o
The change item revision.
u
The user session.
DESCRIPTION
This condition allows the analyst to update the Plan Items folder for change objects.
SECURED
False.
isCMHasWorkBreakdownCreatableForSecondary
TEMPLATE
Change Management
SIGNATURE
isCMHasWorkBreakdownCreatableForSecondary (ScheduleRevision o,
UserSession u)
o
The schedule revision.
u
The user session.
PLM00071 J
9-51
Chapter 9
DESCRIPTION
This condition allows the analyst to add or delete a schedule in the Plan Items folder
SECURED
False.
isCMImplementsCreatable
TEMPLATE
Change Management
SIGNATURE
p
The primary change item revision.
s
The secondary change item revision.
u
The user session.
DESCRIPTION
isCMImplementsCreatableForPrimary
TEMPLATE
Change Management
SIGNATURE
isCMImplementsCreatableForPrimary (ChangeItemRevision o,
UserSession u)
o
The change item revision.
u
The user session.
DESCRIPTION
This condition allows the requestor or a change specialist to update the Implements
folder for change requests and change notices.
9-52
PLM00071 J
SECURED
isCMImplementsCreatableForSecondary
TEMPLATE
Change Management
SIGNATURE
isCMImplementsCreatableForSecondary (ChangeItemRevision o,
UserSession u)
o
The change item revision.
u
The user session.
DESCRIPTION
This condition allows the requestor or a change specialist to add or delete change
requests in the ECNs Implements folder and problem reports in the ECRs
Implements folder.
SECURED
isCMReferencesCreatable
TEMPLATE
Change Management
SIGNATURE
p
The change item revision.
s
The workspace object business object.
u
The user session.
DESCRIPTION
PLM00071 J
9-53
Chapter 9
SECURED
isCMReferencesCreatableForPrimary
TEMPLATE
Change Management
SIGNATURE
o
The change item revision.
u
The user session.
DESCRIPTION
This condition allows the requestor or the analyst to update the Reference Items
folder for problem reports, change requests, or change notices.
SECURED
isCMReferencesCreatableForSecondary
TEMPLATE
Change Management
SIGNATURE
o
The workspace object business object.
u
The user session.
DESCRIPTION
This condition allows the requestor or the analyst to add or delete workspace
objects related to problem reports, change requests, change notices, or tasks in the
Reference Items folder.
SECURED
9-54
PLM00071 J
isCMReferencesCreatableForTask
TEMPLATE
Change Management
SIGNATURE
o
The change item revision.
u
The user session.
DESCRIPTION
This condition allows the task assignees to add or delete workspace objects related
to tasks in the Reference Items folder.
SECURED
isChangeExecutionAllowed
TEMPLATE
Change Management
SIGNATURE
o
The change item revision.
u
The user session.
DESCRIPTION
This condition allows the analyst to execute a change, which places the item revision
in the Solution Items folder.
SECURED
isChangeImplementationBoardAssignable
TEMPLATE
Change Management
SIGNATURE
isChangeImplementationBoardAssignable (ChangeItemRevision o,
UserSession u)
PLM00071 J
9-55
Chapter 9
u
The user session.
DESCRIPTION
Allows the analyst to assign users as members of the change implementation board.
SECURED
isChangeNoticeCreatable
TEMPLATE
Change Management
SIGNATURE
isChangeNoticeCreatable (UserSession u)
u
The user session.
DESCRIPTION
isChangeRequestCreatable
TEMPLATE
Change Management
SIGNATURE
isChangeRequestCreatable (UserSession u)
u
The user session.
DESCRIPTION
isChangeReviewBoardAssignable
TEMPLATE
Change Management
9-56
PLM00071 J
SIGNATURE
o
The change item revision.
u
The user session.
DESCRIPTION
This condition allows the analyst to assign users as members of the change review
board.
SECURED
isChangeSpecialist1
TEMPLATE
Change Management
SIGNATURE
o
The change item revision.
u
The user session.
DESCRIPTION
isChangeSpecialist1Assignable
TEMPLATE
Change Management
SIGNATURE
o
The change item revision.
u
The user session.
PLM00071 J
9-57
Chapter 9
DESCRIPTION
isChangeSpecialist2
TEMPLATE
Change Management
SIGNATURE
o
The change item revision.
u
The user session.
DESCRIPTION
isChangeSpecialist2Assignable
TEMPLATE
Change Management
SIGNATURE
o
The change item revision.
u
The user session.
DESCRIPTION
9-58
PLM00071 J
isChangeSpecialist3
TEMPLATE
Change Management
SIGNATURE
o
The change item revision.
u
The user session.
DESCRIPTION
isChangeSpecialist3Assignable
TEMPLATE
Change Management
SIGNATURE
o
The change item revision.
u
The user session.
DESCRIPTION
isCm0DevRqstCreatable
TEMPLATE
Change Management
SIGNATURE
isCm0DevRqstCreatable (UserSession o)
o
The user session.
PLM00071 J
9-59
Chapter 9
DESCRIPTION
isEffectivityCreatableForChange
TEMPLATE
Change Management
SIGNATURE
o
The change item revision.
u
The user session.
DESCRIPTION
isImpactedItemRevisableForChange
TEMPLATE
Change Management
SIGNATURE
o
The change item revision.
u
The user session.
DESCRIPTION
This condition allows the analyst to revise an item revision in the Impacted Items
folder.
SECURED
9-60
PLM00071 J
isImpactedItemRevisableForTask
TEMPLATE
Change Management
SIGNATURE
o
The change item revision.
u
The user session.
DESCRIPTION
This condition allows the analyst to revise an item revision in the Impacted Items
folder for a task.
SECURED
isProblemReportCreatable
TEMPLATE
Change Management
SIGNATURE
isProblemReportCreatable (UserSession u)
u
The user session.
DESCRIPTION
isRequestor
TEMPLATE
Change Management
SIGNATURE
o
The change item revision.
u
The user session.
PLM00071 J
9-61
Chapter 9
DESCRIPTION
This condition determines if the logged-on user is assigned as the requestor of the
change item revision.
SECURED
isRequestorAssignable
TEMPLATE
Change Management
SIGNATURE
o
The change item revision.
u
The user session.
DESCRIPTION
Allows the current requestor to assign another user as the requestor participant.
The Cm0RequestorAssignableCondition business object constant uses this
condition as its default value.
For more information, see Business object constants reference.
SECURED
isRollUpCommittable
TEMPLATE
Change Management
SIGNATURE
o
The change item revision.
u
The user session.
DESCRIPTION
9-62
PLM00071 J
Classification
Configure Classification using the Business Modeler IDE
Teamcenter can automatically compute attribute values based on other attribute
values within the class or view or based on attribute values of the object being
classified. It uses custom logic that you assign to a predefined operation in the
Business Modeler IDE application. Classification objects are provided by the
Foundation template. No additional templates are needed.
For more information about Classification, see the Classification Administration
Guide.
Before working with DPV objects, you must install the following templates
to your project:
For instructions about how to add a template to your project, see Add a
template to a Business Modeler IDE project.
PLM00071 J
9-63
Chapter 9
For instructions about how to add a template to your project, see Add a template
to a Business Modeler IDE project.
3. Make sure that the Dpv0FormAttach extension is available for use on your
desired business object type.
Open the Dpv0FormAttach extension and look at the business objects listed in
the Availability table.
InspectionDevice Revision
9-64
MECMMInspection Revision
MEHHInspection Revision
MEVisInspection Revision
MEPrPlantProcessRevision
PLM00071 J
Note
If the business object type you want to use is not available, you can
click the Add button to the right of the Availability table to add it. Add
it to the create#Teamcenter::CreateInput,* operation as a PostAction
extension point.
Because the MEInspection Revision business object type is available for use
with the Dpv0FormAttach extension, you can proceed to the next step.
4. Open the MEInspection Revision business object and add the Dpv0FormAttach
extension as a post-action to the create operation.
a. Open the MEInspection Revision business object, click the Operations tab,
and under the Extension Attachments pane open the Post-Action table.
PLM00071 J
9-65
Chapter 9
In the Extension Arguments dialog box, click the Browse button to the right
of the objectType box to select the first form.
In the selection dialog box, type DPV* to see all the available forms. Select a
form, such as DPVLocation and click OK.
For a list of the forms that can be attached, see the Dimensional Planning
and Validation Administration Guide.
9-66
PLM00071 J
Selecting a form
d. Click the Browse button to the right of the relationType dialog box and select
IMAN_specification as the relationship to use when attaching the form.
In the objectName box, type the form name you want to appear in the end
user interface. This name should give the end users some idea of the kind of
information the form contains.
f.
Click Finish.
g.
Click the Add button to the right of the Arguments table to add more forms.
The forms appear in the Arguments table. In the following figure, the
DPVLocation and DPVShiftTime forms are added.
PLM00071 J
9-67
Chapter 9
9-68
PLM00071 J
b.
PLM00071 J
9-69
Chapter 9
For instructions about how to add a template to your project, see Add a
template to a Business Modeler IDE project.
Mes0PDFInputs
Contains different input files to generate a PDF report (for example,
PRC/U3D, XFDF, and so on).
Mes0PDFReport
Contains a PDF report generated for a process or operation.
Mes0PDFReportTemplate
Contains a PDF template file used to generate a PDF report for a process
or operation.
Mes0PDFContentRel
Defines a relation that attaches a dataset containing report content
(Mfg0ME3DPDFInputs) to a report generated from it (Mes0PDFReport).
9-70
PLM00071 J
Mes0PDFInputsRel
Defines a relation that attaches a dataset containing report content
(Mes0PDFInputs) to a process or an operation that the content refers to.
Mes0PDFReportInputRel
Defines a relation that attaches a report input to a report template
(Mes0PDFReportTemplate).
Mes0PDFReportRel
Defines a relation that attaches a PDF report (Mes0PDFReport) to its
owning process or operation.
Mes0PDFTemplateRel
Defines a relation that attaches a PDF report template
(Mes0PDFReportTemplate) to a report generated from it
(Mes0PDFReport).
Multi-Structure Manager
Configure Multi-Structure Manager using the Business Modeler IDE
Use the Business Modeler IDE to create custom objects used by the Multi-Structure
Manager application.
Multi-Structure Manager objects are provided by the Foundation template. No
additional templates are needed.
For more information about using the Business Modeler IDE to create custom objects
for Multi-Structure Manager, see the Multi-Structure Manager Guide.
PLM00071 J
9-71
Chapter 9
object that is a child of the Design business object, the target part is a custom
A5_MyPart business object that is a child of the Part business object, and the
relationship between them is the TC_Is_Represented_By relation.
You are not limited to using the automateAndLink extension for CAD-part
alignment. You can use it to generate automatically one kind of item
business object when another kind is created, and to link the two. Its
behavior is similar to the createObject extension.
Tip
9-72
PLM00071 J
Open the A5_MyDesign business object, click the Operations tab, and select
the create(Teamcenter::CreateInput*) operation.
c.
Under the Extension Attachments panel, open the Post-Action table and
click the Add button to the right of the table.
PLM00071 J
9-73
Chapter 9
9-74
PLM00071 J
Note
D. Click OK.
The argument is displayed.
PLM00071 J
9-75
Chapter 9
f.
9-76
PLM00071 J
Click Edit to the right of the Property Constants table and type the name
of the business object and its property that you want to inherit from, for
example, A5_MyDesign.object_desc.
PLM00071 J
9-77
Chapter 9
Repeat this step for any other properties you want the part to inherit from
the design, for example, object_name or item_id.
Note
If you choose to inherit the item_id property, you must ensure that
you have first configured multifield key definitions to allow two
different business object types (in this example, A5_MyDesign and
A5_MyPart) to use the same item ID.
For instructions, see Creating objects with the same item ID.
4. To save your changes to the template, on the menu bar choose BMIDESave
Data Model. Then package the template and use Teamcenter Environment
Manager to install the packaged template to your server.
For more information, see Package extensions into a template.
5. Verify that the alignment is performed when you create the A5_MyDesign
business object.
a. Log on to the rich client and open Multi-Structure Manager.
Note
9-78
Creating the design this way in the rich client is for illustration
purposes. Typically, you create the design in a CAD application and
save it to Teamcenter directly from that CAD application through
an integration to Teamcenter. At the time the design is saved in the
CAD application to Teamcenter, the automatic alignment occurs.
PLM00071 J
b.
In the New Design dialog box, give the object an ID, a name, and a
description. Click Finish.
Creating a design
The design and part are automatically aligned. The part is created and
related to the design. Also notice how the object description on the part is
inherited from the design.
PLM00071 J
9-79
Chapter 9
9-80
PLM00071 J
Following are some conditions you can use with the automateAndLink extension:
Fnd0isCMSImportActive
Prevents the target object from being created if a classic Multi-Site import
session is active.
For information about Multi-Site import, see the Multi-Site Collaboration Guide.
Fnd0isPLMXMLImportActive
Prevents the target object from being created if a PLM XML import/export (PIE)
import session is active.
For more information about PLM XML import and export, see the PLM XML/TC
XML Export Import Administration Guide.
You can configure automatic alignment for any children of the Item business
object. This example uses design and part business object types.
1. Create a boolean property on the source design business object. The Boolean
property provides a true or false selection to the end user asking them if they
want to create the part.
a. Open the source design business object type and click the Property tab.
b.
Click the Add button to the right of the Property table, select Persistent
and click Next.
c.
Type a name for the property in the Name box, and in the Display Name box
type the message you want to display to the user, for example:
Automatically create a part for the design?
PLM00071 J
9-81
Chapter 9
Click Finish.
The new Boolean property is displayed on the design business object.
9-82
PLM00071 J
In the Operation box, ensure that CreateInput is selected and click the Add
button to the right of the table.
c.
d. In the OperationInput Property dialog box, click the Browse button to the
right of the Property Name box and select the new boolean property you
previously created.
e.
Click Finish.
The Boolean property appears on the Operation Descriptor tab.
PLM00071 J
9-83
Chapter 9
c.
Give the condition a name and a description that clearly state what the
condition is used for.
d. Click the Browse button and select the design business object that has the
Boolean property.
e.
9-84
In the expression box, type o. and the name of the Boolean property, for
example, o.a5_is_part_create_required. This means that the property is
used for condition evaluation.
PLM00071 J
Click Finish.
Click the Browse button to the right of the Condition box and select the
condition you created that includes the Boolean property.
PLM00071 J
Click Finish.
9-85
Chapter 9
5. To save your changes to the template, on the menu bar, choose BMIDESave
Data Model. Then package the template and use Teamcenter Environment
Manager to install the packaged template to your server.
For more information, see Package extensions into a template.
6. Verify that the Boolean property is displayed when you create the design
business object.
a. Log on to the rich client and open Multi-Structure Manager.
Note
Creating the design this way in the rich client is for illustration
purposes. Typically, you create the design in a CAD application and
save it to Teamcenter directly from that CAD application through
an integration to Teamcenter. At the time the design is saved in the
CAD application to Teamcenter, the automatic alignment occurs.
b.
Choose FileNewDesign and select the design type you want to create.
Click Next.
c.
In the New Design dialog box, give the object an ID, a name, and a
description. Click Next.
The Boolean property is displayed.
d. Select True to automatically create the part and relate it to the design, or
click False to create only the design.
Click Finish.
The new design is displayed in Multi-Structure Manager. If you selected
True, the related part is also created. If you selected False, the related part
is not created.
9-86
PLM00071 J
NX CAM Integration
Configure NX CAM Integration using the Business Modeler IDE
Use the Business Modeler IDE to create custom objects used by the NX CAM
Integration application.
NX CAM Integration objects are provided by the Foundation template. No additional
templates are needed.
For more information about how to use the Business Modeler IDE to create
custom objects for the NX CAM Integration application, see Getting Started with
Manufacturing.
Organization
Configure Organization using the Business Modeler IDE
Use the Business Modeler IDE to configure aspects of the Organization application.
Organization objects are provided by the Foundation template. No additional
templates are needed.
For information about how to use Organization, see the Organization Guide.
For example, you can add a list of citizenships to the Citizenships box in the
Organization application by using the Business Modeler IDE to attach a list of
values to the fnd0_citizenships property on the User business object.
For instructions about creating lists of values, see Create classic lists of values.
Before working with PMI objects, you must install the Configurable PMI
Visualization (PMI) template to your project.
For instructions about how to add a template to your project, see Add a
template to a Business Modeler IDE project.
PLM00071 J
9-87
Chapter 9
By default, PMI is not included in the list of features in the Teamcenter Environment
Manager (TEM). To install PMI to a server, you must perform the following steps:
1. In the Features panel in TEM, click the Browse button.
2. Select the additional_applications\pmi\feature_pmi.xml file on the
installation source.
The feature is added to the Features panel under the Product Manufacturing
Information category as Configuragble PMI Visualization.
3. Select the Configuragble PMI Visualization check box and click Next.
Schedule Manager
Configure Schedule Manager using the Business Modeler IDE
Use the Business Modeler IDE to create custom objects used by the Schedule
Manager application. Schedule Manager objects are provided by the Foundation
template. No additional templates are needed.
For information about how to use Schedule Manager, see the Schedule Manager
Guide.
Do not use this method to add custom status types for use by
Workflow Designer and other areas of Teamcenter. Instead, open the
Extensions\Options folders, right-click the Status, and choose New Status.
For more information, see Add a status type.
1. If you have not already done so, create a custom template project to hold your
data model changes.
For instructions, see Create a Business Modeler IDE template project.
2. Add your new status to an existing status LOV.
Add the new status value to an existing Fnd0*_status LOV, for example,
Fnd0cl_status (closed statuses), Fnd0cpl_status (complete statuses),
Fnd0ip_status (in-progress statuses), or Fnd0ns_status (not started statuses).
Caution
For example, if you want to create a status that displays as Interim Complete
in the user interface, open the Fnd0cpl_status and add the interim_complete
9-88
PLM00071 J
value. Make sure to type the value display name and description, because they
appear in the Schedule Manager user interface.
For examples of Schedule Manager status LOVs, see the LOVs named
Fnd0*_status.
PLM00071 J
9-89
Chapter 9
This condition returns true if the task complete percent is 100 and the
fnd0status property has the interim_complete value.
9-90
PLM00071 J
PLM00071 J
9-91
Chapter 9
properties so that when the property is set, the pre-action or postaction executes
a customized action. You can also attach extension points to the pre-action or
postaction operation, as well as define conditions that can be evaluated in several
ways.
In the use case of task status, whenever a specified propertys value is set (for
example, the Fnd0Status property), the postaction on the property operation calls
the extension point code that makes an ITK call to evaluate the specified condition.
If the condition returns true, the business logic is executed.
Default statuses have their own conditions and extension points. You can modify
these conditions to meet your needs for setting the status. To define a new condition,
pass in the new condition name to the provided extension to allow the extension
to evaluate the new condition. To comply with the provided extensions, the
system supports running conditions defined to take Schedule, ScheduleTask, or
UserSession business objects. From these objects, you have access to the needed
run-time parameters to write a condition.
Following are the property operations used to process statuses. The property
operations are placed on properties of the TaskExecutionFormInfo business object:
Fnd0SMSetTaskStatus extension
Evaluates the Fnd0SMIsCompletePercentInProgress condition against
the in_progress status.
Fnd0SMSetTaskStatus extension
Evaluates the Fnd0SMIsCompletePercentComplete condition against
the complete status.
Fnd0SMInitializeActualStart extension
Evaluates the Fnd0SMHasTaskStarted condition
Fnd0SMInitializeActualFinish extension
Evaluates the Fnd0SMIsTaskStatusComplete condition
Fnd0SMSetPercentComplete extension
Evaluates the Fnd0SMIsTaskStatusComplete condition when the task is
at 100.00 percent complete.
9-92
PLM00071 J
Fnd0SMRollupStatus extension
Processes rollup rules logic. The rollup rules logic in this extension is not
customizable. But you can create and attach a custom extension to change
the rollup logic.
setActual_finish_date
This operation is not used for COTS rules. It is attached to the
Fnd0SchSetTaskStatus extension to allow you to create a postaction.
setActual_start_date
This operation is not used for COTS rules. It is attached to the
Fnd0SchSetTaskStatus extension to allow you to create a postaction.
setComplete_percent
This operation is used for COTS rules.
setFnd0status
This operation is used for COTS rules.
setWork_approved
This operation is not used for COTS rules. It is attached to the
Fnd0SchSetTaskStatus extension to allow you to create a postaction.
setWork_complete
This operation is used for COTS rules.
PLM00071 J
setDuration
setFinish_date
9-93
Chapter 9
setStart_date
setWork_estimate
setWork_remaining
setPriority
This operation is not used for COTS rules. It is attached to the
Fnd0SchSetTaskStatus extension to allow you to create a postaction.
The Business Modeler IDE does not support associating the same extension
name multiple times to a given operation. Therefore, there are multiple
extensions with a similar name that call the main extension that contains
the logic to execute.
Fnd0SMInitializeActualStart
Initializes the actual start date if the condition is true. If the date is not
already set, it is initialized to the scheduled start date or system time
depending on the settings in the DefaultActualToSystemDate and
SM_EnforceActualDatesBeforeNow preferences.
Fnd0SMInitializeActualFinish
Initializes the actual finish date if the condition is true. If the date is
not already set, it is initialized to the scheduled finish date or system
time depending on the settings in the DefaultActualToSystemDate and
SM_EnforceActualDatesBeforeNow preferences.
Fnd0SMSetPercentComplete
Sets the task percent complete to the provided percentage if the condition is true.
The extension name can be used to pass a different argument.
Fnd0SMSetTaskStatus
Sets the task status to the provided status if the condition is true. The extension
name can be used to pass a different argument.
Fnd0SMSetScheduleStatus
Sets the schedule status to the provided status if the condition is true. This
extension is not used for COTS rules but is provided for your customization use.
9-94
Fnd0SMVerifyTaskStatus
PLM00071 J
Verifies that the status can be modified. If the verification fails, the status is
not modified.
Fnd0SMRollupStatus
Rolls up statuses.
Structure Manager
Configure Structure Manager using the Business Modeler IDE
Use the Business Modeler IDE to create custom objects used by the Structure
Manager application.
Structure Manager objects are provided by the Foundation template. No additional
templates are needed.
For more information about Structure Manager, see the Structure Manager Guide.
PLM00071 J
9-95
Chapter 9
(WorkspaceObject r, BOMLine o)
For example, if you want to check if a part has a released status or not using BOM
grading, set a condition similar to the following that uses the INLIST function:
TestReleaseStatusCondition (ItemRevision o) =:
INLIST("Obsolete",o.release_status_list,"name")
For more information about how to create conditions, see Add a condition and
Condition examples.
3. Assign the conditions to part types using Teamcenter Component objects
and verification rules.
Create a Teamcenter Component object to link conditions to business
objects, and create verification rules to set the scope. To create a Teamcenter
Component object, in the Extensions folder, right-click the Teamcenter
Component folder and choose New Teamcenter Component. To create a
verification rule, on the menu bar, choose BMIDEEditorsVerification Rules,
and click the Add button to the right of the Verification Rule table.
For more information, see What are Teamcenter Component objects?.
The following COTS objects are used in BOM grading:
You have added custom business objects to the Business Modeler IDE that
are subclassed under the ItemRevision business object, and you have added
custom properties to those custom business objects.
You have decided instances of these custom business objects should be organized
into structures, and you want the custom properties to be visible when looking
at the structures.
9-96
PLM00071 J
1. If you have not already done so, create a custom template project to hold your
data model changes.
For instructions, see Create a Business Modeler IDE template project.
2. On the menu bar, choose BMIDEEditorsGlobal Constants Editor.
3. Select the Fnd0BOMLineRevConfigProps global constant and click the Edit
button.
Use
BOMLineFormConfiguredProperties
BOMLineRevConfiguredProperties
Fnd0BOMLineItemConfigProps
Fnd0BOMLineRevConfigProps
4. In the Modify Global Constant dialog box, click the Add button, add a custom
item revision business object, and click Finish.
PLM00071 J
9-97
Chapter 9
Fnd0BOMLineRevConfigProps constant
5. Right-click the project in the BMIDE view and choose Reload Data Model.
6. In the Business Objects folder, open the BOMLine business object and click
the Properties tab.
In the Properties table, you see that the properties from the custom business
object are added with the following naming convention:
bl_business-object-name_property-name
9-98
PLM00071 J
Tip
If you do not perform this step, the property appears in the user interface
with the internal property name.
To avoid confusion and to make it clear that they are actually the same
property, make the display name of this property the same as the display
name on the source custom property.
c.
Right-click a column heading in the BOM table and choose Insert Column(s).
d. In the Available Columns box, scroll down until you see your custom
property.
PLM00071 J
9-99
Chapter 9
Select the custom property and click the + button to add it to the Displayed
Columns list. Then click Apply.
The new property displays a BOM table column.
9-100
PLM00071 J
Properties of the parent or child object must satisfy specified values or be NULL.
For more information, see Control structures based on properties.
If there are no conditions in the system that control occurrence structures, only
those structures that follow the existing parent-child inheritance already in the
system are permitted.
When you create conditions, children business objects inherit conditions from
their parents.
If a user attempts to place an object into a structure that does not have a
matching condition rule, it fails. For example, if a user attempts to place a
Dataset object as a child of an Item object, and no condition is set up to
allow it, it fails because the Dataset business object is not a child of the Item
business object. Therefore, you must create conditions for all likely parent-child
combinations that you anticipate can occur in product structures at your
organization.
Siemens PLM Software recommends that you create conditions that resolve
to true for these most commonly used parent-child occurrence structures,
Item-Item and Item-GDE. This avoids validation failures that can occur if
there are no occurrence validation conditions in the system for these structures.
For more information, see Control parent-child product structures.
PLM00071 J
9-101
Chapter 9
Siemens PLM Software recommends that you create these kinds of conditions
to allow the most common parent-child product structures that users create.
Tip
The example also shows you how to change the conditions to resolve to false
(expression 1=0) to prevent these parent-child occurrence structures. This
demonstrates how you can create a condition to prevent one object type from being
a child of another object type.
1. If you have not already done so, create a custom template project to hold your
data model changes.
For instructions, see Create a Business Modeler IDE template project.
2. In the Business Modeler IDE, create the following conditions.
Note
In the following examples, O5_ is the naming prefix associated with the
template. When you create your own conditions, use the naming prefix
associated with your template.
O5_ItemItemRule
This condition allows users to add ItemRevision instances under other
ItemRevision instances.
O5_ItemItemRule
O5_ItemGDERule
This condition allows users to add GeneralDesignElement instances
under ItemRevision instances.
9-102
PLM00071 J
O5_ItemGDERule
3. Create the verification rules.
a. On the menu bar, choose BMIDEEditorsVerification Rules Editor.
b.
Click the Add button in the Verification Rule tab and add verification
rules as shown in the following figure. These rules use the
Fnd0OccurrenceConditionValidation Teamcenter Component object,
which assigns conditions to business object types for product structure
validation.
Verification rule
4. To save your changes to the template, on the menu bar, choose BMIDESave
Data Model. Then choose BMIDEPackage Template Extensions to package
the template. Finally, use Teamcenter Environment Manager to install the
packaged template to your server.
For more information, see Package extensions into a template.
PLM00071 J
9-103
Chapter 9
To verify that you can add an item as a child under another item, create an
item revision under another item revision. Then choose ToolsValidate
Occurrences. You should receive the following message.
O5_ItemItemRule
Change the Expression to 1=0 so that it resolves to false.
Also change the Description to read:
O5_ItemItemRule: You cannot make an ItemRevision
a child of another ItemRevision
9-104
PLM00071 J
O5_ItemItemRule
O5_ItemGDERule
Change the Expression to 1=0 so that it resolves to false.
Also change the Description to read:
O5_ItemGDERule: You cannot make a GeneralDesignElement
a child of an ItemRevision
This text is included in the error message when occurrence validation fails
when a GeneralDesignElement instance is added under an ItemRevision
instance.
PLM00071 J
9-105
Chapter 9
O5_ItemGDERule
7. Verify the conditions.
a. Log on to the rich client and open Structure Manager.
b.
Create an item revision under another item revision, or select the structure
you previously created (of an item revision under another item revision), and
choose ToolsValidate Occurrences. You should receive an error message
similar to the following:
The child object has failed the validation of the condition
"O5_ItemItemRule: You cannot make an ItemRevision a child of another ItemRevision".
The occurrence condition validation has failed for the line
"000022/A;2-Another test item (View).
The condition description text is incorporated into the error message. This
verifies that the condition successfully prevents adding an item revision
as a child of another item revision.
c.
Now that you know how to create parent-child conditions to allow or prohibit certain
occurrence structures, you can experiment on your own to create other conditions.
This example is for illustration purposes only. You should create conditions that
fit your business needs.
9-106
PLM00071 J
In this example, an item revision can only be placed as a child of another item
revision if the child belongs to a specific project. First create a condition that resolves
to true if the project_ids property equals a specific property, and then create a
parent-child condition that points to the first condition.
1. If you have not already done so, create a custom template project to hold your
data model changes.
For instructions, see Create a Business Modeler IDE template project.
2. In the Business Modeler IDE, create the following conditions.
Note
In the following examples, O5_ is the naming prefix associated with the
template. When you create your own conditions, use the naming prefix
associated with your template.
O5_isPropertyValue
This condition stipulates that the project_ids property must equal a certain
value, in this case, MyProject.
O5_isPropertyValue
O5_ItemPropertyRule
This condition allows users to add ItemRevision instances under other
ItemRevision instances only if the O5_isPropertyValue condition resolves
to true.
PLM00071 J
9-107
Chapter 9
O5_ItemPropertyRule
3. Create the verification rule.
a. On the menu bar, choose BMIDEEditorsVerification Rules Editor.
b.
Click the Add button on the Verification Rule tab and add a
verification rule for the O5_ItemPropertyRule condition using the
Fnd0OccurrenceConditionValidation Teamcenter Component object. The
Fnd0OccurrenceConditionValidation Teamcenter Component object adds
conditions to business object types for product structure validation.
Verification rule
4. To save your changes to the template, on the menu bar, choose BMIDESave
Data Model. Then choose BMIDEPackage Template Extensions to package
the template. Finally, use Teamcenter Environment Manager to install the
packaged template to your server.
For more information, see Package extensions into a template.
9-108
PLM00071 J
c.
To verify that the project is set correctly, you can view the objects
Project IDs property.
d. In Structure Manager, paste the item revision with the MyProject project
assignment as a child under another item revision.
To verify the occurrence validation, select the structure and choose
ToolsValidate Occurrences. You receive the following message.
Right-click the child item revision (with the MyProject project assignment),
and choose ProjectRemove to remove the MyProject assignment.
f.
This verifies that an object can only be added as a child in the product
structure if one of its properties has a specific value.
Now that you know how to create conditions to allow or prohibit certain
occurrence structures based on property values, you can experiment on
your own to create other conditions. Remember that this example is for
illustration purposes only. You should create conditions that fit your business
needs.
PLM00071 J
9-109
Chapter 9
For instructions about how to add a template to your project, see Add a
template to a Business Modeler IDE project.
For instructions about how to add a template to your project, see Add a template
to a Business Modeler IDE project.
3. Create partition, template, and event name properties on the
BidPackageRevision business object.
9-110
PLM00071 J
a. Open the BidPackageRevision business object and click the Properties tab.
b.
c.
Create an LOV for each partition that holds the names of the available
templates for that partition.
For example, create a project-prefixAcmeTemplates and
project-prefixGeneralPinnacleTemplates and add template values
to each.
PLM00071 J
9-111
Chapter 9
c.
Open the project-prefixPartition LOV and select the Show Cascading View
check box.
d. For each partition LOV value, add the corresponding template LOV.
For example, add the project-prefixAcmeTemplates LOV as a sub-LOV to the
Acme value, and add the project-prefixGeneralPinnacleTemplates LOV as a
sub-LOV to the General Pinnacle value.
9-112
b.
Scroll down to the Using the LOV Attachments table and click the Attach
button.
c.
PLM00071 J
c.
d. Click Finish.
PLM00071 J
9-113
Chapter 9
The server must have the Vendor Management and SRM Integration
applications installed.
b.
c.
d. Right-click the bid package revision, choose Edit Properties, and check out
the bid package revision.
9-114
e.
To see all the properties on the bid package revision object, click the All link
at the bottom of the dialog box, scroll down to the bottom of the dialog box,
and select Show empty properties.
f.
g.
Click the box in the RFx Partition box and choose the partition and the
template. Note that after you choose the partition, you are prompted to select
the template. This is as a result of the interdependent LOV configuration.
PLM00071 J
Systems Engineering
Configure Systems Engineering using the Business Modeler IDE
Use the Business Modeler IDE to create custom objects used by the Systems
Engineering application.
For information about how to use Systems Engineering, see the Systems Engineering
Guide.
Note
Before working with Systems Engineering objects, you must install the
Systems Engineering template (systemsengineering_template.xml file)
to your project.
For instructions about how to add a template to your project, see Add a
template to a Business Modeler IDE project.
PLM00071 J
9-115
Chapter 9
1. If you have not already done so, create a custom template project to hold your
data model changes.
For instructions, see Create a Business Modeler IDE template project.
2. Open the Extensions\LOV folders and open the Fnd0TcApplication list of values.
3. Click the Add button to the right of the values list and add a diagram domain,
for example, MyDiagramDomain.
9-116
PLM00071 J
This maps the MyDiagramDomain value entered on the LOV to the Teamcenter
application perspective you want the diagram to be opened in, which is Systems
Engineering.
PLM00071 J
9-117
Chapter 9
9-118
PLM00071 J
Teamcenter EDA
Configure Teamcenter EDA using the Business Modeler IDE
Teamcenter EDA integrates Teamcenter with electronic CAD applications that are
used to design electronic components, such as circuit boards.
For information about creating EDA derived data objects in the Business Modeler
IDE, see Working with derived data.
Note
Before working with Teamcenter EDA objects in the Business Modeler IDE,
you must install the EDA features in Teamcenter Environment Manager
(TEM). From the Features panel, choose ExtensionsMechatronics
Process ManagementEDA for Business Modeler IDE.
For more information about installing the EDA feature to the Business
Modeler IDE, see Install the Business Modeler IDE as a stand-alone
application.
You must also install the EDA Server Support template
(edaserver_template.zip file) to your project.
For instructions about how to add a template to your project, see Add a
template to a Business Modeler IDE project.
Before you can configure derived data in the Business Modeler IDE, you
must install the EDA for Business Modeler IDE feature and the EDA Server
and Rich Client Support feature to the server. You must also install the EDA
Server and Rich Client Support template to the Business Modeler IDE.
For more information, see Install the Business Modeler IDE as a stand-alone
application.
Designers use ECAD (electronic CAD) applications to create electronic parts such as
circuit boards. The managing of ECAD designs is known in the industry as electronic
design automation (EDA). The Teamcenter EDA application integrates Teamcenter
with ECAD applications such as Mentor Graphics and Cadence.
Derived data contains information that is derived from an ECAD design, and
comprises derived items and datasets. Derived items represent parts, subassemblies,
and tools. Derived datasets manage data files created by ECAD applications.
Administrators can configure how the derived data is created in Teamcenter EDA
by using the EDA Derived Data folder in the Business Modeler IDE and providing
the name of the configuration in the EDA_DerivedDataConfigDefault preference.
After configurations are created, users in Teamcenter EDA can create derived data
by selecting the Save Derived Data menu command or by selecting the Generate
Derived Data check box in the Save As, Save, or Check In dialog box. For example, a
configuration can specify that when a schematic design is saved in Teamcenter EDA,
a schematic drawing can be automatically generated from the schematic design, and
saved along with the schematic item.
PLM00071 J
9-119
Chapter 9
EDA business objects define the different types of derived data you can generate. To
locate EDA business objects, use the Find button in the BMIDE view to search for all
business objects containing the EDA string.
Note
To see all the EDA data model, you must install the EDA Server and Rich
Client Support template to the Business Modeler IDE.
For more information, see Install the Business Modeler IDE as a stand-alone
application.
The following item types are children of the EDA business object:
EDACCABase
Represents the common electrical CAD (ECAD) design data that is shared
between variant circuit card assemblies (CCAs). It is used only for multiple
CCA representations.
EDAComp
Represents electrical components contained in the CCA bill of materials (BOM).
EDASchem
Represents the electrical schematic item.
EDAHasDerivedDataset
Identifies the associated dataset as a derived dataset.
EDAHasDerivedItem
Identifies the associated item as a derived item.
9-120
PLM00071 J
a. In the Name box, type the name you want to assign to the
new derived data configuration. This is the name used in the
EDA_DerivedDataConfigDefault preference.
b.
c.
Click Next.
4. In the EDA Derived Data Configuration dialog box, set up how all EDA item and
dataset types are to be handled for all contexts.
a. Click the Add button to the right of the Configure Items table to configure the
derived items to be generated. For example, create separate rows for contexts
such as schematic, PCB, simulation, and so on, including variations based on
the what the parent is, such as Schematic, CCA, and CCAVariant. In this
way, you set up how derived data is generated for all combinations of items.
In the Add/Edit EDA Derived Item Configuration dialog box, enter the
following information:
A. In the Name box, type the name that you want to assign to the derived
item configuration. The value in this box is displayed to the user on the
Teamcenter EDA Derived Item dialog box during save operations.
B. Click the Browse button to the right of the Context box to select the
Teamcenter EDA application contexts that support generation of this
derived dataset. (In other words, when users in Teamcenter EDA save
derived data for the following specified data type, derived items are
generated according to this configuration.)
all
All types (printed circuit boards, schematic diagrams, and
simulations).
pcb
Printed circuit boards.
pcb/simulation
Printed circuit boards or simulations.
schematic
Schematic diagrams.
schematic/pcb
Schematic diagrams or printed circuit boards.
schematic/simulation
Schematic diagrams or simulations.
simulation
Simulations.
PLM00071 J
9-121
Chapter 9
C. (Optional) In the Prefix box, type a file name string to be attached to the
beginning of the parent item ID to distinguish it as being generated
by this configuration.
The resulting string, including the prefix and postfix, is used in the
derived item user interface in Teamcenter EDA as initial values for the
Derived Item ID box and Name box and can be overridden by the user.
D. (Optional) In the Postfix box, type a file name string to be attached
to the end of the item ID to distinguish it as being generated by this
configuration.
The resulting string, including the prefix and postfix, is used in the
derived item user interface in Teamcenter EDA as initial values for the
Derived Item ID box and Name box, and can be overridden by the user.
E. Click the Browse button to the right of the EDA Parent box to select the
derived parent EDA business object to which the derived item is related.
(Teamcenter EDA does not support attaching derived items under other
derived items.)
CCA
Represents a circuit card assembly (CCA).
CCABase
Represents the common design data that is shared between variant
circuit card assemblies (CCAs). It is used only for multiple CCA
representations.
CCAVariant
Represents the variant design data for a circuit card assembly (CCA).
This is the data that is used on top of the CCABase business object.
PWB
Represents a printed wire board (PWB). A PWB is the product of a
schematic design and printed circuit board (PCB) layout design and
holds various printed wire board production data created by those
designs.
Schematic
Represents the electrical schematic item.
F. Click the Browse button to the right of the Relation box to select the
relationship between the derived item and the parent item revision.
The EDAHasDerivedItem business object and its children are
displayed in the selection dialog box.
G. Click the Browse button to the right of the Item Business Object box to
select the business object type name for the derived item, for example,
EDA.
9-122
PLM00071 J
H. Select the Add to Bom check box to add the derived item to the bill of
materials of the Teamcenter EDA parent. This check box is disabled if
the Teamcenter EDA parent is schematic or PWB.
I.
Click Finish.
The derived item configuration is added to the Configure Items table.
b.
Click the Add button to the right of the Configure Dataset table to configure
the derived datasets to be generated. For example, create separate rows
for contexts such as schematic, PCB, simulation, and so on, including
variations based on the what the parent is, such as Schematic, CCA, and
CCAVariant. In this way, you set up how derived data is generated for
all combinations of datasets.
In the Add/Edit EDA Derived Dataset Configuration dialog box, enter the
following information:
A. In the Name box, type the name you want to assign to the derived
dataset configuration.
The value in this box is displayed to the user on the Teamcenter EDA
Derived Dataset dialog box during save operations.
B. Click the Browse button to the right of the Context box to select the
Teamcenter EDA application contexts that support generation of this
derived dataset. (In other words, when users in Teamcenter EDA save
derived data for the following specified data types, derived datasets are
generated according to the configuration.)
all
All types (printed circuit boards, schematic diagrams, and
simulations).
pcb
Printed circuit boards.
pcb/simulation
Printed circuit boards or simulations.
schematic
Schematic diagrams.
schematic/pcb
Schematic diagrams or printed circuit boards.
schematic/simulation
Schematic diagrams or simulations.
simulation
Simulations.
PLM00071 J
9-123
Chapter 9
C. (Optional) In the Prefix box, type a file name string to be attached to the
beginning of the parent item ID to distinguish it as being generated
by this configuration.
The resulting string, including the configured prefix and postfix, is used
in the derived dataset user interface in Teamcenter EDA as the initial
value for the Dataset Name box and can be overridden by the user.
D. (Optional) In the Postfix box, type a file name string to be attached to
the end of the parent item ID to distinguish it as being generated by
this configuration.
The resulting string, including the configured prefix and postfix, is used
in the derived dataset user interface in Teamcenter EDA as the initial
value for the Dataset Name box and can be overridden by the user.
E. Click the Browse button to the right of the EDA Parent box to select
the derived item type to which the derived dataset will be related.
In addition to the following item types, the list also includes item
configurations you already created.
CCA
Represents a circuit card assembly (CCA).
CCABase
Represents the common electrical CAD (ECAD) design data that is
shared between variant circuit card assemblies. It is used only for
multiple CCA representations.
CCAVariant
Represents the variant design data for a circuit card assembly (CCA).
This is the data that is used on top of the CCABase business object.
PWB
Represents a printed wire board (PWB). A PWB is the product of a
schematic design and printed circuit board (PCB) layout design and
holds various printed wire board production data created by those
designs.
Schematic
Represents the electrical schematic item.
F. Click the Browse button to the right of the Relation box to select the
relationship between the derived dataset and the parent item revision.
The EDAHasDerivedDataset business object and its children are
displayed in the selection dialog box.
G. Click the Browse button to the right of the Dataset Business Object
box to select the parent dataset business object type in Teamcenter to
represent the derived item, for example, PDF.
H. Click the Browse button to the right of the Dataset Reference box to
select the kind of file reference to use for the derived dataset.
9-124
PLM00071 J
If the derived data instance comprises more than one file, this field must
either be specified as a ZIPFILE type or must be specified using a separate
derived dataset configuration entry with the same derived data name.
I.
In the Pathname box, type the path where the derived dataset is to be
saved on the users machine.
Path names are evaluated at run time and must be the fully qualified
path of the dataset that is to be saved. Path names can be explicitly
specified (for example, D:\EDA\Datasets\readme.txt) or formed
using the variables or filename filters in the following table. Derived
datasets can contain multiple files. Path names are case-sensitive and
the directory delimiters of / or \ are used interchangeably.
Several variables are available to be used in path names. This permits
the sharing of configurations between users and workstations. This table
provides the available variables, with descriptions and examples of each.
Variable
Description
$STAGE
$TEMP
User system temporary directory with full path, for example, C:\Temp
$DESIGN
$APPNAME
$FAMNAME
$USER
$ITEMID
$VARIANT
PLM00071 J
Filter
Description
{}
9-125
Chapter 9
Filter
Description
[]
J.
(Optional) In the Callback Name box, type the EDA callback name to
execute.
This name is used to identify the configured callback in the EDA
configuration file to determine what script to execute. The script is
responsible for creating or placing the corresponding derived files to be
uploaded as specified by the configured source path name.
K. Click Finish.
9-126
PLM00071 J
Click Finish.
The derived data configuration is added under the EDA Derived Data folder.
5. To save the changes to the data model, choose BMIDESave Data Model, or click
the Save Data Model button
6. Deploy your changes to the test server. Choose BMIDEDeploy Template on the
menu bar, or select the project and click the Deploy Template button
the main toolbar.
on
Validation Manager
Configure Validation Manager using the Business Modeler IDE
Use the Business Modeler IDE to create custom objects used by the Validation
Manager application. Validation Manager objects are provided by the Foundation
template. No additional templates are needed.
For more information about Validation Manager, see the Validation Manager Guide.
You can add new business objects that provide extended properties and specialized
behaviors in support of the associated validation agent. The NXCheckMate
and NXCMValData business objects support Validation Manager interaction
with the Check-Mate application in NX Integration. The NXRDDV and
NXRDDVValData business objects support the Validation Manager interaction
with the Requirement-Driven Design Validation application in NX Integration.
PLM00071 J
9-127
Chapter 9
NXCheckMate
Represents the NX Check-Mate agent object and is a child of the Item business
object. There is only one instance of the NXCheckMate business object allowed
in the database.
NXCheckMateRevision
Represents the NX Check-Mate agent revision object and is a child of
the ItemRevision business object. There is only one instance of the
NXCheckMateRevision business object allowed in the database
NXCMValData
Represents the NX Check-Mate checker objects and is a child of the Item
business object.
NXCMValDataRevision
Represents a unique checker object in the system and is a subclass of the
ItemRevision business object.
NXRDDV
Represents the NX RDDV agent object and is a subclass of the Item business
object. There is only one instance of the NXRDDV business object allowed in
the database.
NXRDDVRevision
Represents the NX RDDV agent revision object and is a child of the
ItemRevision business object. There is only one NXRDDVRevision business
object allowed in the database.
NXRDDVValData
Represents the NX RDDV checker objects and is a child of the Item business
object.
NXRDDVValDataRevision
Represents a unique checker object in the system and is a child of the
ItemRevision business object.
TC_validation_data
Relates an NXCheckMateRevision object to an NXCMValData object. All
NXCMValData objects that are linked from an NXCheckMateRevision object
with this relation represent the available NX Check-Mate checker objects in the
system.
TC_validation_tool
Relates an NXCheckMateRevision object to a Tool object. The Tool object
contains necessary data for the system to invoke the defined validation utility
for a validation agent revision.
9-128
PLM00071 J
ValidationResult
Represents a validation result.
allow_override_results
Indicates if the execution of the associated NXCMValDataRevision or
NXRDDVRevision objects are skipped for overridden results of an agent
revision.
is_client_utility
Indicates if the validation utility defined by a Tool business object is invoked
from the client machine. This is a logical property of the NXCheckMate and
NXRDDV business objects.
is_mandatory
Indicates if an NXCMValDataRevision or NXRDDVValDataRevision object
is a mandatory checker.
override_reason_mandatory
Indicates if an override reason is required when a result override request
is initiated. This is a logical property of the NXCheckMateRevision and
NXRDDVRevision business objects.
valdata_name
Defines a unique name of an NXCMValData object within the NXCheckMate
agent. This string property is on the NXCheckMateValData and
NXRDDVValData business objects.
validation_arguments
Stores the command line arguments when the validation utility defined by a
Tool business object is invoked.
validation_category
Describes the category of a checker. This is a string property on the
NXCMValDataRevision business object.
validation_closure_rule
Points to a ClosureRule object in the system. The closure rule object is used to
find validation target objects.
validation_parameters
Points to a ValidationParams object. This is a tag reference property on the
NXCMValDataRevision business object.
PLM00071 J
9-129
Chapter 9
Before working with Wiring Harness Design Tools Integration objects, you
must install the Wire Harness Configuration templates (hrn_template.zip
file) to your project:
For instructions about how to add a template to your project, see Add a
template to a Business Modeler IDE project.
Workflow Designer
Configure Workflow Designer using the Business Modeler IDE
Use the Business Modeler IDE to create custom objects used by the Workflow
Designer application. Workflow Designer objects are provided by the Foundation
template. No additional templates are needed.
For more information about Workflow Designer, see the Workflow Designer Guide.
You can use the also Business Modeler IDE to create dynamic participants and
to register custom workflow handlers.
Note
9-130
PLM00071 J
For more information about the standard participant types in the change
management process, see the Change Manager Guide.
After you create a new participant type, assign keywords to the participant to
ensure that it is assigned to the correct workflows. State the keyword using the
ParticipantHandlerKeyword business object constant. The assignment Workflow
handlers dynamically pick up the keywords to designate that people assigned to that
new participant type are to be assigned to the task or signoff.
For more information about handler keywords, see the Workflow Designer Guide.
For more information about the ParticipantHandlerKeyword business object
constant, see Business object constants reference.
1. If you have not already done so, create a custom template project to hold your
data model changes.
For instructions, see Create a Business Modeler IDE template project.
2. In the Business Objects folder, search for the Participant business object.
3. Create a child of the Participant business object by right-clicking the business
object and choosing New Business Object.
4. Perform the following steps to assign handler keywords to the new participant
business object type:
a. Open the new business object type.
b.
On the Main tab in the Business Object Constants table, select the
ParticipantHandlerKeyword business object constant.
c.
Click the Edit button to the right of the Business Object Constants table.
d. In the Business Object Constant dialog box, type the handler keywords
to use for this participant.
For a list of available handler keywords, see the Workflow Designer Guide.
e.
PLM00071 J
9-131
Chapter 9
For general information about how to create extension rules, see Introduction to
extensions. For more general information about workflow handlers, see the Workflow
Designer Guide. For instructions about how to write your own custom workflow
handlers, see the Server Customization Programmers Guide.
1. If you have not already done so, create a custom template project to hold your
data model changes.
For instructions, see Create a Business Modeler IDE template project.
2. Create a library to hold the custom workflow handlers. Open the
Extensions\Code Generation folders, right-click the Libraries folder, and click
the New Library button.
For more information, see Create a library.
3. Create the custom extension rule.
a. Open the Extensions\Rules folders, right-click the Extensions folder, and
choose New Extension Definition.
b.
In the Extension dialog box, type the name of your custom extension in the
Name box and click the Add button to the right of the Availability table.
Note
9-132
PLM00071 J
A. Click the Browse button to the right of the Business Object Name box
and select the Session business object.
B. Click the Browse button to the right of the Operation Name box and
select the BMF_SESSION_register_emp_handlers operation.
C. Click the arrow in the Extension Point box and select BaseAction.
D. Click Finish.
PLM00071 J
9-133
Chapter 9
9-134
b.
c.
Under the Extension Attachments panel, open the Base-Action table and
click the Add button to the right of the table.
PLM00071 J
Click Finish.
The custom extension is added as a base action on the
BMF_SESSION_register_emp_handlers operation.
PLM00071 J
9-135
Chapter 9
To save your changes to the template, on the menu bar, choose BMIDESave
Data Model.
5. Write the code that takes place in Teamcenter when the extension is called. This
code registers the workflow action handler and rule handler.
a. Ensure that your project is set up for coding so you can generate extension
code.
For more information, see Set up a project for coding.
b.
c.
You may need to right-click in the view and choose Refresh to see
the files that were generated.
9-136
PLM00071 J
EPM_register_action_handler("Z8-custom-action-handler",
"This is a custom action handler", Z8_customActionHandler);
EPM_register_rule_handler("Z8-custom-rule-handler",
"This is a custom rule handler", Z8_customRuleHandler);
return ifail;
}
When you follow this example, replace the text in bold with the names of
your own extension and handlers.
For an example of extension code, see Develop the C custom extension code
for the example extension.
e.
Use the EPM user exit to customize the Workflow template filter
You can use the EPM user exit in the Business Modeler IDE to set a filter for
Workflow templates based on the group name and the object type of the target object.
Note
Before showing you the sample customization using the EPM user exit, following is
a review of the normal process to filter Workflow templates:
1. In Workflow Designer, choose EditTemplate Filter.
2. In the Process Template Filter dialog box, select a group in the Group Name
box (for example Engineering), type in the Object Type box (for example,
ItemRevision) and move templates from the Defined Process Template list on
the right to the Assigned Process Template list on the left. Click Apply.
The following figure shows how Workflow templates are assigned to the
Engineering group for ItemRevision objects. Only these templates are
available for use with that object type with the specified group.
PLM00071 J
9-137
Chapter 9
Workflow templates
3. To test the template assignment, log on to My Teamcenter as a member of the
Engineering group, choose an object type for which you created a filter (for
example, an item revision), and choose FileNewWorkflow Process.
4. In the New Process Dialog dialog box, click the Assigned button.
The filtered templates you previously chose for that object type and group name
are displayed in the Process Template box list. If multiple objects of different
types are attached as target, the Assigned list shows templates for each object
type used as target.
9-138
PLM00071 J
1. In the Business Modeler IDE, locate the User Exits folder under
the Extensions folder. Open the EPM user exit and note the
BMF_EPMTaskTemplate_get_filtered_templates operation.
PLM00071 J
9-139
Chapter 9
9-140
PLM00071 J
Adding the extension to the base action of the EPM user exit
6. The code generation feature in the Business Modeler IDE generates the source
files for the required extension. These source files can be copied and used in the
custom project. The name of the implementing method should be same as the
name of the new extension as seen in the generated source files.
For more information about generating code when using extensions, see
Introduction to extensions.
For example, the sample source file looks similar to the following. If the name
of the new extension is A5_TC_EPM_TaskTemplateFilter, then the header
file contains the following entry in the same library for which the extension is
created:
#ifdef __cplusplus
extern "C"{
#endif
extern library-name_API int A5_TC_EPM_TaskTemplateFilter();
#ifdef __cplusplus
}
#endif
Replace library-name with the name of the custom library for which the
extension has been created.
The source file has the following implementation:
#include <ug_va_copy.h>
extern int A5_TC_EPM_TaskTemplateFilter ( METHOD_message_t *message, va_list args )
{
int ifail = ITK_ok;
va_list largs;
va_copy( largs, args );
logical include_under_construction = va_arg( largs, logical);
logical assigned_templates
= va_arg( largs, logical);
int number_of_objects = va_arg( largs, int);
tag_t* target_objects = va_arg( largs, tag_t*);
char** object_types
= va_arg(largs, char**);
const char* group
= va_arg(largs, char*);
int* count
= va_arg( largs, int*);
tag_t** process_templates = va_arg( largs, tag_t**);
va_end( largs );
//Custom code to filter
//If required to use results from default filter
ifail = EPM_ask_workflow_templates_base(include_under_construction, assigned_templates,
number_of_objects, target_objects, object_types, group, count, process_templates);
return ifail;
}
PLM00071 J
9-141
Chapter 9
This customization involves only the ITK-based filter, and the user interface
filter configuration may not be required if you do not need results from the
default filter. The EPM_ask_workflow_templates_base ITK method
returns the results from the default filter without considering the user exit
Implementation. If you need to use results from the custom filter in some other
ITK code, the EPM_ask_workflow_templates ITK API can be used. This API
returns results from the custom filter if it is implemented; otherwise, it returns
results from the default filter.
9-142
PLM00071 J
Chapter
PLM00071 J
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 10-6
. 10-6
. 10-6
. 10-8
10-10
10-11
10-14
10-14
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
10-15
10-15
10-15
10-15
10-16
10-17
10-17
10-18
10-19
10-20
10-20
10-24
10-26
10-28
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
10-28
10-28
10-29
10-29
10-29
10-30
10-31
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
10-31
10-31
10-32
10-32
PLM00071 J
Chapter
Before running TEM, you must install the proper version of the JRE
and set the JRE_HOME environment variable or the JRE64_HOME
environment variable.
For more information, see the Installation on Windows Clients Guide.
2. Proceed to the Solutions dialog box. In the Solutions dialog box, select Business
Modeler IDE, and then click Next.
3. Perform the following steps in the Features dialog box:
a. Under Base Install, select Business Modeler IDE Standalone.
b.
PLM00071 J
10-1
Chapter 10
This installs the Mapping Designer data model mapping tool into the
Business Modeler IDE.
c.
In the Installation Directory box, enter the location where you want to install
the Business Modeler IDE.
The Business Modeler IDE files are installed to a bmide subdirectory.
d. Click Next.
4. Complete the remaining dialog boxes to finish the installation. When the
installation is complete, exit Teamcenter Environment Manager.
Click the arrow in the Software Archive for box, select 2011sp1, and choose
MapForce 2011 Professional Edition.
Note
Choose the 64-bit package if you have a 64-bit machine and you
want to run in 64-bit mode. If you want to run in 64-bit mode, you
must have already installed the 64-bit versions of the JRE and the
Business Modeler IDE.
10-2
b.
Click the arrow in the Software Archive for box, select 2011sp1, and choose
MapForce 2011 Integration Package.
c.
Run the installer and select the Install the Eclipse plug-in check box. Then
select the Manually, using the Eclipse configuration manager option to
install the Eclipse plug-in using the manual configuration. By default,
when running in 32-bit mode, the integration plug-ins are installed to the
following locations (on Windows):
PLM00071 J
b.
Paste the MapForce Eclipse plug-ins in the Business Modeler IDE plugins
directory, for example:
install-location\bmide\client\plugins
c.
Windows systems:
Click the Start button and choose the ProgramsTeamcenter 10Business
Modeler IDE menu commands. This runs the bmide.bat file.
Linux systems:
Run the bmide.sh file in the install-location/bmide/client directory.
2. When you start the Business Modeler IDE for first time, the Welcome dialog box
appears. Click the Workbench button on the right side of the Welcome window.
3. To access the Mapping Designer perspective, choose WindowOpen
PerspectiveOtherMapping Designer.
PLM00071 J
10-3
Chapter 10
Factors View
MapForce editor
10-4
PLM00071 J
In addition to these Mapping Designer views, there are additional views provided
by MapForce. For documentation about MapForce views, see the MapForce
documentation, available at the following URL:
http://www.altova.com/documentation.html
Filtering rules
Filtering rules select the source system instances to be processed, and applies the
transformation only to those objects. The rules specify the relationships between the
elements in the factors. The following tables show sample filtering rules.
Rule Element
Primary
Cmponent Cmponent
CmpnMstr Cmponent
Primary
property
Secondary
Secondary
property
ItemMstrOBID
CmpnMstr
elemId
3. The Mapper Engine applies the transformation to the objects selected from
rules 1 and 2.
Primary
property
Secondary
Secondary
property
Document
elemId
Attach
Left
Attach
Right
WordDoc
elemId
Rule Element
Primary
Document
Document
Document
WordDoc
PLM00071 J
10-5
Chapter 10
3. Based on rule 3, for each object of the Attach type found, the Mapper Engine
finds WordDoc objects that satisfy the following:
Attach::Right=WordDoc::elemId
4. The Mapper Engine applies the transformation to the objects selected from
rules 1, 2, and 3.
10-6
PLM00071 J
b.
Select the Use default location check box if you want to create
the project under your default workspace. To find the workspace
location, choose FileSwitch Workspace. For example, on Windows
systems, the default workspace for the Business Modeler IDE is at
install-location\bmide\workspace.
If you want to create the project in another location, clear the Use default
location check box and click Browse to choose another location. For example,
if you are using a source control management (SCM) system to manage your
XML source files, you may want to create the project in a location where the
SCM can recognize it.
c.
Select the Add project to working sets check box if you want to add the
project to a working set that you have already created in Eclipse. (You can
use this option only if you have installed the Business Modeler IDE to an
Eclipse environment.)
d. Click Next.
4. In the Source and Target Schema dialog box, perform the following steps:
a. In the Project Description box, type a description of the work you will
perform in the project.
b.
Click the Browse button to the right of the Source Schema File box to locate
the schema data model file for the system you are mapping from.
c.
Click the Browse button to the right of the Target Schema File box to locate
the schema data model file for the system you are mapping to.
Note
Before you create a project, you must have already generated schema
for your source and target installations. To generate a Teamcenter
schema file, use the Export option in the Business Modeler IDE. You
can also use schemas from the sample projects.
For more information, see Export a TC XML schema file and Import
the sample Mapping Designer projects.
To generate an Teamcenter Enterprise schema file, in the
Administration Editor use the System UtilitiesGenerate XML
Schema menu option. After generating the file, the following
message is displayed:
Generation of new XML Schema is successfully completed.
Please find the xsd file at XSD_DIR of config.cfg
Verify that the structure of the resulting XSD file is correct. For
example, if some input items are missing, they are replaced with
change_me. Look for instances of change_me in the schema file
and change them as appropriate. If you do not, you may encounter
errors when you use this file and attempt to create a project or a
factor using the Mapping Designer.
For the generated Teamcenter Enterprise schema file to
be read by the Mapping Designer, you need to copy the
MTI_ROOT/xml/ems/TcEntBaseSchema.xsd file into the same
directory as the generated schema file. The generated schema file
PLM00071 J
10-7
Chapter 10
Add a factor
In the Mapping Designer, a factor is a list of data model elements that you want to
map between the source system and the target system.
More generally, a factor is a conceptual piece of information, and factoring is a way
of defining those pieces (factors), specifying transformations for those factors, and
then applying the transformations to the factors. Defining factors and specifying
the transformation for each factor simplifies the mapping process and makes it
more manageable.
1. Open the Mapping Designer perspective if it is not already active. Choose
WindowOpen PerspectiveOtherMapping Designer.
2. In the Factors view, right-click the project in which you want to add the factor
and choose Add New Factor, or right-click a factor and choose Add New Child
Factor.
The New Factor wizard runs.
3. In the Factor: Create a new Factor dialog box, perform the following steps:
a. The Project box shows the project to which this new factor is added.
b.
In the Name box, type the name you want to assign to the new factor.
You may want to name the factor for the data model category you are
mapping, for example, Cmponent or Assembly.
c.
In the Description box, type a description of the work you will perform in
the factor.
d. In the Version box, type the iteration for this factor (for example, A, B, C,
or 1.0, 1.1, and so on).
e.
If a factor already exists in a project, you can click the arrow in the Extend
From box to copy data model elements from another factor.
f.
Click Next.
4. In the Factor: Add source elements dialog box, perform the following steps to
choose the data model elements to map from the source system.
10-8
PLM00071 J
c.
In the Element Selection Page dialog box, choose a data model element from
the source system that you want to map.
For example, if the project is set up for mapping from Teamcenter Enterprise
to Teamcenter, the list displays Teamcenter Enterprise data elements. Select
an element in the source system you want to map.
If you want to map an element from a parent factor, the parent is shown in
brackets after the name of the element, for example, [parent-factor].
Click Next.
d. In the Property Selection Page dialog box, select the properties (attributes)
on this element that you want to map.
Click Finish.
The source element and its properties appear in the Factor: Add source
elements dialog box.
e.
Continue to add source elements and properties using the buttons on the
right side of the Factor: Add source elements dialog box:
Add Element
Add a data model element.
Add Property
Add properties to the selected element.
Remove
Remove the selected element or property.
Replace
Replace the selected element or property with another.
f.
5. In the Factor: Add target elements dialog box, perform the same steps that you
did when adding source elements. These are the data model elements to map to
in the target system.
For example, if the project is set up for mapping from Teamcenter Enterprise to
Teamcenter, the target list displays Teamcenter data elements.
When done, click Next.
6. In the Factor: Add source instance filtering rules dialog box, click the Add
button.
Each factor must have a set of rules to filter out objects in the source system
that need to be processed. The Mapper Engine only applies the transformation
to the objects specified in the rules.
PLM00071 J
10-9
Chapter 10
For directions about how to create rules using this dialog box, see Create filtering
rules. For an explanation of filtering rules, see Filtering rules.
Note
If you choose not to create filtering now, you can click Finish and proceed
to step 8. You can create filter rules later.
7. Click Finish.
The new factor appears under the project.
8. To save the factor, choose FileSave All.
9. To see the factor files, right-click in the Project Explorer view and choose
Refresh. To see the elements and properties in the factor, double-click the
factors .xml file.
Caution
10. If you need to make additional changes to the factor, right-click the factor in the
Factors view and choose Modify Source Element/Properties or Modify Target
Element/Properties.
For more information, see Modify factor source elements and properties and
Modify factor target elements and properties.
After you create the factor, create a map between the source and target elements.
For more information, see Create a map.
Create a map
Using the data model elements in the factors, map the source elements to the target
elements.
The steps in the following procedure document only the basics about how to create
a map using the Mapping Designer. The mapping functionality is provided by
MapForce, and is a rich set of features that allow you to do complex mapping.
For more detailed documentation about creating maps, including using library
functions, see the MapForce documentation, available at the following URL:
http://www.altova.com/documentation.html
1. Open the Mapping Designer perspective if it is not already active. Choose
WindowOpen PerspectiveOtherMapping Designer.
2. In the Factors view, right-click the factor that you want to map and choose
Open Factor.
The factor appears in an editor as a SourceSchema box and a TargetSchema
box. (This editor is provided by the MapForce plug-in.)
3. Click the plus symbol (+) by the TcFactor node in the source box and in the
target box. This expands to show all the elements you have created in the
source and target.
10-10
PLM00071 J
Creating a map
For examples of mappings, view the sample projects.
For more information, see Import the sample Mapping Designer projects.
6. When you are done mapping, click the Save button on the toolbar.
To see the mapping file, right-click in the Project Explorer view, choose Refresh,
and open the factor. The mapping file is saved with an .mfd (MapForce)
extension.
After you create the map, create filtering rules.
For more information, see Create filtering rules.
PLM00071 J
10-11
Chapter 10
You can create the filtering rules when you create the factor, or after the factor is
created. The following procedure describes how to create the rules after factors
are already created.
1. Open the Mapping Designer perspective if it is not already active. Choose
WindowOpen PerspectiveOtherMapping Designer.
2. In the Factors view, select the factor for which you want to create filtering rules.
3. In the Factor Details view at the bottom of the window, select the Filtering Rules
tab.
4. Click the Add button on the Filtering Rules tab.
5. Perform the following steps in the Factor: Create new filtering rule dialog box:
a. In the To Be Included pane, click the Browse button to the right of the
Element box to choose the main element to filter.
b.
Click the Define Condition button if you want to create a condition that
the element must meet. Only objects having the element that meets this
condition will be processed from the source system.
Click the Add button in the Condition dialog box and perform the following
steps in the Condition: Add condition statement dialog box:
A. The Primary box displays the main element to filter for the condition.
B. For Condition Type, select one of the following:
Attribute
Specifies that the condition applies to a property.
Constant
Specifies a constant is used with the condition.
Raw XPath
Specifies that the condition applies to an XPath (XML Path
Language) address for the node in an XML document.
C. If you selected Attribute, click the Browse button to the right of the
Primary Property box to select the primary property to filter.
D. If you selected Attribute, click the arrow in the Criteria box to select the
operator for the condition.
10-12
Operator
=
Description
!=
<
<=
>
Greater than.
Equals.
Less than.
PLM00071 J
Operator
>=
Description
Greater than or equals.
c.
I.
Click Finish.
J.
After you finish building conditions, click Finish in the Condition: Build
condition dialog box.
Click Finish in the Factor: Create new filtering rule dialog box.
The first level of the filter appears in the table on the Filtering Rules tab.
6. Now you are ready to add the next level of filtering. Select the first level of
filtering and click the Add button on the Filtering Rules tab.
7. Perform the following steps in the Factor: Create new filtering rule dialog box:
a. In the Existing pane, click the Browse button to the right of the Property
box to select the property on the primary element to filter.
b.
In the To Be Included pane, click the Browse button to the right of the
Element box to select the element to include in the filtering.
c.
In the To Be Included pane, click the Browse button to the right of the
Property box to select the property to filter on this element.
d. Repeat the same steps as needed for the Define Condition button and the
Has Multiple and Is Required check boxes.
e.
Click Finish.
8. Select the rule in the table under which you want to create additional filtering
and click Add. Continue to add rules, adding layers of filtering.
For examples, see Filtering rules.
9. When you are done creating filters, click the Save button on the toolbar or
choose FileSave.
After you create the filtering rules, build a control file.
For more information, see Build a control file.
PLM00071 J
10-13
Chapter 10
In the Server URL box, type the URL of the data exchange server.
c.
In the Target directory box, type the directory of the datastore location
where the deployed files are to be placed.
d. In the User ID box, type the ID of the authorized user on the server.
10-14
e.
In the Password box, type the password for the authorized user on the server.
f.
Click Finish.
PLM00071 J
Clone a factor
You can clone a factor and make changes to it to reuse it in a project. To clone a
factor, right-click the factor and choose Clone Factor.
1. Open the Mapping Designer perspective if it is not already active. Choose
WindowOpen PerspectiveOtherMapping Designer.
2. In the Factors view, right-click the factor you want to clone and choose Clone
Factor.
The Clone a Factor wizard runs.
3. In the New Name box of the Clone dialog box, type a name for the cloned factor.
4. Click Finish.
The cloned factor appears in the project.
5. If the original factor has dependencies on other factors, make the same
dependencies for the clone factor.
To view the dependencies on a factor, click the Dependency tab in the Factor
Details view. To add dependencies, click the Add button on the Dependency tab.
For directions about how to create dependencies, see Add a factor dependency.
6. To save the cloned factor, choose FileSave All.
Import a factor
If a factor is created outside of your project, you can import it into your project.
Right-click the project and choose Import Factor.
You can also import a factor from within the same project and give it a new name.
This works the same as using the Clone Factor command.
Caution
PLM00071 J
The source and target schemas used by the imported factor must be
the same as those as used by your project. If there are elements in
the imported factor that are not present in your projects schema, the
imported factor will not load properly.
10-15
Chapter 10
In the Factor Name box, type the name of the factor you want to find.
c.
d. Click the Browse button to the right of the Source Element box to choose
the source system data model element to search for.
e.
10-16
Click the Browse button to the right of the Target Element box to choose the
target system data model element to search for.
PLM00071 J
f.
Click the Browse button to the right of the Depends On box to choose the
factor it depends on.
g.
Click the Browse button to the right of the Used By box to choose the factor
it is used by.
h. Click OK.
The matching factors appear in the view.
Delete a factor
You can delete a factor by right-clicking it and choosing Delete Factor.
1. Open the Mapping Designer perspective if it is not already active. Choose
WindowOpen PerspectiveOtherMapping Designer.
2. In the Factors view, right-click the factor you want to delete and choose Delete
Factor.
The Confirm Delete Factor Action dialog box is displayed.
3. Click OK.
The factor is removed from the project.
Note
However, if other factors are dependent on this factor, the factor is not
deleted. A message states the names of the factors that are dependent
on the factor to be deleted. To remove the dependencies:
a. Open each of the other factors.
b.
c.
Select the factor in the Depends On pane and click the Remove
button.
After the dependency is removed from all the other factors, you can again right-click
the factor and choose Delete Factor.
PLM00071 J
10-17
Chapter 10
5. In the Factor Selection dialog box, select the factor you want to add and click OK.
The dependent factor is displayed in the Depends On pane.
c.
In the Element Selection Page dialog box, choose a data model element from
the source system that you want to map.
For example, if the project is set up for mapping from Teamcenter Enterprise
to Teamcenter, the list displays Teamcenter Enterprise data elements. Select
an element in the source system you want to map.
Click Next.
d. In the Property Selection Page dialog box, select the properties (attributes)
on this element that you want to map.
Click Finish.
The source element and its properties appear in the Factor: Modify source
elements dialog box.
e.
Continue to add source elements and properties. When done, click Finish.
4. After you change the elements and properties on a factor, you must adjust
filtering rules to accommodate the changes. Select the factor, and in the Factor
Details view, click the Filtering Rules tab.
For directions about how to create filtering rules, see Create filtering rules.
5. After changing elements and properties in the factor, you must adjust the
mapping between the source and target elements to account for the changes.
Open the factor and draw connections between the source and target factor nodes.
For directions about how to create a mapping, see Create a map.
6. To save the changes to the factor and the mapping, choose FileSave All.
10-18
PLM00071 J
c.
In the Element Selection Page dialog box, choose a data model element in
the target system that you want to map to.
For example, if the project is set up for mapping from Teamcenter Enterprise
to Teamcenter, the list displays Teamcenter data elements. Select an
element in the target system you want to map to.
Click Next.
d. In the Property Selection Page dialog box, select the properties (attributes)
on this element that you want to map to.
Click Finish.
The target element and its properties appear in the Factor: Modify target
elements dialog box.
e.
Continue to add target elements and properties. When done, click Finish.
4. After you change the elements and properties on a factor, you must adjust
filtering rules to accommodate the changes. Select the factor, and in the Factor
Details view, click the Filtering Rules tab.
For directions about how to create filtering rules, see Create filtering rules.
5. After changing elements and properties in the factor, you must adjust the
mapping between the source and target elements to account for the changes.
Open the factor and draw connections between the source and target factor nodes.
For directions about how to create a mapping, see Create a map.
6. To save the changes to the factor and the mapping, choose FileSave All.
PLM00071 J
10-19
Chapter 10
10-20
PLM00071 J
1. In the Project Explorer view, create a comma-separated (CSV) file with a .csv
extension that contains the values to be used in the lookup, for example,
personnel.csv.
Each row in the comma-separated value (CSV) file represents one key/value
entry. The first row contains metadata defining the name of the columns.
b.
An index matches a logical name with the physical CSV lookup file and also
declares which of the columns in the CSV lookup file are treated as keys and
which are treated as values.
c.
In the CSV File Name box, type the name of the comma-separated value
file that holds the keys and values.
d. In the Keys box, type the names of the keys from the CSV file. Any column
can be used as a key or a value. The purpose of this index is to declare
which of the columns in the lookup file are treated as keys and which are
treated as values.
e.
In the Values box, type the names of the values from the CSV file in the
Value Name column.
In the Default Value column, type the value to use if no value is found during
a lookup.
PLM00071 J
10-21
Chapter 10
Creating an index
f.
Creating an association
3. Choose FileSave All.
10-22
PLM00071 J
The lookup table appears in the Project Explorer view as the tabledef.tdf file.
4. In the Factors view, right-click the project and choose Build Control File.
The lookup functions file is generated as project-name-lookupfunctions.xslt in
the Project Explorer view. The following figure shows the .csv file, the table
definition file, and the lookup functions file.
PLM00071 J
10-23
Chapter 10
10-24
PLM00071 J
Note
Rather than using an entire sample project, you could import factors from a
sample project.
For more information, see Import a factor.
This procedure describes how to import the sample Teamcenter Enterprise and
Teamcenter mapping projects.
1. Browse to the TC_ROOT\TC_DATA\mapping_designer_projects directory
on a Teamcenter server installation. Locate the following directories (see the
Readme.txt files under each directory for more information):
ADA
Contains ADA License mapping projects.
Catia
Maps Teamcenter Enterprise and Teamcenter to CATIA integrations.
Foundation
Maps Teamcenter Enterprise to Teamcenter.
Ideas_NX
Maps Teamcenter Enterprise and Teamcenter to the I-deas NX Integration.
interspec_to_teamcenter
Maps the Interspec specification authoring tool to Teamcenter.
MRO_Teamcenter_to_TC_Enterprise
Maps Teamcenter maintenance, repair, and overhaul to Teamcenter
Enterprise.
ProE
Maps Teamcenter Enterprise and Teamcenter to Pro/ENGINEER
integrations.
tc2tc2
Maps Teamcenter to Teamcenter, but filters out I-deas data to prevent it
from being placed on the receiving site.
TC_Enterprise_to_Teamcenter_absocc
Maps Teamcenter Enterprise to Teamcenter including absolute occurrences.
TeamcenterToTeamcenter
Maps Teamcenter to Teamcenter.
You can also extract the projects from the Teamcenter installation source.
Navigate to the tc directory, open the data.zip file, and extract the files in the
data\mapping_designer_projects path.
PLM00071 J
10-25
Chapter 10
Note
Caution
To use the imported project without errors, you must make the files
in the imported project writable.
10-26
PLM00071 J
a. Right-click the project in the Project Explorer view and choose Properties.
b.
In the left pane of the Properties dialog box, choose Mapping Designer.
c.
To change the source schema to your own systems schema, click the Browse
button to the right of the Select Source Schema box.
Warning
The new source schema must be from the same software version
as the old one. For example, if the source schema being replaced
is from Teamcenter Enterprise 2007, the new source schema
must be based on Teamcenter Enterprise 2007.
d. To change the target schema to your own systems schema, click the Browse
button to the right of the Select Target Schema box.
Warning
e.
The new target schema must be from the same software version
as the old one. For example, if the target schema being replaced
is from Teamcenter 10.1, the new target schema must be based
on Teamcenter 10.1.
Click OK.
For more information about changing project properties, see Change
Mapping Designer project properties.
To change the elements in the factor, right-click the factor in the Factors
view and choose Modify Source Element/Properties or Modify Target
Element/Properties.
For more information, see Modify factor source elements and properties
and Modify factor target elements and properties.
b.
c.
PLM00071 J
10-27
Chapter 10
The new source schema must be from the same software version as
the old one. For example, if the source schema being replaced is from
Teamcenter Enterprise 2007, the new source schema must be based
on Teamcenter Enterprise 2007.
4. To change the target schema, click the Browse button to the right of the Select
Target Schema box.
Warning
The new target schema must be from the same software version
as the old one. For example, if the target schema being replaced
is from Teamcenter 10.1, the new target schema must be based on
Teamcenter 10.1.
10-28
PLM00071 J
The Mapping Designer provides its own perspective, several views, and also uses
some Eclipse views. Only the perspectives and views provided by the Mapping
Designer are documented here. The Eclipse user interface is fully documented in the
Workbench User Guide, accessible by choosing HelpHelp Contents.
Description
Add New Factor or Add New Adds a new list of source and target data model
Child Factor
elements to the selected project.
For more information, see Add a factor.
Open Factor
Delete Factor
Modify Source
Element/Properties
Modify Target
Element/Properties
Import Factor
PLM00071 J
10-29
Chapter 10
Menu command
Description
Clone Factor
Properties
General
Displays the properties of the factor.
o
Name
Displays the name of the factor.
Description
Shows the description of the factor.
Parent Factor
Identifies the name of the parent factor, if any.
Factor WIP
Specifies that the factor is a work-in-progress. Use this check box to show
that the factor is unfinished.
10-30
PLM00071 J
Filtering Rules
Displays the rules for processing the mapping in the factor.
For more information, see Create filtering rules.
Dependency
Displays the factors dependencies.
For more information, see Add a factor dependency.
Description
Open Factor
Delete Factor
Modify Source
Element/Properties
Modify Target
Element/Properties
Properties
PLM00071 J
10-31
Chapter 10
The Console view is a default Eclipse view used to display output from loading and
building your projects. Watch this window for any problems or errors.
For more documentation on Eclipse views, see the Workbench User Guide accessible
by choosing HelpHelp Contents.
Editors in the Mapping Designer
Editors are used to display model elements. Each editor that is opened is stacked
with tabs on top of the existing editor.
The MapForce editor displays factors, and is used to create mappings. To open a
factor in this editor, right-click a factor in the Factors view and choose Open.
Warning
Do not edit data model source files manually. All data model changes
should be made using the wizards provided by the Mapping Designer.
10-32
PLM00071 J
Chapter
..............
..............
..............
..............
..............
..............
..............
contain USASCII7
..............
..............
..............
.
.
.
.
.
.
.
.
.
.
.
.
.
.
11-1
11-1
11-1
11-2
11-3
11-3
11-4
. . 11-4
. . 11-4
. . 11-5
Business Modeler IDE has slow performance, an out-of-memory error, or does not
launch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-5
Could not create the Java virtual machine error . . . . . . . . . . . . . . . . . . . . . . 11-6
Workspace is locked error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-7
Type name collision error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-7
Backup and recovery of Business Modeler IDE data . . . . . . . . . . . . . . . . . . . . 11-8
BASE10001: ENCODING_VALIDATION_ERROR . . . . . . . . . . . . . . . . . . . . 11-8
FND10001:
MULTIPLE_INTERDEPENDENT_LOV_ATTACHMENT_ERROR . . . . . . 11-10
FND10002: INVALID_CONDITION_FOR_DEEP_COPY_RULE_ERROR . . . 11-11
FND10003: THE_ELEMENT_HAS_BEEN_REMOVED_FROM_ITS
_DEPENDENT_TEMPLATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-11
FND10004:
CANNOT_SET_LOCALIZABLE_CONSTANT_ATTACHMENT_ERROR . . 11-12
PLM00071 J
Chapter
Error logs
Record Business Modeler IDE errors. See the .log file at the following location:
workspace\.metadata\.log
Deployment logs
Record deployment data. See the deploy.log, deploy_lang.log, and
client_meta_cache.log files at the following location:
workspace\project-name\output\deploy\server-connection-profile-name\date\
Console logs
Record errors that display in the console. See the console.log file in the
following location:
workspace\project-name\\output\console.log
Deployment errors
Check the deployment log
If you encounter errors deploying data model to a server, first check the deployment
log. The deploy.log file is located in the Project Files\output\deploy folder.
For more information about deployment, see Introduction to deploying templates.
PLM00071 J
11-1
Chapter 11
Deployment from within the Business Modeler IDE is done using two-tier (IIOP),
four-tier (HTTP or HTTPS), or Teamcenter client communication system (TCCS):
Two-tier (IIOP)
If you have two-tier rich client installed, you should launch the two-tier rich
client and log on to the rich client to ensure there are no two-tier connection
issues. If you are not able to log on to the two-tier rich client, the problem
is with the two-tier setup.
For more information about server connection profiles, see Add a server
connection profile.
2. Ensure that you have a server connection profile set up. Server connection
profiles define the Teamcenter servers to connect to. You must create a profile to
deploy your extensions.
For more information, see Install the Business Modeler IDE as a stand-alone
application and Add a server connection profile.
3. Ensure that you do not have TC_DATA set as a system variable. It may be
pointing to an incorrect TC_DATA location.
4. If you are running in two tier mode, make sure you have an FSC set up on your
machine. This is required because Business Modeler IDE uses transient volumes
to transfer files during deployment.
a. Ensure that the FMS_HOME environment variable is pointing to the
correct location.
b.
Verify that the transient volumes variables in the fmsmaster.xml file are
pointing to the correct location.
c.
Check the FCC status by running the fccstat -status command in the
Teamcenter command prompt.
If the command shows that FCC is offline, run the fccstat -restart command
to restart FCC, and then run fccstat -status again to ensure that FCC is
running.
11-2
PLM00071 J
Possible cause
The server is not running.
Solution
Start the server using the start_imr file, for example:
TC_ROOT\iiopservers\start_imr.bat
You must do this before starting the Business Modeler IDE in the two-tier
architecture to deploy your extensions.
Possible cause
You have deleted objects that you have already deployed earlier in your work
session, and the two-tier rich client is set up with PER_CLIENT in the
TcServer Activation Mode box. This results in the deployment detecting the
data model objects you deleted earlier.
Solution
Shut down the server, launch the start_imr.bat file again, and deploy the
Business Modeler IDE.
PLM00071 J
11-3
Chapter 11
Possible cause
You installed the Business Modeler IDE to an existing Eclipse environment,
and the config.ini file was not updated with an OSGI setting that resolves a
boot delegation problem.
Solution
In the ECLIPSE_HOME/configuration directory, open the config.ini file and
add the following:
org.osgi.framework.bootdelegation=*
This property is a list of packages that require delegation to the boot classpath,
bypassing the controlled class loading mechanism.
For more information, see Install the Business Modeler IDE to an existing Eclipse
environment.
11-4
PLM00071 J
Possible cause
The failure occurs because the values change for all date format dependent
elements. This affects elements such as TcClass and TcType that have certain
properties of date type.
Solution
Whenever you change the time zone of your server host, you must perform
a full update of your template using the Full Update option in Teamcenter
Environment Manager (TEM). This is necessary so that any subsequent live
updates proceed without any errors.
For instructions, see Update the database using TEM.
PLM00071 J
11-5
Chapter 11
The Business Modeler IDE has too many projects open, or not enough virtual
machine memory is being allocated.
Solution
If you have many projects opened in the Business Modeler IDE, close all the
projects that you are not working on. You should keep only one or two projects
open at a time.
Set the virtual memory being allocated to the Business Modeler IDE
to a higher level in both the BusinessModelerIDE.ini file and the
BMIDE_SCRIPT_ARGS environment variable. For example, use the
-Xmx1024M value to allocate 1 GB of RAM to the Business Modeler IDE.
For more information, see Allocate memory to the Business Modeler IDE.
Note
Caution
If you are running the Business Modeler IDE in an Eclipse environment, run
the following command to increase virtual memory to 1 GB:
eclipse.exe -vmargs -Xmx1024M
Possible cause
More memory is being allocated to the Business Modeler IDE than is available
on the computer.
Solution
11-6
PLM00071 J
Set the virtual memory being allocated to the Business Modeler IDE to
a level lower. Set the Xmx value to a setting that your system supports,
in both the BMIDE_SCRIPT_ARGS environment variable and the
BusinessModelerIDE.ini file.
For more information, see Allocate memory to the Business Modeler IDE.
Possible cause
The Eclipse mechanism locked the workspace to prevent from launching the
Business Modeler IDE more than once.
Solution
Check to make sure you do not have the Business Modeler IDE or Eclipse
already running, and remove .lock file that is located in the following location:
workspace\.metadata\.lock
Possible cause
A data model object in your custom template has the same name as one in a
COTS template installed to the Business Modeler IDE.
Solution
You must rename your custom data model object so that it no longer collides with
the identically named object in the COTS template.
If it is a business object, in the Business Objects folder, right-click the
custom business object you want to rename and choose Rename. Then run
the change_type_name utility to change the name of the business object in
the database. (You can find the utility and documentation in the Teamcenter
PLM00071 J
11-7
Chapter 11
BASE10001: ENCODING_VALIDATION_ERROR
Problem
You receive the following error message:
BASE10001: ENCODING_VALIDATION_ERROR
Possible cause
The template contains one or more characters that do not belong to the character
set expected by the Business Modeler IDE.
Solution
11-8
PLM00071 J
Template loading
This error can occur when a template is:
o
Loaded
For example, when a new project is created in the Business Modeler IDE
or an existing project is opened or imported to the Business Modeler IDE.
Reloaded
For example, when a user performs the Reload Data Model action on a
project in the Business Modeler IDE.
Migrated
For example, when the Business Modeler IDE detects that the template
belongs to an older version and runs the Migration Wizard.
c.
This section defines the character set mapping for each locale. For
example:
<key id="locale_validation_encoding_en_US">us-ascii</key>
This implies that for the English locale (en_US), the characters
should belong to the US-ASCII character set. It is advisable that you
conform to this restriction. However, if you feel that you need to use
a higher encoding for this locale, edit the mapping as follows:
<key id="locale_validation_encoding_en_US">iso-8859-1</key>
PLM00071 J
11-9
Chapter 11
This implies that for the English locale (en_US), the characters
should belong to the ISO-8859-1 character set. Instead of iso-8859-1,
you can replace your own character set.
Note
Deployed
For example, when a template is deployed from the Business Modeler
IDE or installed using Teamcenter Environment Manager (TEM).
Upgraded
For example, when a template is upgraded from an older version to a
newer version.
The database cannot accept characters that do not belong to the specified
character set. The error message specifies the character set against which
the validation was performed.
To resolve this error, do either of the following:
o
Fix the template by entering only characters that are allowed by the
specified character set.
FND10001:
MULTIPLE_INTERDEPENDENT_LOV_ATTACHMENT_ERROR
Problem
You receive the following error message:
FND10001: MULTIPLE_INTERDEPENDENT_LOV_ATTACHMENT_ERROR
Possible cause
The template contains an LOV with multiple interdependent LOV attachments
to the same business object type.
This warning can occur in either of the following cases:
11-10
When a template is upgraded, for example, when the Business Modeler IDE
detects that the template belongs to an older version and runs the Template
Project Upgrade wizard.
PLM00071 J
Consider the MyItem business object with the following properties: UserState,
UserCity, SpouseState, and SpouseCity. The user has defined an
interdependent LOV attachment as follows:
UserState
UserCity
SpouseState
SpouseCity
In this case, the warning is shown, and either of the attachments (UserState >
UserCity or SpouseState > SpouseCity) is not loaded and the user cannot
see the attachment in the Business Modeler IDE.
Solution
Create the structure again and save the data model.
For a related problem, see Interdependent LOV attachment problems.
FND10002: INVALID_CONDITION_FOR_DEEP_COPY_RULE_ERROR
Problem
You receive the following error message:
FND10002: INVALID_CONDITION_FOR_DEEP_COPY_RULE_ERROR
Possible cause
The signature of the condition specified in the deep copy rule does not conform to
the standard for deep copy rules. The supported signatures are:
FND10003: THE_ELEMENT_HAS_BEEN_REMOVED_FROM_ITS
_DEPENDENT_TEMPLATE
Problem
You receive the following error message:
PLM00071 J
11-11
Chapter 11
FND10003: THE_ELEMENT_HAS_BEEN_REMOVED_FROM_ITS_DEPENDENT_TEMPLATE
Possible cause
A custom template changes a COTS element from a dependent template, and
then the COTS template removes or modifies that element. For example, this
problem occurs if a custom template changes the localization value of a property
defined in its dependent template, and in next version of the dependent template,
the name of that property is changed or the property is removed.
Solution
Manually remove the modified element from the XML file of the custom template
and reload the data model.
FND10004:
CANNOT_SET_LOCALIZABLE_CONSTANT_ATTACHMENT_ERROR
Problem
You receive the following error message:
FND10004: CANNOT_SET_LOCALIZABLE_CONSTANT_ATTACHMENT_ERROR
Possible cause
The Localizable property constant is set to true on a string property that has
an initial value set. You can no longer set the Localizable property constant on
string properties with an initial value.
Solution
It is not advisable to set the Localizable property constant to true when
you have an initial value set. This could cause problems in a Multi-Site
environment. However, this should not pose a problem if you do not use a
Multi-Site environment.
11-12
PLM00071 J
Appendix
PLM00071 J
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
A-7
A-7
A-7
A-7
A-8
A-8
A-9
A-9
A-10
A-11
A-11
A-13
A-13
A-13
A-13
A-13
A-14
A-15
A-15
A-15
A-16
A-16
A-18
A-18
A-19
A-19
A-20
A-20
A-21
A-21
A-21
A-22
A-23
A-23
A-23
Constants editors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Introduction to constants editors . . . . . . . . . . . . . . . . . . . .
Business Object Constant editor . . . . . . . . . . . . . . . . . . . .
Global Constants editor . . . . . . . . . . . . . . . . . . . . . . . . . .
Property Constants editor . . . . . . . . . . . . . . . . . . . . . . . .
Deployment page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Document management editors . . . . . . . . . . . . . . . . . . . . . . .
Introduction to document management editors . . . . . . . . . .
Dispatcher service config editor . . . . . . . . . . . . . . . . . . . . .
IRDC editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Print Configuration editor . . . . . . . . . . . . . . . . . . . . . . . .
System Stamp Configuration editor . . . . . . . . . . . . . . . . . .
EDA Derived Data editor . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Teamcenter Component editor . . . . . . . . . . . . . . . . . . . . . . . .
LOV editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Options editors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Introduction to options editors . . . . . . . . . . . . . . . . . . . . .
ID Context editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Note Type editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Occurrence Type editor . . . . . . . . . . . . . . . . . . . . . . . . . .
Status editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Storage Media editor . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Tool editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Unit of Measure editor . . . . . . . . . . . . . . . . . . . . . . . . . . .
View Type editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Rules editors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Introduction to the rules editors . . . . . . . . . . . . . . . . . . . .
Alias ID Rule editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Application Extension Point editor . . . . . . . . . . . . . . . . . .
Application extension rule editor . . . . . . . . . . . . . . . . . . . .
Business Context editor . . . . . . . . . . . . . . . . . . . . . . . . . .
Condition editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Extension Definition editor . . . . . . . . . . . . . . . . . . . . . . . .
Naming Rule editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Revision naming rule editor . . . . . . . . . . . . . . . . . . . . . . .
UML editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UML editor interface . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UML editor shortcut menu . . . . . . . . . . . . . . . . . . . . . . . .
UML editor palette . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
User Exits (Extension Rules) editor . . . . . . . . . . . . . . . . . . . .
Verification rule editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Eclipse views used by the Business Modeler IDE . . . . . . . . . . . . . .
Introduction to Eclipse views used by the Business Modeler IDE
Console view in the Business Modeler IDE . . . . . . . . . . . . . . .
Navigator view in the Business Modeler IDE . . . . . . . . . . . . . .
Outline view in the Business Modeler IDE . . . . . . . . . . . . . . . .
Problems view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
A-25
A-25
A-25
A-25
A-26
A-26
A-27
A-27
A-27
A-28
A-31
A-32
A-32
A-33
A-33
A-34
A-34
A-34
A-34
A-35
A-35
A-35
A-36
A-37
A-37
A-38
A-38
A-38
A-38
A-38
A-39
A-39
A-39
A-40
A-40
A-40
A-40
A-42
A-43
A-44
A-44
A-44
A-44
A-44
A-45
A-46
A-46
PLM00071 J
Appendix
AltIdentifier_require_on_create
Determines whether an alternate identifier is required when creating an
identifier of the type specified in this preference in a rich client session.
ASSIGNED_ITEM_ID_MODIFIABLE
Determines whether an automatically generated item ID can be modified by
users after it has been generated.
ASSIGNED_ITEM_REV_MODIFIABLE
Determines whether an automatically generated item revision ID can be
modified by users after it has been generated.
BMF_CUSTOM_IMPLEMENTOR_PATH
Defines the full path to custom libraries where any custom methods for the
Business Modeler IDE framework are maintained.
BMIDE_ALLOW_FULL_DEPLOY_FROM_CLIENT
Determines whether Business Modeler IDE clients can deploy templates
containing schema changes to the server.
PLM00071 J
BMIDE_ALLOW_LIVE_UPDATES
A-1
Appendix A
Allows live update deployment from the Business Modeler IDE and Teamcenter
Environment Manager (TEM).
Bypass_property_rules
Determines whether property rules defined in Business Modeler IDE are
bypassed.
IdentifierContextPref
Defines the separator between the ID or revision ID and the context name in the
object_str property of an identifier.
IdentifierLengthPref
Accepts a single string as a value. It must be a positive integer. The maximum
value is 240. (The maximum length of the ID Context Name is 32 characters.)
ITEM_autogenerate_id
Determines whether an initial ID is automatically created when creating an
item of the type specified in this preference in a rich client session.
Live Update
Specifies the data model elements to enable for live update.
METHOD_CM_execute_before_custom
Determines whether all canned methods are executed at a site before site custom
methods or after site custom methods.
NR_BYPASS
Allows you to bypass naming rules, when your group is the system administrator
group.
TC_dataset_deep_copy_rules
Defines which dataset business objects are deep copied when using either the
Save As or Revise command on the primary dataset.
Treat_Curr_Rev_As_Any_Rev
Sets the current revision letter as the letter to be used for any new revision in a
revision naming rule.
Treat_Next_Rev_As_Any_Rev
Sets the next revision letter as the letter to be used for any new revision in a
revision naming rule.
TYPE_DISPLAY_RULES_list_of_primary_types
Defines the list of primary business objects on which display rules can be
configured.
TYPE_DISPLAY_RULES_list_types_of_subclasses
Shows business object display rules propagated from the sub-business objects
defined in the list of business objects in the preference.
A-2
PLM00071 J
bmide_commontemplategenerator
Generates a common template between two or more sites and generates
site-specific templates for each site.
bmide_comparator
Compares two complete Teamcenter model files and generates a differences file.
bmide_consolidator
Consolidates all templates listed in the master file into a single file.
deploy_archive
Archives deployment files for both Teamcenter Environment Manager (TEM)
and the Business Modeler IDE.
bmide_deployment_lock
Prevents simultaneous deployments to a database from any source, including
Teamcenter Environment Manager (TEM) and the Business Modeler IDE. Only
administrative users are allowed to run this utility.
bmide_generatecode
Autogenerates C/C++ code.
bmide_generate_compare_report
Generates a report containing the difference between two data models.
For more information, see Run data model reports.
bmide_generate_condition_report
Generates a report showing the model elements that use the selected condition.
For more information, see Run data model reports.
bmide_generate_datamodel_report
Generates a report showing details of the selected categories of elements in a
data model.
For more information, see Run data model reports.
PLM00071 J
A-3
Appendix A
bmide_generate_datamodel_doc_report
Generates a report of all data model elements for all templates in the data model
For more information, see Run data model reports.
bmide_manage_batch_lovs
Manages the values for batch LOVs, which are stored solely in the Teamcenter
database. By contrast, static LOVs are managed in a Business Modeler IDE
template. Use this utility to update and extract the values for batch LOVs and
generate a report of batch LOVs.
For more information, see Create batch lists of values.
bmide_manage_templates
Adds templates to the database table.
bmide_postupgradetotc.sh / .bat
Extracts the sites extensions from the database. Run this utility after upgrading
the database to Teamcenter.
bmide_setupknowledgebase
Generates the CLIPS (C Language Integrated Production System) knowledge
base file in ASCII (text) and binary format, and uploads it to the CLIPS dataset.
business_model_extractor
Extracts the data model definitions in the database into a XML file.
business_model_updater
Updates schema and rules in the database. Use this utility when you convert
secondary business objects to primary business objects.
For more information, see Convert secondary business objects to primary.
change_datasets
Modifies the dataset reference name and the associated tool. This utility is run
when resolving dataset type name collisions.
clips_dataset_upload
Stores both the ASCII (text) version and binary version of the CLIPS knowledge
base files into the CLIPS (singleton) dataset in Teamcenter.
convert_forms
Allows you to convert legacy file-based forms to storage-based forms.
execute_rbf_rules
Executes the specified application extension rule. The utility validates the
application extension rules are deployed and functioning correctly. Use this
utility to verify application extension rules in a database.
For more information, see Add an application extension rule.
A-4
PLM00071 J
getglobalconstantvalue
Returns the value of a particular global constant in the database. The utility
provides help in troubleshooting issues on the server once the global constants
are deployed. Use this utility to verify global constants in a database.
For more information, see Create a global constant.
get_key_definition
Gets the multifield key definition for a business object type.
For more information, see Analyzing multifield keys.
get_key_string
Gets the multifield key value of an item instance as a string containing property
names and values.
For more information, see Analyzing multifield keys.
getpropertyconstantvalue
Returns the value of a property constant on a particular business object and
property in the database. Use this utility to verify property constants in a
database.
For more information, see Setting property behavior with property constants.
gettypeconstantvalue
Returns the value of a business object (type) on a particular business object in
the database. Use this utility to verify business object constants in a database.
For more information, see Create a business object constant.
manage_icon_files
Manages uploading icon files to the database. Icons are images placed on
business object instances to identify them in the user interface.
For more information, see Add or change a business object icon.
manage_model_files
Manages upload and download of files in the TC_DATA_MODEL directory into
Fnd0BMIDEResource datasets. These Business Modeler IDE datasets are
stored in the database in a Fnd0BMIDEResource folder. You can query for this
folder in the rich client for quick reference to the Business Modeler IDE resource
files that are maintained in the database. You can use these files to restore your
Business Modeler IDE environment.
For more information, see Back up project data.
mfk_update
Updates multifield key definitions in the database. Run this utility to check
that the new key definitions do not cause any problems when they are installed
to the server.
For more information, see Analyzing multifield keys.
PLM00071 J
A-5
Appendix A
package_live_updates
Packages live update templates stored in the database. Only templates that are
enabled for live updates can be packaged using this utility.
For more information, see Package live updates in the database.
process_action_rules
Lists or deletes all the existing action rules in the database. Use this utility to
remove old action rules from a database.
taxonomy
Generates a character-mode summary of the POM class hierarchy.
The obsoleted utilities and APIs cannot be used to add custom classes,
attributes, types, LOVs, rules, and so on, to the database. The only
exception to this is if a Siemens PLM Software representative asks you
to use the utility. The Business Modeler IDE replaces these utilities and
is the only mechanism for maintaining and deploying a data model.
For more information about the obsoleted utilities and APIs, see the
Teamcenter 10.1 Release Bulletin. For more information about utilities,
see the Utilities Reference.
A-6
PLM00071 J
Standard perspective
Views are the tabbed panes that appear in the user interface. Most of these views
are found in the Business Modeler IDE user interface perspectives; however, some
can only be accessed from the Show View menu. To access all the Business Modeler
IDE views, choose WindowShow ViewOtherBusiness Modeler IDE.
BMIDE view
The BMIDE view provides a single view for favorites, data model elements, and
project files. It is the main view in the Standard perspective.
To open this view, open the Standard perspective, or on the menu bar, choose
WindowShow ViewBMIDE.
PLM00071 J
A-7
Appendix A
BMIDE view
BMIDE Assistant view
The BMIDE Assistant view helps new users get started using the Business Modeler
IDE.
A-8
PLM00071 J
Help view
Advanced perspective
Overview of the Advanced perspective
The Advanced perspective allows you to work with many aspects of the Teamcenter
data model and functional behavior.
To access the Advanced perspective, choose WindowOpen
PerspectiveOtherAdvanced.
PLM00071 J
A-9
Appendix A
Advanced perspective
Views are the tabbed panes that appear in the user interface. Most of these views
are found in the Business Modeler IDE user interface perspectives; however, some
can only be accessed from the Show View menu. To access all the Business Modeler
IDE views, choose WindowShow ViewOtherBusiness Modeler IDE.
Business Objects view
Business objects are the fundamental objects used to model business data. Create
business objects to represent product parts, documents, change processes, and so on.
The Business Objects view displays the hierarchy of business objects on your server.
Business objects are shown in a tree where the top-level POM_object business
object is at the top and its children are directly below. The RuntimeBusinessObject
folder contains business objects that have no parents and are used in run-time
processes in Teamcenter.
You can use preferences to set the WorkspaceObject business object as the top-level
object or to hide the RuntimeBusinessObject folder.
For more information, see Set Business Modeler IDE preferences.
A-10
PLM00071 J
Classes view
Extensions view
The Extensions view displays extensions to the data model.
Extensions view
The Extensions view contains the following extensions:
PLM00071 J
Applications
A-11
Appendix A
Applications are used on classes to indicate what rich client application can
add or edit attributes on that class.
For more information, see Working with applications.
Code Generation
This folder contains objects used for software development, such as data types,
libraries, and releases.
For more information, see Customization methods in the Business Modeler IDE.
Constants
Constants are reusable values. They provide consistent definitions that can be
used throughout the system.
For more information, see Introduction to business object constants, Setting
property behavior with property constants, and Introduction to global constants.
Document Management
Document Management objects define how documents are handled in
Teamcenter.
For more information, see Using the Business Modeler IDE to configure document
management.
LOV
Lists of values (LOVs) are pick lists of values. They are commonly accessed by
end users from a menu at the end of a text box.
For more information, see Introduction to lists of values (LOVs).
Options
Options are miscellaneous objects such as change requests, units of measure,
notes, and so on.
For more information, see About the Options folder.
Rules
Rules define the business rules that govern how objects are handled, including
how they are named, what actions can be undertaken on them, and so on.
Creating rules is also known as business modeling.
For more information, see Introduction to business rules.
A-12
Teamcenter Component
PLM00071 J
User exits
User exits are used for adding base action extension rules. User exits are places
in the server where you can add additional behavior by attaching an extension to
the user exit. To work with user exits, right-click a user exit and choose Open
Extension Rule.
For more information, see Working with user exits.
PLM00071 J
A-13
Appendix A
For instructions about how to create a custom event type mapping, see Create an
event type mapping.
Note
1. To access the Event Type Mapping editor, in the Extensions view, open the Audit
ManagerEvent Type Mappings folders, right-click an event type mapping,
and choose Open.
2. In the Event Type Mapping editor, you can change some aspects of custom
event type mappings. You can change the values of the Audit Type and the
Secondary Audit Type boxes, and select the Subscribable? check box. You can
also select the Auditbale? check box if the event type mapping is not referenced
any audit definitions.
In addition to this editor, there is another editor you can use to work with even type
mappings. Right-click the Event Type Mappings folder and choose Open Event Type
Mappings. This editor allows you to browse, add, or edit Audit Manager objects.
A-14
PLM00071 J
type of objects. The audit definition object specifies the event type for which audit
logs are to be written.
For instructions about how to create a custom event, see Create an event type.
1. To access the Event Type editor, in the Extensions view, open the Audit
ManagerEvent Types folders, right-click an event type, and choose Open.
2. In the Event Type editor, you can change some aspects of custom event types.
You can change the values of the Display Name and Description boxes, and you
can change the values in the Localization table.
Business object editor
Introduction to the Business Object editor
When you open a business object, the Business Object editor displays tabs that
enable you to work on different characteristics of the business object.
For more information about business objects, see Introduction to creating business
objects.
Alternate ID Rules tab
The Alternate ID Rules tab displays details about the selected alternate ID rule.
Alternate identifiers store information (such as part numbers and attributes) about
the same part from different perspectives.
1. To access the Alternate ID Rules tab, open the Item business object or one of its
children and click the Alternate ID Rules tab.
2. You can filter the rules to appear using the following options in the box above
the Master Alternate ID Rules table:
Show All
Displays all the rules.
As Many
Displays the rules that do not have constraints.
One Of
Displays only the rules that match the cardinality shown in the constraints
box. To look for available cardinality values, click the Browse button.
The cardinality values are obtained from the Rule box when you create an
alternate ID rule.
For more information about the cardinality values, see Alternate ID rules
characteristics.
3. In the Alternate ID Rules tab, click the Add button to the right of the Master
Alternate ID Rules table to create a new alternate ID rule.
For instructions about how to create an alternate ID rule, see Add an alternate
ID rule.
PLM00071 J
A-15
Appendix A
Dataset Properties
Defines the applications (tools) that can be used to edit and view the dataset and
the constants on the business object.
For more information, see Dataset Properties tab.
References
Defines the type of application file that the dataset represents.
For more information, see References tab.
ToolActions
Defines the applications (tools) that can be used to perform actions on the
dataset such as open or print.
A-16
PLM00071 J
PLM00071 J
A-17
Appendix A
2. In the ToolActions tab, click the Add button to the right of the Tool Action table
to select the tools you can use to perform actions on the dataset.
For more information about setting the actions, see Configure dataset view and
open.
Deep Copy Rules tab
Use the Deep Copy Rules tab to add, modify, or remove deep copy rules. Deep copy
rules define whether objects belonging to a business object instance can be copied
when a user performs a save as or revise operation on that instance. Deep copy rules
can be created for any business object. (Prior to Teamcenter 10, deep copy rules
could only be applied to item revision business objects.)
Note
Although deep copy rules defined at a parent business object are inherited by
the children, they are not editable at the child level. The Edit and Remove
buttons are disabled on the Deep Copy Rules tab for the child business
objects.
1. To access the Deep Copy Rules tab, open a business object and click the Deep
Copy Rules tab.
2. To add a new deep copy rule, click the Add button to the right of the table.
For more information, see Add a deep copy rule.
3. To change rules, use the Edit button. You can modify an existing COTS
non-secure rule or a custom-defined rule. Inherited rules cannot be modified.
Note
4. To delete rules, use the Remove button. You can remove custom-defined rules.
You cannot remove COTS rules or inherited rules.
Display Rules tab
The Display Rules tab displays the groups that cannot view a business object type in
menus in the Teamcenter user interface. Because display rules are primarily used to
hide business objects from creation (FileNew) menus, display rules restrict those
who can create the business object type.
Business object display rules only apply to the following business objects and their
children: Alias, Dataset, Folder, Form, Identifier, and Item.
You can also use the Command Suppression application to suppress the display of
menus and commands for certain groups.
For more information, see the Application Administration Guide.
1. To access the Display Rules tab, open the relevant business object or one of its
children and click the Display Rules tab.
2. To add a new display rule, click the Add button to the right of the table.
For more information, see Add a business object display rule.
A-18
PLM00071 J
For Item business objects, click the Item Revision link to open the item
revision associated with the item and click the Form link to open the form
business object that holds the business object properties.
Click the Storage Class link to open the class that stores attributes for the
business object.
4. Click the Edit button to the right of the Business Object Constants table to
change the value of business object constants. Business object constants provide
default values to business objects.
For more information business object constants, see Introduction to business
object constants and Business object constants reference.
5. Click buttons to the right of the Localization table to change the name of the
object displayed in different languages in the Teamcenter user interface.
For more information, see Localization process in the Business Modeler IDE.
PLM00071 J
A-19
Appendix A
Pre-Condition
Places limits before an action. For example, use this to limit individual users
by their work context to create only a certain item type. Pre-conditons are
executed first in an operation dispatch. If any of the pre-conditions fails, the
operation is aborted. Typical examples of pre-conditions are naming rules.
Pre-Action
Executes code before an action. For example, use this to add user
information to the session prior to translation. Pre-actions are executed after
pre-conditions and before the base action. If any of the pre-actions fail, the
operation is aborted. A typical example is an initial value rule that needs to
set an initial value before the save base action is invoked.
Post-Action
Executes code after an action. For example, use this to automatically start
an item in a workflow. If any of the post-actions fail, the operation is aborted.
Properties tab
The Properties tab shows available properties on business objects.
For more information about business object properties, see Introduction to properties.
1. To access the Properties tab, open a business object and click the Properties tab.
A-20
PLM00071 J
2. In the Properties tab, click the Add button to the right of the properties table to
add a property to the business object.
3. To change a property constant value, select a constant on the Property Constants
table and click the Edit button.
For more information about the properties constants displayed in the Properties
tab, see Property constants reference.
4. To add a naming rule to a property, select a valid property on the properties
table (such as item_id or object_name) and click the Add button to the right
of the Naming Rule Attaches table.
For more information about how to attach a naming rule, see Attach a naming
rule to a property.
5. To attach a list of values (LOV) to a property, select a property on the properties
table and click the Add button to the right of the LOV Attaches table.
For more information about how to attach an LOV to a property, see Attach
an LOV to a property.
6. To change the name of the property displayed in the Teamcenter user interface,
click buttons to the right of the Localization table.
For more information, see Set display names for properties.
Class editor
The Class editor displays information on the selected class.
For more information about classes, see Introduction to creating classes.
1. To access the Class editor, right-click a class in the Classes view, and choose
Open.
2. To add an attribute to a custom class, in the Class editor, click the Add button to
the right of the Attributes table.
For more information, see Add or change attributes on classes.
Code generation editors
Introduction to Code Generation editors
The Code Generation folder in the Extensions view is used for software
development. When you right-click a code generation object and choose Open, an
editor displays that allows you to work on characteristics of the object.
For information about how to create code generation objects, see Customization
methods in the Business Modeler IDE.
PLM00071 J
A-21
Appendix A
To access the External Data Type editor, in the Extensions view, open the Code
GenerationData TypesExternal Data Type folders, right-click an external
data type, and choose Open.
To access the Primitive Data Type editor, in the Extensions view, open the Code
GenerationData TypesPrimitive Data Type folders, right-click a primitive
data type, and choose Open.
A-22
To access the Template Data Type editor, in the Extensions view, open the Code
GenerationData TypesTemplate Data Type folders, right-click a template
data type, and choose Open.
PLM00071 J
Library editor
The Library editor displays information about a library. A library is used in software
development and is a collection of files that includes programs, helper code, and data.
For information about how to create a library, see Create a library.
1. To access the Library editor, in the Extensions view, open the Code
GenerationLibraries folders, right-click a library, and choose Open.
2. In the Library editor, for custom libraries, you can click the Add button to the
right of the Dependent Libraries box to add a library that the selected library
is dependent on.
Release editor
The Release editor displays details about the selected release object. A release is
a distribution of a software product. If your organization makes software, you can
create release objects to represent the software releases.
For instructions about how to create a release object, see Create a release.
1. To access the Release editor, in the Extensions view, open the Code
GenerationReleases folders, right-click a release, and choose Open.
2. In the Release editor, for custom releases, you can click the down arrow in the
Type box to change the release from major, to minor, to patch. You can also click
the Browse button to the right of the Prior Release box to specify the release
just before this release.
Services editors
Introduction to services editors
A service is a collection of Teamcenter actions (service operations) that all contribute
to the same area of functionality. To see available services, in the Extensions view,
open the Code GenerationServices folder. The Services folder contains service
libraries, and each library contains services.
For more information, see The process for creating services in the Business Modeler
IDE.
When you right-click a service library or service and choose Open, an editor displays
that allows you work on characteristics of the object.
Service Library editor
The Service Library editor displays characteristics of the selected service library. A
service library is a collection of files used by a service and its operations that includes
programs, helper code, and data. Services are grouped under service libraries. You
must create a service library before you create a service.
For instructions about how to create a service library, see Add a service library.
1. To access the Service Library editor, in the Extensions view, open the Code
GenerationServices folders, right-click a service library, and choose Open.
PLM00071 J
A-23
Appendix A
2. In the Service Library editor, you can change some aspects of custom service
libraries. You can change the description, and you can click the Add button
to the right of the Dependent Libraries pane to add libraries that the current
library depends on.
Main tab in the Service editor
The Main tab of the Service editor displays characteristics of the selected service. A
service is a collection of Teamcenter actions (service operations) that all contribute to
the same area of functionality.
For instructions about how to create a service, see Add a service.
To access the Main tab of the Service editor, in the Extensions view, open the
Code GenerationServices folders, expand a service library, right-click a
service, and choose Open.
A-24
PLM00071 J
Constants editors
Introduction to constants editors
The Constants folder in the Extensions view is used for holding different kinds of
configuration point objects, known as constants. When you right-click a constant
and choose Open, an editor displays that allows you to work on characteristics of
the constant.
For instructions about how to create constants, see For more information, see
Introduction to business object constants, Setting property behavior with property
constants, and Introduction to global constants.
Business Object Constant editor
The Business Object Constant editor displays details about the selected business
object constant. Business object constants provide default values to business objects.
Because these constants are attached to business objects, they are inherited and can
be overridden in the hierarchy.
For instructions about how to create a business object constant, see Create a business
object constant. For reference information about business object constants, see
Business object constants reference.
1. In the Extensions view, open the ConstantsBusiness Object Constants folders,
right-click a constant, and choose Open.
2. In the Business Object Constant editor, you can work with custom business
object constants. Click the Add button to the right of the Business Object
Scope box to change which business objects the constant applies to. You can also
change the custom constants value in the Default Value box.
Global Constants editor
The Global Constants editor shows available global constants and allows you to
edit their values. Global constants provide consistent definitions that can be used
throughout the system. These constants have only one value, either the default
value or the value you set.
For information about creating global constants see Create a global constant. For
reference information about global constants see Global constants reference.
1. On the menu bar, choose BMIDEEditorsGlobal Constants Editor.
2. Select the constant in the Global Constants table and click the Edit button.
3. In the Modify Global Constant dialog box, there are two ways to change values,
depending on whether the constant can hold a single value or multiple values:
Single-value constants
Enter a new value in the Value box, or for true/false constants, click the
Value check box to toggle between true and false.
Multiple-value constants
Click the Add button to the right of the Value table to add constants.
PLM00071 J
A-25
Appendix A
4. Click Finish.
The changed value displays in the Global Constants table. Note that a check
mark appears in the Overridden column and the name of your project displays
in the Template column, indicating that your project overrides the value of the
constant.
You can also open an individual global constant. In the Extensions view, open the
ConstantsGlobal Constants folders, right-click a constant, and choose Open. In
this editor, you can change the description and the default value of custom global
constants.
Property Constants editor
The Property Constant editor displays details about the selected property constant.
Property constants provide default values to business object properties. Because
these constants are attached to properties, they are inherited and can be overridden
in the hierarchy.
For instructions about how to create a property constant, see Setting property
behavior with property constants. For reference information about property
constants, see Property constants reference.
1. To access the Property Constant editor, in the Extensions view, open the
ConstantsProperty Constants folders, right-click a constant, and choose Open.
2. You can change some aspects of custom property constants. In the Property
Constant editor, click the Add button to the right of the Property Scope box to
change the properties to which the constant applies, and type in the Default
Value box to change the constants value.
Deployment page
The deployment page is used to perform live updates of nonschema data (for
example, LOVs) to production servers.
For more information, see Perform live updates.
To connect to multiple sites, you must configure FMS.
For instructions, see Configure FMS to connect to multiple sites.
1. After you finish testing and are ready to deploy to the production servers, choose
BMIDEDeployment Page.
A-26
PLM00071 J
Deployment Page
2. Click the Deploy button to deploy the template to production servers.
Note
3. To verify the live update, log on to a production server and confirm that you can
create instances of your newly revised data model.
Note
To see the data changes, end users must log off and log on again and
wait for servers to cycle through the changes.
For more information, see Make live updates visible to end users.
PLM00071 J
A-27
Appendix A
For instructions about how to create dispatcher service configuration objects, see
Create a dispatcher service configuration.
When you right-click a dispatcher service configuration object and choose Open, an
editor appears that allows you to work on characteristics of the object.
Dispatcher Service Config Creation Info tab
The Dispatcher Service Config Creation Info tab displays details about the selected
dispatcher service configuration object. A dispatcher service configuration defines
the visualization file format that a dataset file is translated into in Teamcenter.
For instructions about how to create dispatcher service configuration objects, see
Create a dispatcher service configuration.
1. To access the Dispatcher Service Config Creation Info tab, in the Extensions
view, open the Document ManagementDispatcher Service Config folder,
right-click a dispatcher service configuration object, choose Open, and click the
Dispatcher Service Config Creation Info tab.
2. In the Dispatcher Service Config Creation Info tab, you can revise details about
the selected dispatcher service configuration. You can click the Add button to
add arguments to the dispatcher service.
Dispatcher Service Config Relation Info tab
The Dispatcher Service Config Relation Info tab on the dispatcher service
configuration editor displays details about the source dataset type to be translated,
and the target (derived) dataset type it is to be translated to. A dispatcher service
configuration defines the visualization file format that a dataset file is translated
into in Teamcenter.
For instructions about how to create dispatcher service configuration objects, see
Create a dispatcher service configuration.
1. To access the Dispatcher Service Config Relation Info tab, in the Extensions
view, open the Document ManagementDispatcher Service Config folder,
right-click a dispatcher service configuration object, choose Open, and click the
Dispatcher Service Config Relation Info tab.
2. In the Dispatcher Service Config Relation Info tab, you can revise details
about the source and target (derived) dataset types for a custom dispatcher
service configuration.
IRDC editor
Introduction to the IRDC editor
The Document ManagementIRDC folder in the Extensions view is used for
holding item revision definition configuration (IRDC) objects. An IRDC defines how
item revisions are handled at specific times in the life cycle, such as at item creation,
checkin, checkout, save as, and revise.
For instructions about how to create IRDC objects, see Create an item revision
definition configuration (IRDC).
A-28
PLM00071 J
When you right-click an IRDC object and choose Open, an editor appears that allows
you to work on characteristics of the object.
IRDC Base Criteria Info tab
The IRDC Base Criteria Info tab displays details about the selected item revision
definition configuration (IRDC) object. An IRDC defines how item revisions are
handled in Teamcenter.
For instructions about how to create IRDCs, see Create an item revision definition
configuration (IRDC).
To access the IRDC Base Criteria Info tab, in the Extensions view, open the
Document ManagementIRDC folder, right-click an IRDC object, choose Open,
and click the IRDC Base Criteria Info tab.
In the IRDC Base Criteria Info tab, you can revise details about the IRDC.
To access the IRDC Dataset Criteria Info tab, in the Extensions view, open the
Document ManagementIRDC folder, right-click an IRDC object, choose Open,
and click the IRDC Dataset Criteria Info tab.
In the IRDC Dataset Criteria Info tab, you can revise details about the source
and target (derived) dataset types for the item revision visualizations.
To access the IRDC Dataset Naming Page Info tab, in the Extensions view, open
the Document ManagementIRDC folder, right-click an IRDC object, choose
Open, and click the IRDC Dataset Naming Page Info tab.
In the IRDC Dataset Naming Page Info tab, you can revise details about how
the source and target (derived) datasets are named.
PLM00071 J
A-29
Appendix A
To access the IRDC Checkin Page Info tab, in the Extensions view, open the
Document ManagementIRDC folder, right-click an IRDC object, choose Open,
and click the IRDC Checkin Page Info tab.
In the IRDC Checkin Page Info tab, you can revise details about what happens
at checkin, such as whether to generate visualization files or index dataset files.
To access the IRDC Deep Copy Rules Page Info tab, in the Extensions view,
open the Document ManagementIRDC folder, right-click an IRDC object,
choose Open, and click the IRDC Deep Copy Rules Page Info tab.
In the IRDC Deep Copy Rules Page Info tab, you can define the deep copy rules
for the selected IRDC item revision. This tab works the same as the Deep
Copy Rules tab.
For more information, see Deep Copy Rules tab.
To access the IRDC Markup Page Info tab, in the Extensions view, open the
Document ManagementIRDC folder, right-click an IRDC object, choose Open,
and click the IRDC Markup Page Info tab.
In the IRDC Markup Page Info tab, you can define the markup rules for the
selected IRDC item revision.
A-30
PLM00071 J
PLM00071 J
b.
Click the Add button to the right of the Paper Sizes table to select the
available paper sizes on the printer to make available for print batch jobs.
c.
Click Add to the right of the Supported Datasets table to select the
document types that can be printed.
A-31
Appendix A
d. Select the Stamps Supported check box to allow stamps on the printed
documents such as the date or a watermark. If object types are printed
for which stamps are configured, stamps are automatically placed on the
printed documents.
For more information, see Create a system stamp configuration.
System Stamp Configuration editor
Introduction to the System Stamp Configuration editor
The Document ManagementSystem Stamp Configuration folder in the
Extensions view is used for holding system stamp configuration objects. A system
stamp configuration is an object that defines the system stamp on documents when
batch printing.
For instructions about how to create system stamp configuration objects, see Create
a system stamp configuration.
When you right-click a system stamp configuration object and choose Open, an
editor appears that allows you to work on characteristics of the object.
Base Information tab
The Base Information tab displays details about the selected system stamp
configuration object. A system stamp configuration defines the system stamp on
documents when batch printing.
For instructions about how to create system stamp configuration objects, see Create
a system stamp configuration.
1. To access the Base Information tab, in the Extensions view, open the Document
ManagementSystem Stamp Configuration folder, right-click a system stamp
configuration object, choose Open, and click the Base Information tab.
2. In the Base Information tab, you can revise details about the selected system
stamp configuration.
Stamp Information tab
The Stamp Information tab allows you to change the stamp and watermark to place
on batch printed documents.
For instructions about how to create system stamp configuration objects, see Create
a system stamp configuration.
1. To access the Stamp Information tab, in the Extensions view, open the Document
ManagementSystem Stamp Configuration folder, right-click a system stamp
configuration object, choose Open, and click the Stamp Information tab.
2. In the Stamp Information tab, you can revise details about the stamp and
watermark settings.
EDA Derived Data editor
Use the EDA Derived Data editor in the Business Modeler IDE to work with derived
data configurations used by the Teamcenter EDA application. Teamcenter EDA
A-32
PLM00071 J
integrates Teamcenter with electronic CAD applications that are used to design
electronic components, such as circuit boards.
For instructions about how to create an EDA derived data item, see Configure
Teamcenter EDA using the Business Modeler IDE.
1. To access the EDA Derived Data editor, in the Extensions view, open the EDA
Derived Data folder, right-click an EDA derived data object, and choose Open.
2. To add an item to the EDA derived data object, click the Add button to the right
of the Configure Items table.
3. To add a dataset to the EDA derived data object, click the Add button to the
right of the Configure Dataset table.
For more information, see Create an EDA derived data configuration.
Teamcenter Component editor
Use the Teamcenter Component editor to group business objects and conditions
together that belong to the same function.
For more information, see What are Teamcenter Component objects?.
1. To access the Teamcenter Component editor, in the Extensions view, open the
Teamcenter Component folder, right-click a Teamcenter Component object,
and choose Open.
2. To enable a custom Teamcenter Component object for use with verification
rules, select the Enable for Verification Rule check box.
For more information about creating Teamcenter Component objects, see
Create a Teamcenter Component object.
LOV editor
The LOV editor displays details about the selected list of values. Lists of values
(LOVs) are pick lists of data entry items that are accessed by Teamcenter users from
a menu at the end of a data entry box.
For instructions about how to create LOVs, see Introduction to lists of values (LOVs).
1. To access the LOV editor, in the Extensions view, open the LOV folder, right-click
an LOV, and choose Open.
2. In the LOV editor, click the Add button to the right of the value table to add
more values to the LOV.
For more information about adding values to LOVs, see Add values to an existing
classic LOV.
3. To attach the LOV to a business object property, click the Attach button to the
right of the LOV Attachments table.
For more information about attaching an LOV to a property, see Attach an LOV
to a property.
PLM00071 J
A-33
Appendix A
Options editors
Introduction to options editors
The Options folder in the Extensions view holds objects that modify different
aspects of business objects. When you right-click an object in a subfolder under
the Options folder and choose Open, an editor displays that allows you to work
on characteristics of the object.
For information about how to create options, see About the Options folder.
ID Context editor
The ID Context editor displays details about the selected ID context. An ID context
defines when you use unique item IDs.
For instructions about how to create ID contexts, see Add an ID context.
To access the ID Context editor, in the Extensions view, open the OptionsID
Context folder, right-click an ID context, and choose Open.
You can type in the Display Name box to change the name of the object displayed
in the Teamcenter user interface. This also changes the value in the Localization
table at the bottom of the page.
For more information, see Localization process in the Business Modeler IDE.
Click buttons to the right of the Localization table to change the name of the
object displayed in different languages in the Teamcenter user interface.
For more information, see Change display names for business objects and option
types.
A-34
PLM00071 J
4. Click buttons to the right of the Localization table to change the name of the
object displayed in different languages in the Teamcenter user interface.
For more information, see Change display names for business objects and option
types.
Occurrence Type editor
The Occurrence Type editor displays details about the selected occurrence type. An
occurrence type is used to distinguish how items occur in a product structure.
For instructions about how to create an occurrence type, see Add an occurrence type.
To access the Occurrence Type editor, in the Extensions view, open the
OptionsList of Occurrence Types folder, right-click an occurrence type, and
choose Open.
You can type in the Display Name box to change the name of the object displayed
in the Teamcenter user interface. This also changes the value in the Localization
table at the bottom of the page.
For more information, see Localization process in the Business Modeler IDE.
Click buttons to the right of the Localization table to change the name of the
object displayed in different languages in the Teamcenter user interface.
For more information, see Change display names for business objects and option
types.
Status editor
The Status editor displays details about the selected status. A status is applied
to an object after it goes through a workflow. Typical statuses are Pending and
Approved.
For instructions about how to create a status, see Add a status type.
To access the Status editor, in the Extensions view, open the OptionsStatus
folder, right-click a status, and choose Open.
You can type in the Display Name box to change the name of the object displayed
in the Teamcenter user interface. This also changes the value in the Localization
table at the bottom of the page.
For more information, see Localization process in the Business Modeler IDE.
Click buttons to the right of the Localization table to change the name of the
object displayed in different languages in the Teamcenter user interface.
For more information, see Change display names for business objects and option
types.
PLM00071 J
A-35
Appendix A
1. To access the Storage Media editor, in the Extensions view, open the
OptionsStorage Media folder, right-click a storage media object, and choose
Open.
2. You can change the settings in the Media Type, Logical Device, and Description
boxes.
Tool editor
Introduction to the Tool editor
The OptionsTool folder in the Extensions view is used for holding tool objects. A
tool represents a software application, such as Microsoft Word or Adobe Acrobat.
You associate a tool with a type of dataset so you can launch the dataset file from
Teamcenter. When you right-click a tool and choose Open, an editor displays that
allows you to work on characteristics of the tool.
For instructions about how to create tools, see Add a tool.
New Tool Type tab
The New Tool Type tab displays details about the selected tool. A tool represents a
software application, such as Microsoft Word or Adobe Acrobat.
For instructions about how to create tools, see Add a tool.
1. To access the New Tool Type tab, in the Extensions view, open the OptionsTool
folder, right-click a tool, choose Open, and click the New Tool Type tab.
2. You can type in the Display Name box to change the name of the object displayed
in the Teamcenter user interface. This also changes the value in the Localization
table at the bottom of the page.
For more information, see Localization process in the Business Modeler IDE.
3. You can revise values in the following boxes: MIME/TYPE, Shell/Symbol, Vendor
Name, Revision, and Release Date.
4. Click buttons to the right of the Localization table to change the name of the
object displayed in different languages in the Teamcenter user interface.
For more information, see Change display names for business objects and option
types.
Tool Input/Output tab
The Tool Input/Output tab displays details about the type of data the tool accepts or
outputs, for example, ASCII or binary.
For instructions about how to set an input or output when a tool is created, see
Add a tool.
1. To access the Tool Input/Output tab, in the Extensions view, open the
OptionsTool folder, right-click a tool, choose Open, and click the Tool
Input/Output tab.
2. Click the Add button to the right of the Input table to specify the type of data
the tool accepts.
A-36
PLM00071 J
3. Click the Add button to the right of the Output table to specify the type of data
the tool outputs.
Tool Markup Info tab
The Tool Markup Info tab displays details about the view and markup capabilities of
the tool.
For instructions about how to set an input or output when a tool is created, see
Add a tool.
To access the Tool Markup Info tab, in the Extensions view, open the
OptionsTool folder, right-click a tool, choose Open, and click the Tool Markup
Info tab.
For information about the boxes on this tab, see Add a tool.
Unit of Measure editor
The Unit of Measure editor displays details about the selected unit of measurement.
A unit of measure is a measurement category (for example, inches, millimeters,
and so on).
For instructions about how to create a unit of measure, see Add a unit of measure.
1. To access the Unit of Measure editor, in the Extensions view, open the
OptionsUnit of Measure folder, right-click a unit of measurement, and choose
Open.
2. You can change the value in the Symbol box or revise the text in the Description
box.
View Type editor
The View Type editor displays details about the selected view type. A view type is
a BOM view revision (BVR) category.
For instructions about how to create a view type, see Add a view type.
To access the View Type editor, in the Extensions view, open the OptionsList
of View Types folder, right-click a view, and choose Open.
You can type in the Display Name box to change the name of the object displayed
in the Teamcenter user interface. This also changes the value in the Localization
table at the bottom of the page.
For more information, see Localization process in the Business Modeler IDE.
Click buttons to the right of the Localization table to change the name of the
object displayed in different languages in the Teamcenter user interface.
For more information, see Change display names for business objects and option
types.
PLM00071 J
A-37
Appendix A
Rules editors
Introduction to the rules editors
The Rules folder in the Extensions view holds rules that govern the behavior of
business objects. When you right-click an object in a subfolder under the Rules
folder and choose Open, an editor appears that allows you to work on characteristics
of the object.
For information about how to create rules, see Introduction to business rules.
Alias ID Rule editor
The Alias ID Rule editor displays details about the selected alias ID rule. Alias
identifiers store part numbers and other attribute information for similar parts.
For instructions about how to create alias ID rules, see Add an alias ID rule.
1. To access the Alias ID Rule editor, in the Extensions view, open the
RulesAliasId Rules folder, right-click an alias ID rule, and choose Open.
2. Click the Browse button to the right of the Identifier Context box to change the
identifier context on the rule.
For more information about ID contexts, see Add an ID context.
3. Click the Browse button to the right of the Identifier Type box to select the
identifier or identifier revision business object to use for this rule.
Application Extension Point editor
The Application Extension Point editor displays details about the selected
application extension point. An application extension point is an decision item that
can be used in a Teamcenter rich client application.
For instructions about how to create an application extension point, see Add an
application extension point.
1.
To access the Application Extension Point editor, in the Extensions view, open
the RulesApplication Extension Point folder, right-click a point, and choose
Open. In the Application Extension Point editor, you cannot change anything
on COTS points, but you can revise custom points.
2. Click the Add button to the right of the Inputs or Outputs table to change the
inputs and outputs on the application extension point.
Application extension rule editor
The Application Extension Rule editor displays details about the selected application
extension rule. An application extension rule determines when an application
extension point is used and defines inputs and outputs. When the input is matched,
the rule engine returns the output to the application that called the extension point.
For instructions about how to create an application extension rule, see Add an
application extension rule.
A-38
PLM00071 J
1. To access the Application Extension Rule editor, in the Extensions view, open
the RulesApplication Extension Point folder, right-click an application
extension rule, and choose Open. In the Application Extension Rule editor,
you cannot change anything on COTS application extension rules, but you can
revise custom ones.
2. Click the Add button to the right of the Decision Table to change the inputs and
outputs on the custom application extension rule.
Business Context editor
The Business Context editor displays details about the selected business context. A
business context defines the user groups for whom a rule applies.
For instructions about how to create a business context, see Add a business context.
1. To access the Business Context editor, in the Extensions view, open the
RulesBusiness Contexts folder, right-click a context, and choose Open.
2. Click the Add button to the right of the Accessor table to add another group
or role to the business context. The Teamcenter Repository Connection wizard
prompts you to log on to a server to look up its available groups and roles. Select
the group and role from the Accessor Selection dialog box.
For more information about setting up a server profile for the Teamcenter
Repository Connection wizard, see Add a server connection profile.
Condition editor
The Condition editor displays details about the selected condition. Conditions are
conditional statements that resolve to true or false based on the evaluation of an
expression.
For instructions about how to create conditions, see Add a condition.
1. To access the Condition editor, in the Extensions view, open the
RulesConditions folder, right-click a condition, and choose Open.
2. The values that can be changed in this editor depends on whether the condition
is COTS and if it is marked as secure:
If it is custom, then you can select new Input parameters to change the
Signature, or type new expressions in the Expression box. Remember that if
you change the signature, it can impact areas where the condition has been
applied (for example, naming rule attachments, LOV attachments, and so
on).
PLM00071 J
A-39
Appendix A
1. To access the Extension Definition editor, in the Extensions view, open the
RulesExtensions folder, right-click an extension rule, and choose Open. You
can change custom COTS extension rules in this editor.
2. Click the Add button to the right of the Parameter List table to add a new
parameter to the rule.
3. Click the Add button to the right of the Availability table to make the extension
rule available on another business object or property.
Naming Rule editor
The Naming Rule editor displays details about the selected naming rule. A naming
rule defines how objects are named, including how IDs are automatically assigned
when objects are created.
For instructions about how to create naming rules, see Introduction to naming rules.
1. To access the Naming Rule editor, in the Extensions view, open the
RulesNaming Rules folder, right-click a naming rule, and choose Open.
2. Click the Add button to the right of the Patterns box to add a new naming rule
pattern.
For information about patterns, see Defining naming rule patterns.
3. Click the Attach button to the right of the Naming Rule Attachments table to
attach the rule to a business object property.
Revision naming rule editor
The Revision Naming Rule editor displays details about the selected revision
naming rule. A revision naming rule is a business rule that defines the naming
convention and sequence for a revision property.
For instructions about how to create revision naming rules, see Add a revision
naming rule.
1. To access the Revision Naming Rule editor, in the Extensions view, open the
RulesRevision Naming Rules folder, right-click a revision naming rule, and
choose Open.
2. Type in the available boxes to change values on the revision naming rule.
3. Click the Attach button to the right of the Naming Rule Attachments table to
attach the rule to a business object property.
UML editor
UML editor interface
The UML editor shows business objects and classes in a graphical format. To access
the UML editor, right-click a business object or a class and choose Open In UML
Editor. The business object or class appears in the UML editor.
A-40
PLM00071 J
To work with the business object or class displayed in the editor, right-click the
object and make selections from the menu. You can also use the palette on the right
side of the editor.
For more information about the UML editor, see Introduction to the UML editor. For
more information, see UML editor palette. For more information about this menu,
see UML editor shortcut menu.
UML editor
The UML editor shows the following attribute information:
For attributes with initial values, the initial value is shown, for example:
active_seq : Integer = 1
user_data_1 : String(32) = NULL
For attributes that have a string storage, the string size is shown in parentheses,
for example:
object_desc : String(240)
object_type : String(32)
For attributes that are typed reference, the reference class is shown, for example:
uom_tag : TypedReference > UnitOfMeasure
For attributes that have an array storage, the array size is shown in square
brackets, for example:
License_list : UntypedReference[-1]
MyStringArray : String[44](32)
PLM00071 J
A-41
Appendix A
Menu command
Description
Undo
Redo
Add Class
Open
Show
Children
Displays the children of the selected business object
or class.
Parent
Displays the parent of the selected business object
or class.
Inheritance to Root
Displays the inheritance path from the selected
business object or class to the root class
(POM_object).
Storage Class
Displays the class that stores attributes for the
selected business object or class.
Typed Reference
Displays the typed reference when you right-click
a typed reference attribute on the business object
or class. A typed reference points to a Teamcenter
class.
Class
Searches for a class and displays it in the UML
editor.
A-42
PLM00071 J
Symbol
Menu command
Description
Business Object
Searches for a business object and displays it in the
UML editor.
Relations
Shows the relations between the selected objects.
Drag business objects into the UML editor, press
the Ctrl or Shift key and click multiple business
objects to select them, and right-click and choose
ShowRelations.
The New GRM Rule wizard runs. If you type * in
the Relation box and click Finish, all the relations
between the selected business objects are displayed.
For instructions about how to add a relation between
two business objects, see Add a GRM rule.
Hide
Select Filters
Generate CodeC++
Classes
Note
The remaining options on the menu are not provided by the Business
Modeler IDE but are provided by the Eclipse framework.
PLM00071 J
Description
Select
Marquee
Class
Business Object
A-43
Appendix A
A-44
PLM00071 J
Console view
Navigator view in the Business Modeler IDE
The Navigator view is a default Eclipse view used for browsing file system objects.
The Navigator view in the Advanced perspective always shows the projects at the
top level and any folders and files under them. For example, if you have a project,
expand the project in the Navigator view and note the files it contains. You can open
files in an editor by double-clicking them, or right-click them and choose Open.
Projects typically contain a project file, and source files that contain your extensions
to the data model. They can also contain .tmd files generated by the UML editor.
Navigator view
PLM00071 J
A-45
Appendix A
Outline view
Problems view
The Problems view is a default Eclipse view used for identifying problems in source
files. You can click a problem in this view to open the source file where the problem
exists.
Problems view
A-46
PLM00071 J
Appendix
PLM00071 J
Glossary
Appendix
Glossary
A
action rule
Business rule that defines the actions required in different time phases (precondition,
preaction, and postaction) for create, save as, and delete operations. Action rules are
applied to items, item revisions, and datasets.
alias ID rule
Business rule that stores part numbers and other attribute information for similar
parts.
alternate ID rule
Alternate identifiers that store information about part numbers and attributes of
the same part from different perspectives. They allow different user communities
to identify and display an item or item revision according to their own rules rather
than by the rules of the user who created the object.
application extension point
Extension that allows for the configuration of applications using a decision table.
This extension point defines the table and the inputs and outputs that customers
can configure against it.
application extension rule
Business rule that determines when an application extension point is used and
defines inputs and outputs.
attribute
Named storage variable that describes an object and is stored with the object. Users
can search the database for objects using object attributes.
In an object, an attribute is a name/value pair; in the database, an attribute is a field.
B
business context
Context that defines the user groups to whom a rule applies.
Business Modeler IDE
Teamcenter application that enables a customer to define data model objects such as
business objects, classes, attributes, lists of values, and rules.
business object constant
Constants that provide default values to business objects. Because these constants
are attached to business objects, they are inherited and can be overridden in the
hierarchy.
PLM00071 J
B-1
Glossary
Appendix B
B-2
PLM00071 J
Glossary
PLM00071 J
B-3
Glossary
Appendix B
L
List of Values (LOV)
Pick list of values accessed by end users from a menu at the end of a data field.
LOVs ensure consistent data entries in the rich client.
LOV
See List of Values (LOV).
LOV tree
Tree view of List of Values objects.
M
master form
Teamcenter workspace object used to display product information (properties) in
a predefined template. Master forms are used to display product information in
a standardized format.
N
naming rule
Business rule that defines the naming conventions for the string property value in
different type objects. Naming rules can be attached to the following properties:
O
occurrence type
Object used to distinguish how items occur in a product structure. An occurrence
consists of one component in an assembly including its relative position with respect
to its parent assembly. Occurrence types are representations of the PSOccurrence
business object.
P
persistent object manager (POM)
Interface between Teamcenter objects and the Relational Database Management
System (RDBMS). The persistent object manager provides definition of classes
by inheritance from other classes and definition of attributes, manipulation of
in-memory objects and support for their saving and retrieval to and from the
underlying RDBMS, support for applications accessing the same data concurrently,
protection against the deletion of data used by more than one application, and
support for the access control lists attributed to objects.
POM
See persistent object manager (POM).
preference
Configuration variable stored in a Teamcenter database and read when a Teamcenter
session is initiated. Preferences allow administrators and users to configure many
B-4
PLM00071 J
Glossary
aspects of a session, such as user logon names and the columns displayed by default
in a properties table.
property rule
Business rule that allows an administrator to control access to and the behavior of
object properties.
R
revision naming rule
Business rule that defines the naming convention and sequence for a revision
property.
rich client
Java-based user interface to Teamcenter installed on user workstations. The rich
client accesses Teamcenter databases using a remote or local server. Compare to
thin client.
S
server
System software component that performs a specifically defined set of software
services on behalf of one or more clients. In a typical Teamcenter installation,
servers are centralized on dedicated hosts that support a large number of clients.
Clients are distributed on hosts connected to the servers via various networking
techniques. See also client.
status (workflow)
State applied to an object after it goes through a workflow. Typical statuses are
Pending and Approved.
storage media
Storage device category such as a hard disk or optical device. It is a data model
object type used by third-party content-storage systems.
T
thin client
Teamcenter user interface that provides a streamlined browser-based view of product
information stored in a Teamcenter database. The thin client is configured in the
Web tier, which creates and serves its Web pages to the client. Compare to rich client.
tool
Object that represents a software application, such as Microsoft Word or Adobe
Acrobat. You associate a tool with a type of dataset so you can launch the dataset file
from Teamcenter.
U
unit of measure
Measurement category (for example, inches, millimeters, and so on). Create a unit of
measure (UOM) when you need a new measurement for users.
PLM00071 J
B-5
Glossary
Appendix B
V
value
Content of a field or variable. It can refer to alphabetic, numeric, or alphanumeric
data.
view type
Attribute of a BOM view revision. The view type specifies the BOM view revisions
intended use (for example, design or manufacture). The view type distinguishes one
BOM view revision from another BOM view revision of the same item revision.
B-6
PLM00071 J
Index
Numerics/Symbols
4th Generation Design (4GD) . . . . . . . . . 9-1
A
Acrobat/Reader Plugin . . . . . . . . . . . . 5-247
Active extension files . . . . . . . . . . 3-103-11
ADA License . . . . . . . . . . . . . . . . . . . . . 9-4
Adc0AssociateWithChangeNotice business
object constant . . . . . . . . . . . . . . . . . 5-64
Adding
AppInterface business objects . . . . . . 5-33
Application extension points . . . . . . . 6-90
Application extension rules . . . . . . . . 6-92
Application extensions . . . . . . . . . . . 6-90
Attributes . . . . . . . . . . . . . . . . . . . 5-104
Business contexts . . . . . . . . . . . . . . . 6-94
Business Modeler IDE template
projects . . . . . . . . . . . . . . . . . . . . 4-1
Business object operations . . . . . . . . 8-11
Business objects . . . . . . . . . . . . . . . . . 5-4
Classes . . . . . . . . . . . . . . . . . 5-995-100
Dataset business objects . . . . . . . . . . 5-22
Extension files . . . . . . . . . . . . . . . . . 3-12
External data type . . . . . . . . . . . . . . . 8-7
Factors . . . . . . . . . . . . . . . . . . . . . . 10-8
Form business objects . . . . . . . . . . . . 5-17
GeneralDesignElement business
objects . . . . . . . . . . . . . . . . . . . . 5-38
GeneralDesignElementLink business
objects . . . . . . . . . . . . . . . . . . . . 5-40
Help topics . . . . . . . . . . . . . . . . . . . 2-90
ID contexts . . . . . . . . . . . . . . . . . . 5-212
ImanRelation business objects . . . . . 5-30
IntermediateDataCapture business
objects . . . . . . . . . . . . . . . . . . . . 5-35
Item business objects . . . . . . . . . . . . 5-11
Item element business objects . . . . . . 5-38
Libraries . . . . . . . . . . . . . . . . . . . . . . 8-6
Lists of values (LOVs) . . . . . . . . . . 5-150
Localization files . . . . . . . . . . . . . . . . 7-2
Mapping Designer projects . . . . . . . . 10-6
Naming rules . . . . . . . . . . . . . . . . . . . 6-2
Notes . . . . . . . . . . . . . . . . . . . . . . 5-213
PLM00071 J
Occurrence types . . . . . . . . . . . .
Persistent properties . . . . . . . . .
Properties . . . . . . . . . . . . . . . . .
Relation properties . . . . . . . . . . .
Releases . . . . . . . . . . . . . . . . . .
Run-time properties . . . . . . . . . .
Service data types . . . . . . . . . . .
Service libraries . . . . . . . . . . . . .
Service operations . . . . . . . . . . .
Services . . . . . . . . . . . . . . . . . .
Status objects . . . . . . . . . . . . . .
Storage media objects . . . . . . . . .
StructureContext business objects
Tool objects . . . . . . . . . . . . . . . .
Units of measure . . . . . . . . . . . .
View types . . . . . . . . . . . . . . . . .
ADSAutoCreateTechdoc global
constant . . . . . . . . . . . . . . . . . . .
ADSAutoSelectTechdoc global
constant . . . . . . . . . . . . . . . . . . .
Aerospace and Defense
Business objects . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . .
AIEDSConfiguredProperties global
constant . . . . . . . . . . . . . . . . . . .
Alias ID rules
Adding . . . . . . . . . . . . . . . . . . .
Editor . . . . . . . . . . . . . . . . . . . .
Example . . . . . . . . . . . . . . . . . .
Alias identifiers . . . . . . . . . . . . . .
Alternate ID rules
Adding . . . . . . . . . . . . . . . . . . .
Example . . . . . . . . . . . . . . . . . .
Reference . . . . . . . . . . . . . . . . .
Tab . . . . . . . . . . . . . . . . . . . . . .
Alternate identifiers . . . . . . . . . . .
Altova MapForce, installing . . . . . .
APIs, obsoleted . . . . . . . . . . . . . . .
AppInterface business objects . . . . .
Application domains . . . . . . . . . . .
Application extension
APIs . . . . . . . . . . . . . . . . . . . . .
Editors . . . . . . . . . . . . . . . . . . .
In general . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
5-215
5-118
5-116
5-132
. . 8-5
5-124
. 8-36
. 8-34
. 8-41
. 8-35
5-218
5-221
. 5-37
5-222
5-225
5-217
. . 5-257
. . 5-257
. . . 9-10
. . . 9-10
. . 5-257
.
.
.
.
.
.
.
.
.
.
.
.
6-54
A-38
6-55
5-33
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
6-49
6-51
6-53
A-15
5-33
10-2
A-6
5-33
9-115
. . . 6-96
. . . A-38
. . . 6-90
Index-1
Index
Points . . . . . . . . . . . . . . . . . . . . . . . 6-90
Rules . . . . . . . . . . . . . . . . . . . . . . . 6-92
Applications folder . . . . . . . . . . 5-249, A-11
Array column . . . . . . . . . . . . . . . . . . 5-109
Array Length column . . . . . . . . . . . . 5-109
As-Built Manager . . . . . . . . . . . . . . . . 9-12
Attaching
LOVs . . . . . . . . . . . . . . . . . . . . . . 5-192
Naming rules . . . . . . . . . . . . . . . . . . . 6-8
Attribute Name column . . . . . . . . . . . 5-108
Attribute validation warning
preference . . . . . . . . . . . . . . . . . . . . . 3-14
Attributes
Adding to classes . . . . . . . . . . . . . . 5-104
Introduction . . . . . . . . . . . . . . . . . 5-103
Table . . . . . . . . . . . . . . . . . . . . . . 5-108
AttributesNotCpdFwdIDReviseAlter business
object constant . . . . . . . . . . . . . . . . . 5-65
AttributesNotCpdFwdIDSaveasAlter business
object constant . . . . . . . . . . . . . . . . . 5-65
Audit definition
Creating . . . . . . . . . . . . . . . . . . . . . 9-16
Editor . . . . . . . . . . . . . . . . . . . . . . . A-13
Audit definitions . . . . . . . . . . . . . . . . . 9-16
Audit Manager
Audit definition . . . . . . . . . . . . . . . . 9-16
Business objects . . . . . . . . . . . . . . . . 9-20
Configuring . . . . . . . . . . . . . . . . . . . 9-12
Editors . . . . . . . . . . . . . . . . . . . . . . A-13
Event type . . . . . . . . . . . . . . . . . . . . 9-13
Event type mapping . . . . . . . . . . . . . 9-14
AutoAssignOwningOrg business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-65
autoAssignToProject extension . . . . . . . 8-82
AutoCopyRel business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-65
AutoCreatePartLogisticsForm global
constant . . . . . . . . . . . . . . . . . . . . . 5-257
automateAndLink extension . . . . . . . . 9-71
Automotive Edition . . . . . . . . . . . . . . . 9-21
AutoRevise business object constant . . . 5-66
B
Background color in UML Editor . . . . . 3-14
Backup . . . . . . . . . . 3-18, 4-16, 5-281, 11-8
Balanced LOVs . . . . . . . . . . . . . . . . . 5-212
Base Information tab . . . . . . . . . . . . . . A-32
Base-action . . . . . . . . . . . . . . . . . . . . . 8-72
BASE10001: ENCODING_VALIDATION_
ERROR . . . . . . . . . . . . . . . . . . . . . . 11-8
Baseline suffix naming rule . . . . . . . . . . 6-7
BaselineCheckNXBVRSync business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-66
Index-2
Baselines . . . . . . . . . . . . . . . . . . . . . . 4-85
Basic concepts
Business Modeler IDE . . . . . . . . . . . 1-15
Basic tasks . . . . . . . . . . . . . . . . . . . . . 1-18
Batch printing . . . . . . . . . . . . . . . . . 5-240
BatchPrintProviderName business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-66
BatchPrintServiceName business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-67
Best Practices Guide, Business Modeler
IDE . . . . . . . . . . . . . . . 1-1, 1-4, 1-20, A-1
BidPackageLineItemCustAttrs business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-67
BMF_SESSION_register_epm_handlers
operation . . . . . . . . . . . . . . . . . . . . 9-131
bmide_generatecode utility . . . . . . . . . 8-25
bmide_manage_batch_lovs utility . . . . 5-156
BOM grading . . . . . . . . . . . . . . . . . . . 9-95
BOMLineAbsOccCompProperties global
constant . . . . . . . . . . . . . . . . 5-149, 5-258
Browsing
Business objects . . . . . . . . . . . . . . . . A-10
Classes . . . . . . . . . . . . . . . . . . . . . . A-11
Building control files . . . . . . . . . . . . . 10-14
Business contexts
Adding . . . . . . . . . . . . . . . . . . . . . . 6-94
Editor . . . . . . . . . . . . . . . . . . . . . . . A-39
Business Modeler IDE
Best Practices Guide . . 1-1, 1-4, 1-20, A-1
Concepts . . . . . . . . . . . . . . . . . . . . . 1-15
Deep copy rules . . . . . . . . . . . . . . . . 6-42
EDA derived data . . . . . . . . . 9-119, A-32
Example extension . . . . . . . . . . . . . . 1-20
Form business object . . . . . . . . . . . . 5-21
Installing . . . . . . . . . . . . . . . . . . 3-1, 3-5
Perspectives . . . . . . . . . . . . . . . A-7, A-9
Preferences . . . . . . . . . . . . . . . 3-12, A-1
Prerequisites . . . . . . . . . . . . . . . . . . . 1-2
Purpose . . . . . . . . . . . . . . . . . . . . . . . 1-1
Start . . . . . . . . . . . . . . . . . . . . . . . . 3-23
Storage class . . . . . . . . . . . . . . . . . . 5-21
Tasks . . . . . . . . . . . . . . . . . . . . . . . 1-19
Template projects . . . . . . . . . . . . . . . . 4-1
Uninstall . . . . . . . . . . . . . . . . . . . . . 3-30
Upgrade . . . . . . . . . . . . . . . . . . . . . 3-24
User interface . . . . . . . . . . . . . . . . . . 1-4
Using . . . . . . . . . . . . . . . . . . . . . . . . 5-2
Utilities . . . . . . . . . . . . . . . . . . . . . A-3
Views . . . . . . . . . . . . . . . . . . . A-7, A-10
Workshops . . . . . . . . . . . . . . . . . . . . 2-1
Business object constants . . . . . . . . . . . 6-69
Adc0AssociateWithChangeNotice . . . 5-64
AttributesNotCpdFwd
IDReviseAlter . . . . . . . . . . . . . . . 5-65
PLM00071 J
Index
AttributesNotCpdFwd
IDSaveasAlter . . . . . . . . . . . . . .
AutoAssignOwningOrg . . . . . . . . . . .
AutoCopyRel . . . . . . . . . . . . . . . . . .
AutoRevise . . . . . . . . . . . . . . . . . . .
BaselineCheckNXBVRSync . . . . . . .
BatchPrintProviderName . . . . . . . . .
BatchPrintServiceName . . . . . . . . . .
BidPackageLineItemCustAttrs . . . . .
Ccd0ExportOptions . . . . . . . . . . . . .
Ccd0FileTypeExchangeSupported . . .
Ccd0ImportOptions . . . . . . . . . . . . .
Changing . . . . . . . . . . . . . . . . . . . .
Cm0AnalystAssignableCondition . . .
Cm0AuditsItemCreCondition . . . . . .
Cm0HasContractCreCondition . . . . .
Cm0IncorporatesCreCondition . . . . .
Cm0RaisesActionItemsCreCondition .
Cm0RequestorAssignableCondition . .
CMHasImpactedItemCreCondition . .
CMHasProblemItemCreCondition . . .
CMHasSolutionItemCreCondition . . .
CMHasWorkBreakdown
CreCondition . . . . . . . . . . . . . . .
CMImplementsCreCondition . . . . . .
CMReferencesCreCondition . . . . . . .
Cmt0ContMgmtPublish
ProviderName . . . . . . . . . . . . . . .
Cmt0ContMgmtPublish
ServiceName . . . . . . . . . . . . . . .
Cpd0AllowedContentTypes . . . . . . . .
Cpd0AllowedDesignItemTypes . . . . .
Cpd0AllowedPartitionSchemeTypes . .
Cpd0AttachToItemRevision . . . . . . .
Cpd0DefaultBOMViewPreference . . .
Cpd0DefaultDERevRule . . . . . . . . . .
Cpd0DefaultSubsetRevRule . . . . . . .
Cpd0FrozenByStatusList . . . . . . . . .
Cpd0ItemRlzCarryFwdSourceEffExpr
Cpd0ItemRlzCarryFwdSourceVarExpr
Cpd0ItemTypeForDesignFeature . . . .
Cpd0ItemTypeToSubordinateDEType
CreateInput . . . . . . . . . . . . . . . . . .
Creating . . . . . . . . . . . . . . . . . . . . .
DefaultViewPrecision . . . . . . . . . . . .
DisplayName . . . . . . . . . . . . . . . . . .
Editors . . . . . . . . . . . . . . . . . . . . . .
Fnd0AllowCheckOutOnCreate . . . . .
Fnd0AllowedTaskLocation . . . . . . . .
Fnd0AllowReviseOperation . . . . . . . .
Fnd0ArchiveLocation . . . . . . . . . . . .
Fnd0AssociatedBOMLine . . . . . . . . .
Fnd0AttachCustomNote
ToMultiItems . . . . . . . . . . . . . . .
PLM00071 J
5-65
5-65
5-65
5-66
5-66
5-66
5-67
5-67
5-67
5-67
5-68
5-63
5-69
5-69
5-70
5-70
. 5-70
5-70
5-68
5-68
5-68
5-68
5-69
5-69
5-71
5-71
5-71
5-71
5-71
5-72
5-72
5-72
5-72
5-73
. . 5-73
. . 5-73
5-74
. . 5-74
5-74
5-61
5-74
5-75
A-25
5-75
5-76
5-75
5-76
5-76
5-77
Fnd0AuditRecordAccessLevel . . . . . . 5-77
Fnd0CheckoutOptions . . . . . . . . . . . 5-77
Fnd0DefaultViewPrecision . . . . . . . . 5-79
Fnd0EnableAssignProjects . . . . . . . . 5-77
Fnd0EnableIceCarryOver . . . . . . . . . 5-78
Fnd0EnableSubmitToWorkflow . . . . . 5-78
Fnd0GenerateDSNameWithoutExt . . 5-78
Fnd0Icon . . . . . . . . . . . . . . . . . . . . . 5-79
Fnd0IncludeMarkupsWithSignedFile . . 5-79
Fnd0IsCheckoutable . . . . . . . . . . . . 5-79
Fnd0MarkupControlObject . . . . . . . . 5-80
Fnd0MarkupControlObjRels . . . . . . . 5-80
Fnd0MasterAttrExMappings . . . . . . 5-80
Fnd0ObjectIDToAudit . . . . . . . . . . . 5-80
Fnd0ObjectNameToAudit . . . . . . . . . 5-81
Fnd0ObjectRevIDToAudit . . . . . . . . . 5-81
Fnd0PreventTraceLinkDelete . . . . . . 5-81
Fnd0ReferenceTypeDocx . . . . . . . . . 5-82
Fnd0ReferenceTypeObject . . . . . . . . 5-82
Fnd0ReferenceTypeXML . . . . . . . . . 5-82
Fnd0RetentionPeriod . . . . . . . . . . . . 5-83
Fnd0RuntimeTraceProperty . . . . . . . 5-83
Fnd0ShowRelationUI
WhenNoAddlAttr . . . . . . . . . . . . 5-83
Fnd0UseInstanceAttrExMappings . . . 5-83
Fnd0WhereUsed . . . . . . . . . . . . . . . 5-83
IsMRONeutralType . . . . . . . . . . . . . 5-84
ItemRevision . . . . . . . . . . . . . . . . . . 5-84
MasterForm . . . . . . . . . . . . . . . . . . 5-84
MaturityStatuses . . . . . . . . . . . . . . . 5-84
MaxAllowedWorkRevs
ForItemCopyRev . . . . . . . . . . . . . 5-85
MaxAllowedWorkRevs
ForItemCreate . . . . . . . . . . . . . . 5-85
MaxAllowedWorkRevs
ItemCpRevExist . . . . . . . . . . . . . 5-85
Mdl0AllowedContentTypes . . . . . . . . 5-86
Mfg0OperationLD . . . . . . . . . . . . . . 5-86
Mfg0ProcessLD . . . . . . . . . . . . . . . . 5-86
Mfg0ProcessPartitionLD . . . . . . . . . . 5-86
Mfg0RelationsToOpen . . . . . . . . . . . 5-86
Mfg0TimeSysCategoryInitVal . . . . . . 5-87
Mim0NonConformanceWorkflow . . . . 5-87
MultiFieldKey . . . . . . . . . . . . . . . . . 5-87
ParticipantHandlerKeyword . . . . . . 5-88,
9-130
ParticipantUsedOnObjectTypes . . . . . 5-88
PhysicalPartTypeForCreate . . . . . . . 5-89
Ptn0AttchDataCloneDefaultOption . . 5-89
Ptn0AttchDataRlzDefaultOption . . . . 5-89
Ptn0AttrGrpsCloneDefaultOption . . . 5-89
Ptn0AttrGrpsRlzDefaultOption . . . . . 5-90
Ptn0COOnCreateCloneDefaultOption . . 5-90
Ptn0GenerateNewPartitionID . . . . . . 5-90
Index-3
Index
Ptn0IncludeChildRlzDefaultOption . . 5-90
Ptn0IsOwningMemberships . . . . . . . 5-91
Ptn0IsStatic . . . . . . . . . . . . . . . . . . 5-91
Ptn0SchemeFunctional
AllowedTypes . . . . . . . . . . . . . . . 5-92
Ptn0SchemePhysicalAllowedTypes . . 5-92
Ptn0SchemeSpacialAllowedTypes . . . 5-92
Ptn0VariantExpCloneDefaultOption . . 5-92
Ptn0VariantExprsRlzDefaultOption . . 5-93
Reference . . . . . . . . . . . . . . . . . . . . 5-64
RenderProviderName . . . . . . . . . . . . 5-93
RenderTSServiceName . . . . . . . . . . . 5-93
Rlz0CarryfwdEndItemEffectivity . . . 5-94
Rlz0DefaultItemRealization
ClosureRule . . . . . . . . . . . . . . . . 5-94
Rlz0RealizationAttrMapping . . . . . . . 5-94
Rlz0RealizeRemoteObjects . . . . . . . . 5-94
SaveAsInput . . . . . . . . . . . . . . . . . . 5-95
ShowIdenticalItemIdAndName . . . . . 5-95
TimeAnalysisForm . . . . . . . . . . . . . . 5-95
TypeFindNumberValidation . . . . . . . 5-95
Business object display rules
Adding . . . . . . . . . . . . . . . . . . . . . . 6-23
Reference . . . . . . . . . . . . . . . . . . . . 6-26
Workshop . . . . . . . . . . . . . . . . . . . . 2-49
Business objects
Adding . . . . . . . . . . . . . . . . . . . . . . . 5-4
AppInterface . . . . . . . . . . . . . . . . . . 5-33
Constants . . . . . . . . . . . . . . . . 5-60, 5-64
Creating . . . . . . . . . . . . . . . . . . . . . . 5-4
Dataset . . . . . . . . . . . . . . . . . . . . . . 5-22
Editor . . . . . . . . . . . . . . . . . . . . . . . A-15
Form . . . . . . . . . . . . . . . . . . . . . . . . 5-17
GeneralDesignElement . . . . . . . . . . 5-38
GeneralDesignElementLink . . . . . . . 5-40
Icons . . . . . . . . . . . . . . . . . . . . . . . . 5-41
Identifier . . . . . . . . . . . . . . . . . . . . . 5-31
ImanRelation . . . . . . . . . . . . . . . . . 5-30
In general . . . . . . . . . . . . . . . . . . 5-2, 5-4
IntermediateDataCapture . . . . . . . . 5-35
Item . . . . . . . . . . . . . . . . . . . . 5-105-11
Item element . . . . . . . . . . . . . . . . . . 5-38
Main tab . . . . . . . . . . . . . . . . . . . . . A-19
Operations . . . . . . . . . . . . . . . . . . . 8-11
Primary . . . . . . . . . . . . . . . . . . . . . 5-97
Properties . . . . . . . . . . . . . . 5-1115-112
Renaming . . . . . . . . . . . . . . . . . . . . 5-96
Rules . . . . . . . . . . . . . . . . . . . . . . . . 6-1
Secondary . . . . . . . . . . . . . . . . . . . . 5-97
StructureContext . . . . . . . . . . . . . . . 5-37
Subclassing . . . . . . . . . . . . . . . . . . . . 5-7
View . . . . . . . . . . . . . . . . . . . . . . . . A-10
Index-4
C
C++
Compilers . . . . . . . . . . . . . . . . 4-60, 8-51
CAD-BOM alignment . . . . . . . . . . . . . 9-71
CAE Manager . . . . . . . . . . . . . . . . . . . 9-22
Candidate Key column . . . . . . . . . . . 5-110
Cannot connect to the server . . . . . . . . 11-2
Cascading LOVs . . . . . . . . . . . . . . . . 5-196
Categories of licenses . . . . . . . . . . . . . . 9-5
Ccd0ExportOptions business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-67
Ccd0FileTypeExchangeSupported business
object constant . . . . . . . . . . . . . . . . . 5-67
Ccd0ImportOptions business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-68
Ccd0TypeRefInitCols property
constant . . . . . . . . . . . . . . . . . . . . . 5-139
Ccd0TypeRefInitRows property
constant . . . . . . . . . . . . . . . . . . . . . 5-139
Ccd0TypeRefInitValue property
constant . . . . . . . . . . . . . . . . . . . . . 5-139
CFGAtLnFormConfiguredProperties global
constants . . . . . . . . . . . . . . . . . . . . 5-261
Change Management
Business objects . . . . . . . . . . . . . . . . 9-24
Configuring . . . . . . . . . . . . . . . . . . . 9-22
Folders . . . . . . . . . . . . . . . . . . . . . . 9-28
change_type_name utility . . . . . . . . . . 11-7
checkOtherSideOneToMany
condition . . . . . . . . . . . . . . . . . . . . . . 6-43
checkOtherSideOneToOne condition . . . 6-44
Class is referenced error . . . . . . . . . . . 11-3
Classes
Adding . . . . . . . . . . . . . . . . . 5-995-100
Applications . . . . . . . . . . . . . 5-249, A-11
Attributes table . . . . . . . . . . . . . . . 5-108
Editor . . . . . . . . . . . . . . . . . . . . . . . A-21
In general . . . . . . . . . . . . . . . . . . . . . 5-3
Reference . . . . . . . . . . . . . . . . . . . . 2-78
View . . . . . . . . . . . . . . . . . . . . . . . . A-11
Working with . . . . . . . . . . . . . . . . . . 5-99
Classification . . . . . . . . . . . . . . . 6-73, 9-63
Cloning factors . . . . . . . . . . . . . . . . . 10-15
Closing Business Modeler IDE
Template projects . . . . . . . . . . . . . . . 4-58
Cm0AnalystAssignableCondition business
object constant . . . . . . . . . . . . . . . . . 5-69
Cm0AuditsItemCreCondition business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-69
Cm0HasContractCreCondition business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-70
Cm0IncorporatesCreCondition business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-70
PLM00071 J
Index
Cm0isCm0AuditsItemCreatable
condition . . . . . . . . . . . . . . . . . . 9-349-35
Cm0isCm0IncorporatesCreatable
condition . . . . . . . . . . . . . . . . . . . . . . 9-35
Cm0isCm0IncorporatesCreatableForPrimary
condition . . . . . . . . . . . . . . . . . . . . . . 9-36
Cm0isCm0IncorporatesCreatable
ForSecondary condition . . . . . . . . . . . 9-36
Cm0isCm0RaisesActionItemsCreatable
condition . . . . . . . . . . . . . . . . . . . . . . 9-37
Cm0isCMHasImpactedItemCreatable
condition . . . . . . . . . . . . . . . . . . . . . . 9-37
Cm0isCMHasImpactedItem
CreatableForSecondary condition . . . . 9-38
Cm0isCMHasImpactedItemCreatableForTask
condition . . . . . . . . . . . . . . . . . . . . . . 9-38
Cm0isCMHasProblemItemCreatable
condition . . . . . . . . . . . . . . . . . . . . . . 9-39
Cm0isCMHasProblemItem
CreatableForSecondary condition . . . . 9-39
Cm0isCMHasProblemItemCreatableForTask
condition . . . . . . . . . . . . . . . . . . . . . . 9-40
Cm0isCMHasSolutionItemCreatable
condition . . . . . . . . . . . . . . . . . . . . . . 9-40
Cm0isCMHasSolutionItem
CreatableForSecondary condition . . . . 9-41
Cm0isCMHasSolutionItemCreatableForTask
condition . . . . . . . . . . . . . . . . . . . . . . 9-41
Cm0isCMHasWorkBreakdownCreatable
condition . . . . . . . . . . . . . . . . . . . . . . 9-41
Cm0isCMHasWorkBreakdown
CreatableForSecondary condition . . . . 9-42
Cm0isCMReferencesCreatableForTask
condition . . . . . . . . . . . . . . . . . . . . . . 9-42
Cm0isIncorporationStatusEditable
condition . . . . . . . . . . . . . . . . . . . . . . 9-43
Cm0RaisesActionItemsCreCondition business
object constant . . . . . . . . . . . . . . . . . 5-70
Cm0RequestorAssignableCondition business
object constant . . . . . . . . . . . . . . . . . 5-70
CMHasImpactedItemCreCondition business
object constant . . . . . . . . . . . . . . . . . 5-68
CMHasProblemItemCreCondition business
object constant . . . . . . . . . . . . . . . . . 5-68
CMHasSolutionItemCreCondition business
object constant . . . . . . . . . . . . . . . . . 5-68
CMHasWorkBreakdownCreCondition
business object constant . . . . . . . . . . . 5-68
CMImplementsCreCondition business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-69
CMReferencesCreCondition business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-69
Cmt0ContMgmtPublishProviderName
business object constant . . . . . . . . . . . 5-71
PLM00071 J
Cmt0ContMgmtPublishServiceName business
object constant . . . . . . . . . . . . . . . . . 5-71
Code generation
Classes . . . . . . . . . . . . . . . . . . . . . . 8-26
Editors . . . . . . . . . . . . . . . . . . . . . . A-21
Overview . . . . . . . . . . . . . . . . . . . . . . 8-1
Performing . . . . . . . . . . . . . . . . . . . 8-24
Setting up . . . . . . . . . . . . . . . . . . 4-4, 8-2
Code implementation . . . . . . . . . . . . . 8-27
Collision, type name . . . . . . . . . . . . . . 11-7
Color of background in UML Editor . . . 3-14
Compare Two Data Models report . . . . 5-286,
5-288
Complex property constants . . . . . . . . 5-139
Compound properties
Adding . . . . . . . . . . . . . . . . . . . . . 5-128
Characteristics . . . . . . . . . . . . . . . 5-148
Legacy . . . . . . . . . . . . . . . . . . . . . 5-148
Reference . . . . . . . . . . . . . . . . . . . 5-147
Condition Usage report . . . . . . 5-287, 5-289
ConditionEngine service . . . . . . . . . . . 6-89
Conditions
Adding . . . . . . . . . . . . . . . . . . . . . . 6-74
Calls . . . . . . . . . . . . . . . . . . . . . . . . 6-84
checkOtherSideOneToMany . . . . . . . 6-43
checkOtherSideOneToOne . . . . . . . . 6-44
Cm0isCm0AuditsItemCreatable . . 9-349-35
Cm0isCm0IncorporatesCreatable . . . 9-35
Cm0isCm0IncorporatesCreatable
ForPrimary . . . . . . . . . . . . . . . . . 9-36
Cm0isCm0IncorporatesCreatable
ForSecondary . . . . . . . . . . . . . . . 9-36
Cm0isCm0RaisesActionItems
Creatable . . . . . . . . . . . . . . . . . . 9-37
Cm0isCMHasImpacted
ItemCreatable . . . . . . . . . . . . . . . 9-37
Cm0isCMHasImpacted
ItemCreatableForSecondary . . . . . 9-38
Cm0isCMHasImpactedItem
CreatableForTask . . . . . . . . . . . . 9-38
Cm0isCMHasProblemItem
Creatable . . . . . . . . . . . . . . . . . . 9-39
Cm0isCMHasProblemItem
CreatableForSecondary . . . . . . . . 9-39
Cm0isCMHasProblemItem
CreatableForTask . . . . . . . . . . . . 9-40
Cm0isCMHasSolutionItem
Creatable . . . . . . . . . . . . . . . . . . 9-40
Cm0isCMHasSolutionItem
CreatableForSecondary . . . . . . . . 9-41
Cm0isCMHasSolutionItem
CreatableForTask . . . . . . . . . . . . 9-41
Cm0isCMHasWork
BreakdownCreatable . . . . . . . . . . 9-41
Index-5
Index
Cm0isCMHasWorkBreakdown
CreatableForSecondary . . . . . . . .
Cm0isCMReferencesCreatableForTask
Cm0isIncorporationStatusEditable . .
Editor . . . . . . . . . . . . . . . . . . . . . . .
Examples . . . . . . . . . . . . . . . . . . . .
Expressions . . . . . . . . . . . . . . . . . . .
isActiveSequence . . . . . . . . . . . . . . .
isAnalyst . . . . . . . . . . . . . . . . . . . . .
isAnalystAssignable . . . . . . . . . . . . .
isAuthor . . . . . . . . . . . . . . . . . . . . .
isChangeExecutionAllowed . . . . . . . .
isChangeImplementation
BoardAssignable . . . . . . . . . . . . .
isChangeNoticeCreatable . . . . . . . . .
isChangeRequestCreatable . . . . . . . .
isChangeReviewBoardAssignable . . .
isChangeSpecialist1 . . . . . . . . . . . . .
isChangeSpecialist1Assignable . . . . .
isChangeSpecialist2 . . . . . . . . . . . . .
isChangeSpecialist2Assignable . . . . .
isChangeSpecialist3 . . . . . . . . . . . . .
isChangeSpecialist3Assignable . . . . .
isCm0DevRqstCreatable . . . . . . . . . .
isCMHasImpactedItemCreatable . . .
isCMHasImpactedItem
CreatableForPrimary . . . . . . . . . .
isCMHasImpactedItemCreatable
ForSecondary . . . . . . . . . . . . . . .
isCMHasImpactedItem
CreatableForTask . . . . . . . . . . . .
isCMHasProblemItemCreatable . . . .
isCMHasProblemItem
CreatableForPrimary . . . . . . . . . .
isCMHasProblemItem
CreatableForSecondary . . . . . . . .
isCMHasProblemItem
CreatableForTask . . . . . . . . . . . .
isCMHasSolutionItemCreatable . . . .
isCMHasSolutionItem
CreatableForPrimary . . . . . . . . . .
isCMHasSolutionItem
CreatableForSecondary . . . . . . . .
isCMHasSolutionItem
CreatableForTask . . . . . . . . . . . .
isCMHasWork
BreakdownCreatable . . . . . . . . . .
isCMHasWorkBreakdownCreatable
ForPrimary . . . . . . . . . . . . . . . . .
isCMHasWorkBreakdownCreatable
ForSecondary . . . . . . . . . . . . . . .
isCMImplementsCreatable . . . . . . . .
isCMImplementsCreatable
ForPrimary . . . . . . . . . . . . . . . . .
Index-6
9-42
. . 9-42
9-43
A-39
6-80
6-83
9-43
9-44
9-44
9-45
9-55
9-55
9-56
9-56
9-56
9-57
9-57
9-58
9-58
9-59
9-59
9-59
9-45
9-45
9-46
9-46
9-47
9-47
9-48
9-48
9-49
9-49
9-50
9-50
9-50
9-51
9-51
9-52
isCMImplementsCreatable
ForSecondary . . . . . . . . . . . . . . . 9-53
isCMReferencesCreatable . . . . . . . . . 9-53
isCMReferencesCreatable
ForPrimary . . . . . . . . . . . . . . . . . 9-54
isCMReferencesCreatable
ForSecondary . . . . . . . . . . . . . . . 9-54
isCMReferencesCreatableForTask . . . 9-55
isEffectivityCreatableForChange . . . . 9-60
isImpactedItemRevisable
ForChange . . . . . . . . . . . . . . . . . 9-60
isImpactedItemRevisableForTask . . . 9-61
isOneToOneAndMature . . . . . . . . . . 6-46
isOtherSideLatestMature . . . . . . . . . 6-46
isOtherSideReplica . . . . . . . . . . . . . 6-47
isProblemReportCreatable . . . . . . . . 9-61
isRequestor . . . . . . . . . . . . . . . . . . . 9-61
isRequestorAssignable . . . . . . . . . . . 9-62
isRollUpCommittable . . . . . . . . . . . . 9-62
ITK . . . . . . . . . . . . . . . . . . . . . . . . 6-88
Naming rules . . . . . . . . . . . . . . 6-11, 6-18
Occurrences . . . . . . . . . . . . . . . . . . 9-100
Operands . . . . . . . . . . . . . . . . . . . . 6-85
Operation rules . . . . . . . . . . . . . . . . 6-86
Operators . . . . . . . . . . . . . . . . . . . . 6-84
Overview . . . . . . . . . . . . . . . . . . . . . 6-79
Project . . . . . . . . . . . . . . . . . . . . . 5-206
Search . . . . . . . . . . . . . . . . . . . . . . 6-78
Service . . . . . . . . . . . . . . . . . . . . . . 6-89
Signatures . . . . . . . . . . . . . . . . . . . 6-86
Troubleshooting . . . . . . . . . . . . . . . . 6-87
Working with . . . . . . . . . . . . . . . . . . 6-74
Console view . . . . . . . . . . . . . . . 10-31, A-44
Constants
Business object . . . . . . . . . . . . 5-60, 5-64
Editors . . . . . . . . . . . . . . . . . . . . . . A-25
Global . . . . . . . . . . . . . . . . . . . . . . 5-253
Property . . . . . . . . . . . . . . . . . . . . 5-134
Control files
Building . . . . . . . . . . . . . . . . . . . . 10-14
Deploying . . . . . . . . . . . . . . . . . . . 10-14
Converting secondary business
objects . . . . . . . . . . . . . . . . . . . . . . . 5-97
CopyFromOriginal property
constant . . . . . . . . . . . . . . . . . . . . . 5-140
COTS (commercial off-the-shelf) . . . . . . 1-17
Counters in naming rules . . . . . . . . . . 6-16
Cpd0AllowedContentTypes business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-71
Cpd0AllowedDesignItemTypes business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-71
Cpd0AllowedPartitionSchemeTypes business
object constant . . . . . . . . . . . . . . . . . 5-71
9-52
PLM00071 J
Index
PLM00071 J
IntermediateDataCapture business
objects . . . . . . . . . . . . . . . . . . . . 5-35
Item business objects . . . . . . . . . . . . 5-11
Item element business objects . . . . . . 5-38
Mapping Designer projects . . . . . . . . 10-6
Maps . . . . . . . . . . . . . . . . . 10-10, 10-26
Online help . . . . . . . . . . . . . . . . . . . 2-91
Property constants . . . . . . . . . . . . . 5-135
Schema file . . . . . . . . . . . . . . . . . . 5-285
StructureContext business objects . . . 5-37
Custom indicators on icons
preference . . . . . . . . . . . . . . . . . . . . . 3-13
D
Data model
Deploying . . . . . . . . . . . . . . . . 4-10, 4-12
Merge preferences . . . . . . . . . . . . . . 4-52
Packaging . . . . . . . . . . . . . . . . . . . . 4-17
Reload . . . . . . . . . . . . . . . . . . . . . 5-279
Saving . . . . . . . . . . . . . . . . . . . . . . 1-25
Schema . . . . . . . . . . . . . . . . . 5-99, 5-291
Synchronize . . . . . . . . . . . . . . . . . . . 4-51
Data Model Documentation report . . . 5-288,
5-291
Data Model report . . . . . . . . . . 5-287, 5-290
Data types
Editors . . . . . . . . . . . . . . . . . . . . . . A-22
Enumeration . . . . . . . . . . . . . . . . . . 8-40
External . . . . . . . . . . . . . . . . . . . . . . 8-7
In general . . . . . . . . . . . . . . . . . . . . . 8-7
Map . . . . . . . . . . . . . . . . . . . . . . . . 8-38
Primitive . . . . . . . . . . . . . . . . . . . . . 8-10
Service . . . . . . . . . . . . . . . . . . . . . . 8-36
Structure . . . . . . . . . . . . . . . . . . . . 8-37
Data Types tab . . . . . . . . . . . . . . . . . . A-24
Database environment
Single production . . . . . . . . . . . . . . . 2-83
Test and production . . . . . . . . . . . . . 2-84
User testing . . . . . . . . . . . . . . . . . . 2-84
Dataset business objects
Creating . . . . . . . . . . . . . . . . . . . . . 5-22
Reference . . . . . . . . . . . . . . . . . . . . 5-21
Dataset Properties tab . . . . . . . . . . . . . A-17
Datasets
Creating . . . . . . . . . . . . . . . . . . . . . 5-26
Editors . . . . . . . . . . . . . . . . . . . . . . A-16
Viewing and opening . . . . . . . . . . . . 5-27
Deep copy enhancements . . . . . . . . . . . 6-42
Deep copy rules
Adding . . . . . . . . . . . . . . . . . . . . . . 6-35
Error . . . . . . . . . . . . . . . . . . . . . . 11-11
Inheritance . . . . . . . . . . . . . . . . . . . 6-40
Restrictions . . . . . . . . . . . . . . . . . . . 6-41
Index-7
Index
Tab . . . . . . . . . . . . . . . . . . . . . . . . . A-18
Workshop . . . . . . . . . . . . . . . . . . . . 2-43
DefaultProjectSmartFolders global
constant . . . . . . . . . . . . . . . . . . . . . 5-263
DefaultViewPrecision business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-74
Deleting
Factors . . . . . . . . . . . . . . . . . . . . . 10-17
Objects . . . . . . . . . . . . . . . . . . . . . 5-276
Projects . . . . . . . . . . . . . . . . . . . . . . 4-59
Dependency tab . . . . . . . . . . . 10-17, 10-31
Dependent factors . . . . . . . . . . . . . . . 10-17
Deploy Template menu . . . . . . . . . . . . . 1-7
Deploying
Control file . . . . . . . . . . . . . . . . . . 10-14
Deployment page . . . . . . . . . . . . . . . A-26
Live updates . . . . . . . . . . . . . . . . . . 4-10
Overview . . . . . . . . . . . . . . . . . 4-10, 4-78
Templates . . . . . . . . . . . . . . . . . . . . 4-12
Deployment
Backup . . . . . . . . . . . . . . . . . . . . . . 4-16
Errors . . . . . . . . . . . . . . . . . . . . . . . 11-1
Setup . . . . . . . . . . . . . . . . . . . . . . . 11-1
Deployment page . . . . . . . . . . . . 4-57, A-26
Deprecating
Objects . . . . . . . . . . . . . . . . . . . . . 5-277
Operations . . . . . . . . . . . . . . . . . . . 8-17
Description Editor . . . . . . . . . . . . . . . . 8-47
Designs . . . . . . . . . . . . . . . . . . . . . . . 9-71
Development environments
Multiple developers . . . . . . . . . . . . . 2-85
DeviationAuthorityType global
constant . . . . . . . . . . . . . . . . . . . . . 5-263
Dimensional Planning and Validation (DPV)
Configuring . . . . . . . . . . . . . . . . . . . 9-63
Forms . . . . . . . . . . . . . . . . . . . . . . . 9-63
Dispatcher Service Config Creation Info
tab . . . . . . . . . . . . . . . . . . . . . . . . . . A-28
Dispatcher Service Config Relation Info
tab . . . . . . . . . . . . . . . . . . . . . . . . . . A-28
Dispatcher service configurations
Create . . . . . . . . . . . . . . . . . . . . . . 5-227
Editor . . . . . . . . . . . . . . . . . . . . . . . A-27
Dispatcher Service Information tab . . . A-31
Display Rules tab . . . . . . . . . . . . . . . . A-18
DisplayName business object
constant . . . . . . . . . . . . . . . . . . 5-75, 6-69
Document management
Editors . . . . . . . . . . . . . . . . . . . . . . A-27
PDF markup . . . . . . . . . . . . . . . . . 5-247
Project . . . . . . . . . . . . . . . . . . . . . 5-245
Working with . . . . . . . . . . . . . . . . . 5-226
Domains, multifield key . . . . . . . . . . . . 6-60
Dpv0FormAttach extension . . . . . . . . . 9-63
Index-8
Dynamic
Participants . . . . . . . . . . . . . . . . . . 9-130
Dynamic LOVs . . . . . . . . . . . . . . . . . 5-166
E
Eclipse
Downloading from IBM . . . . . . . . . . . 1-1
Version . . . . . . . . . . . . . . . . . . . . . . . 1-3
Views . . . . . . . . . . . . . . . . . . 10-31, A-44
EDA
Business objects . . . . . . . . . . . . . . . 9-119
Derived data . . . . . . . . 9-1199-120, A-32
EDACCABase . . . . . . . . . . . . . . . . . . 9-119
EDAComp . . . . . . . . . . . . . . . . . . . . 9-119
EDAHasDerivedData . . . . . . . . . . . . 9-119
EDAHasDerivedItem . . . . . . . . . . . . 9-119
EDAPWB . . . . . . . . . . . . . . . . . . . . . 9-119
EDASchem . . . . . . . . . . . . . . . . . . . . 9-119
Editing source files . . . . . . . . . . . . . . 10-32
Editors
Alias ID Rule . . . . . . . . . . . . . . . . . . A-38
Application extension point . . . . . . . . A-38
Application extension rule . . . . . . . . A-38
Business Context . . . . . . . . . . . . . . . A-39
Business object . . . . . . . . . . . . . . . . A-15
Business object constant . . . . . . . . . . A-25
Class . . . . . . . . . . . . . . . . . . . . . . . A-21
Code generation . . . . . . . . . . . . . . . . A-21
Conditions . . . . . . . . . . . . . . . . . . . . A-39
Constants . . . . . . . . . . . . . . . . . . . . A-25
Data types . . . . . . . . . . . . . . . . . . . . A-22
Dataset . . . . . . . . . . . . . . . . . . . . . . A-16
Document management . . . . . . . . . . A-27
Extension Definition . . . . . . . . . . . . A-39
Extension Rules . . . . . . . . . . . . . . . . A-44
External Data Type . . . . . . . . . . . . . A-22
Global Constant . . . . . . . . . . . . . . . . A-25
GRM Rules . . . . . . . . . . . . . . . . . . . A-19
ID Context . . . . . . . . . . . . . . . . . . . A-34
IRDC . . . . . . . . . . . . . . . . . . . . . . . A-28
Library . . . . . . . . . . . . . . . . . . . . . . A-23
LOV . . . . . . . . . . . . . . . . . . . . . . . . A-33
Note Type . . . . . . . . . . . . . . . . . . . . A-34
Occurrence Type . . . . . . . . . . . . . . . A-35
Options . . . . . . . . . . . . . . . . . . . . . . A-34
Primitive Data Type . . . . . . . . . . . . . A-22
Property Constant . . . . . . . . . . . . . . A-26
Release . . . . . . . . . . . . . . . . . . . . . . A-23
Rule . . . . . . . . . . . . . . . . . . . . . . . . A-38
Service Library . . . . . . . . . . . . . . . . A-23
Services . . . . . . . . . . . . . . . . . . . . . A-23
Status . . . . . . . . . . . . . . . . . . . . . . . A-35
Storage Media . . . . . . . . . . . . . . . . . A-35
PLM00071 J
Index
Teamcenter Components . . .
Template Data Type . . . . . . .
Tool . . . . . . . . . . . . . . . . . .
UML . . . . . . . . . . . . . . . . . .
Unit of measure . . . . . . . . . .
Verification Rule . . . . . . . . .
View . . . . . . . . . . . . . . . . . .
View Type . . . . . . . . . . . . . .
Enabled property constant . . . .
Enumeration data type . . . . . .
Environment variables
JAVA_HOME . . . . . . . . . . . .
JDK_HOME . . . . . . . . . . . .
JRE_HOME . . . . . . . . . . . .
JRE64_HOME . . . . . . . . . . .
TC_MFK_INDEX_KEY_SIZE
EPM user exit . . . . . . . . . . . . .
Errors
Handling . . . . . . . . . . . . . . .
Log . . . . . . . . . . . . . . . . . . .
Evaluation order for GRM rules
Event type
Creating . . . . . . . . . . . . . . .
Editor . . . . . . . . . . . . . . . . .
Event type mapping
Creating . . . . . . . . . . . . . . .
Editor . . . . . . . . . . . . . . . . .
Example extension . . . . . . . . .
execute_rbf_rules utility . . . . .
executeRbfRules API . . . . . . . .
Export As String column . . . . .
Export TC XML schema file . . .
Exportable property constant . .
Expressions in conditions . . . . .
Extension Definition editor . . .
Extension files
Adding . . . . . . . . . . . . . . . .
Moving items into . . . . . . . .
Setting . . . . . . . . . . . . . . . .
Extension rules editor . . . . . . .
Extensions
Application . . . . . . . . . . . . .
Assign . . . . . . . . . . . . . . . . .
Define . . . . . . . . . . . . . . . . .
Operations . . . . . . . . . . . . .
Reference . . . . . . . . . . . . . .
View . . . . . . . . . . . . . . . . . .
Working with . . . . . . . . . . . .
Workshop . . . . . . . . . . . . . .
External data types
Adding . . . . . . . . . . . . . . . .
Editor . . . . . . . . . . . . . . . . .
Reference . . . . . . . . . . . . . .
Externally managed LOVs . . . .
PLM00071 J
.
.
.
.
.
.
.
.
.
.
. . . . . A-33
. . . . . A-22
. . . . . A-36
5-291, A-40
. . . . . A-37
. . . . . A-44
. . . . 10-32
. . . . . A-37
. . . . 5-140
. . . . . 8-40
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 1-2
. 1-2
. 1-2
. 1-2
6-68
9-137
. . . . . . 8-51
. . . . . . 11-1
. . . . . . 6-34
. . . . . . 9-13
. . . . . . A-14
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. . . . 3-12
. . . . 3-11
3-103-11
. . . . A-44
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. . . . 6-90
. . . . 8-58
. . . . 8-56
8-18, 8-76
8-75, 8-82
. . . . A-11
. . . . 8-55
. . . . 2-54
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
9-14
A-13
1-20
6-94
6-100
5-110
5-285
5-141
. 6-83
. A-39
. . 8-7
. A-22
. . 8-8
5-156
F
Factors
Adding . . . . . . . . . . . . . . . . . . . . . . 10-8
Cloning . . . . . . . . . . . . . . . . . . . . . 10-15
Deleting . . . . . . . . . . . . . . . . . . . . 10-17
Dependency . . . . . . . . . . . . . . . . . . 10-17
Details view . . . . . . . . . . . . . . . . . 10-30
Importing . . . . . . . . . . . . . . . . . . . 10-15
Modify Source Element/
Properties . . . . . . . . . . . . . . . . . 10-18
Modify Target Element/
Properties . . . . . . . . . . . . . . . . . 10-19
Search view . . . . . . . . . . . . . . . . . . 10-31
Searching . . . . . . . . . . . . . . . . . . . 10-16
View . . . . . . . . . . . . . . . . . . . . . . . 10-29
Failure, install . . . . . . . . . . . . . . . . . . 11-8
Favorites . . . . . . . . . . . . . . . . . . . . . . 1-12
Filter . . . . . . . . . . . . . . . . . . . . . . . . . 1-13
Filter LOVs . . . . . . . . . . . . . . . . . . . 5-195
Filtering rules
Creating . . . . . . . . . . . . . . . . . . . . 10-11
In general . . . . . . . . . . . . . . . . . . . . 10-5
Finding objects . . . . . . . . . . . . . . . . . 5-276
FMS . . . . . . . . . . . . . . . . . . . . . . . . . 4-57
Fnd0ADALicenseCategories list of
values . . . . . . . . . . . . . . . . . . . . . . . . . 9-5
Fnd0AllowCheckOutOnCreate business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-75
Fnd0AllowedTaskLocation business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-76
Fnd0AllowMultipleRevof CustomNote global
constant . . . . . . . . . . . . . . . . . . . . . 5-263
Fnd0AllowMultipleRevof ParamReq global
constant . . . . . . . . . . . . . . . . . . . . . 5-263
Fnd0AllowReviseOperation business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-75
Fnd0AllowSuggestiveLocationCode global
constant . . . . . . . . . . . . . . . . . . . . . 5-263
Fnd0ArchiveLocation business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-76
Fnd0AssociatedBOMLine business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-76
Fnd0AttachCustomNoteToMultiItems
business object constant . . . . . . . . . . . 5-77
Fnd0AttrIcesToExclude
Property constant . . . . . . . . . . . . . 5-141
Fnd0AuditRecordAccessLevel business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-77
Fnd0AutoGenNextIdPerItemType global
constant . . . . . . . . . . . . . . . . . . . . . 5-264
Fnd0BOMMarkupAllowed global
constant . . . . . . . . . . . . . . . . . . . . . 5-266
Index-9
Index
Fnd0BOMMarkupSupportedProperties global
constant . . . . . . . . . . . . . . . . . . . . . 5-266
Fnd0CheckoutOptions business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-77
Fnd0DefaultViewPrecision business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-79
Fnd0DisplayLocationCodeLOV global
constant . . . . . . . . . . . . . . . . . . . . . 5-267
Fnd0EnableAssignProjects business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-77
Fnd0EnableIceCarryOver business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-78
Fnd0EnableSubmitToWorkflow business
object constant . . . . . . . . . . . . . . . . . 5-78
Fnd0FilterEntriesForSignal global
constant . . . . . . . . . . . . . . . . . . . . . 5-267
Fnd0GenerateDSNameWithoutExt business
object constant . . . . . . . . . . . . . . . . . 5-78
Fnd0Icon business object constant . . . . 5-79
Fnd0IncludeMarkupsWithSignedFile
business object constant . . . . . . . . . . . 5-79
Fnd0InheritFrom property constant . . 5-142
Fnd0IsCheckoutable business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-79
Fnd0LocalizableExclusion global
constant . . . . . . . . . . . . . . . . . . . . . 5-267
Fnd0LOVDisplayAsEnabled global
constant . . . . . . . . . . . . . . . . . . . . . 5-268
Fnd0MaintainUniqueLocationCode global
constant . . . . . . . . . . . . . . . . . . . . . 5-268
Fnd0MarkupControlObject business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-80
Fnd0MarkupControlObjRels business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-80
Fnd0MasterAttrExMappings business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-80
Fnd0MaxValOfHoursRecordedInDay global
constant . . . . . . . . . . . . . . . . . . . . . 5-268
Fnd0MFKVariantGenUnqNamespace global
constant . . . . . . . . . . . . . . . . . . . . . 5-268
Fnd0MigratedPostActions global
constant . . . . . . . . . . . . . . . . . . . . . 5-269
Fnd0MultiFieldKeyExclusions global
constant . . . . . . . . . . . . . . . . . 5-269, 6-67
Fnd0ObjectIDToAudit business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-80
Fnd0ObjectNameToAudit business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-81
Fnd0ObjectRevIDToAudit business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-81
Fnd0ParamReqDelimiter global
constant . . . . . . . . . . . . . . . . . . . . . 5-269
Fnd0PreventTraceLinkDelete business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-81
Index-10
Fnd0PropagateToSecondaryDataset global
constant . . . . . . . . . . . . . . . . . . . . . 5-269
Fnd0PropertyValueDisplayLocales global
constant . . . . . . . . . . . . . . . . . . . . . 5-270
Fnd0PSEEnableQtyConversionUOM global
constant . . . . . . . . . . . . . . . . . . . . . 5-270
Fnd0PSEQtyConversionDSName global
constant . . . . . . . . . . . . . . . . . . . . . 5-270
Fnd0ReferenceTypeDocx business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-82
Fnd0ReferenceTypeObject business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-82
Fnd0ReferenceTypeXML business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-82
Fnd0RelationsToSync global
constant . . . . . . . . . . . . . . . . . . . . . 5-270
Fnd0RetentionPeriod business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-83
Fnd0RuntimeTraceProperty business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-83
Fnd0SecuredMultiFieldKey global
constant . . . . . . . . . . . . . . . . . 5-270, 6-67
Fnd0SecurityPropagationEnabled
Property constant . . . . . . . . . . . . . 5-142
Fnd0SelectedLocales global
constant . . . . . . . . . . . . . . . . . . . . . 5-270
Fnd0ShowRelationUIWhenNoAddlAttr
business object constant . . . . . . . . . . . 5-83
Fnd0TrimZeroes property constant . . . 5-143
Fnd0UseInstanceAttrExMappings business
object constant . . . . . . . . . . . . . . . . . 5-83
Fnd0VisPVGeoAsset global
constant . . . . . . . . . . . . . . . . . . . . . 5-271
Fnd0VisPVImageCapture global
constant . . . . . . . . . . . . . . . . . . . . . 5-271
Fnd0WhereUsed business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-83
FND10001: MULTIPLE_
INTERDEPENDENT_LOV_
ATTACHMENT_ERROR . . . . . . . . . 11-10
FND10002: INVALID_CONDITION_FOR_
DEEP_COPY_RULE_ERROR . . . . . . 11-11
FND10003: THE_ELEMENT_HAS_BEEN_
REMOVED_FROM_ITS_DEPENDENT_
TEMPLATE . . . . . . . . . . . . . . . . . . 11-11
FND10004_CANNOT_SET_LOCALIZABLE_
CONSTANT_ATTACHMENT_
ERROR . . . . . . . . . . . . . . . . . . . . . 11-12
Folders, smart . . . . . . . . . . . . . . . . . . 5-274
Follow on Export column . . . . . . . . . . 5-110
Form business objects
Creating . . . . . . . . . . . . . . . . . . . . . 5-17
Hiding properties . . . . . . . . . . . . . . 5-115
Reference . . . . . . . . . . . . . . . . . . . . 5-17
PLM00071 J
Index
PLM00071 J
Editor . . . . . . . . . . . . . . . . . . . . . . . A-25
Fnd0AllowMultipleRevof
CustomNote . . . . . . . . . . . . . . . 5-263
Fnd0AllowMultipleRevof
ParamReq . . . . . . . . . . . . . . . . 5-263
Fnd0AllowSuggestiveLocationCode . . 5-263
Fnd0AutoGenNextIdPerItemType . . 5-264
Fnd0BOMMarkupAllowed . . . . . . . 5-266
Fnd0BOMMarkup
SupportedProperties . . . . . . . . . 5-266
Fnd0DisplayLocationCodeLOV . . . . 5-267
Fnd0FilterEntriesForSignal . . . . . . 5-267
Fnd0LocalizableExclusion . . . . . . . 5-267
Fnd0LOVDisplayAsEnabled . . . . . . 5-268
Fnd0MaintainUniqueLocationCode . . 5-268
Fnd0MaxValOfHoursRecordedInDay . . 5-268
Fnd0MFKVariantGenUnqNamespace . . 5-268
Fnd0MigratedPostActions . . . . . . . . 5-269
Fnd0MultiFieldKeyExclusions . . . . 5-269
Fnd0ParamReqDelimiter . . . . . . . . 5-269
Fnd0PropagateToSecondaryDataset . . 5-269
Fnd0PropertyValueDisplayLocales . . 5-270
Fnd0PSEEnableQty
ConversionUOM . . . . . . . . . . . . 5-270
Fnd0PSEQtyConversionDSName . . 5-270
Fnd0RelationsToSync . . . . . . . . . . . 5-270
Fnd0SecuredMultiFieldKey . . . . . . 5-270
Fnd0SelectedLocales . . . . . . . . . . . 5-270
Fnd0VisPVGeoAsset . . . . . . . . . . . 5-271
Fnd0VisPVImageCapture . . . . . . . . 5-271
JTContentFormIDProp . . . . . . . . . . 5-272
JTContentFormProps . . . . . . . . . . . 5-272
JTContentFormType . . . . . . . . . . . 5-272
KnowledgeBaseRefreshInterval . . . . 5-272
LOVLookupSupport . . . . . . . . . . . . 5-272
Mdl0AutoAssignIDConstant . . . . . . 5-273
Mfg0RequiredLibraries . . . . . . . . . 5-274
OperationInput . . . . . . . . . . . . . . . 5-274
ProjectSmartFolders . . . . . . . . . . . 5-274
ProjectTopLevelSmartFolders . . . . . 5-274
PublishedObjConfiguredProperties . . 5-274
PublishedPropertiesMap . . . . . . . . 5-275
Reference . . . . . . . . . . . . . . . . . . . 5-257
ReuseAuthorizedDeviation . . . . . . . 5-275
SiteMasterLanguage . . . . . . . . . . . 5-275
StructureCloneTransferModes . . . . 5-275
UsageAttributeName . . . . . . . . . . . 5-276
Working with . . . . . . . . . . . . . . . . . 5-253
GRM rules
Editor . . . . . . . . . . . . . . . . . . . . . . . A-19
Evaluation order . . . . . . . . . . . . . . . 6-34
Inheritance . . . . . . . . . . . . . . . . . . . 6-34
Workshop . . . . . . . . . . . . . . . . . . . . 2-39
Index-11
Index
H
Handlers, workflow . . . . . . . . . .
Help
Access over the Web . . . . . . . .
Accessing . . . . . . . . . . . . . . .
Add topics to . . . . . . . . . . . . .
Create new book . . . . . . . . . .
Linux . . . . . . . . . . . . . . . . . .
Hiding business object properties
Hierarchical LOVs . . . . . . . . . .
Hierarchy
Business object . . . . . . . . . . .
Class . . . . . . . . . . . . . . . . . .
. . . . 9-131
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
2-92
2-89
2-90
2-91
2-89
5-115
5-196
. . . . . A-10
. . . . . A-11
I
IBM Eclipse . . . . . . . . . . . . . . . . . . . . . 1-1
Icons . . . . . . . . . . . . . . . . . . . . . . . . . 5-41
ID contexts
Adding . . . . . . . . . . . . . . . . . . . . . 5-212
Editor . . . . . . . . . . . . . . . . . . . . . . . A-34
Identifier business objects . . . . . . . . . . 5-31
Identifiers
Alias . . . . . . . . . . . . . . . . . . . . . . . . 5-33
Alternate . . . . . . . . . . . . . . . . . . . . 5-33
Naming rules . . . . . . . . . . . . . . . . . . 6-18
IDs . . . . . . . . . . . . . . . . . . . . . . . . . . 6-55
IDs for items . . . . . . . . . . . . . . . . . . . . 6-55
ImanRelation business objects,
creating . . . . . . . . . . . . . . . . . . . . . . 5-30
Implementation code
Business object operations . . . . . . . . 8-27
Sample . . . . . . . . . . . . . . . . . . . . . . 8-29
Service operations . . . . . . . . . . . . . . 8-48
Importing
Backed up projects . . . . . . . . . . . . . 5-281
Factors . . . . . . . . . . . . . . . . . . . . . 10-15
Live updates . . . . . . . . . . . . . . . . . 5-284
Localization files . . . . . . . . . . . . . . . 7-17
Packages . . . . . . . . . . . . . . . . . . . . 5-279
Projects . . . . . . . . . . . . . . . . . . . . . 5-280
Sample Mapping Designer
projects . . . . . . . . . . . . . . . . . . 10-24
Template files . . . . . . . . . . . . . . . . 5-283
Incompatible argument error . . . . . . . . 11-4
Incorporate Latest Live Update Changes
wizard . . . . . . . . . . . . . . . . . . . . . . . 4-40
Inheritance
Deep copy rules . . . . . . . . . . . . . . . . 6-40
Extension . . . . . . . . . . . . . . . . . . . . 8-82
GRM rules . . . . . . . . . . . . . . . . . . . 6-34
Naming rules . . . . . . . . . . . . . . . . . . 6-17
Inherited column . . . . . . . . . . 5-109, 5-114
Index-12
PLM00071 J
Index
isCMHasProblemItemCreatable
condition . . . . . . . . . . . . . . . . . . . . . . 9-47
isCMHasProblemItemCreatableForPrimary
condition . . . . . . . . . . . . . . . . . . . . . . 9-47
isCMHasProblemItemCreatableForSecondary
condition . . . . . . . . . . . . . . . . . . . . . . 9-48
isCMHasProblemItemCreatableForTask
condition . . . . . . . . . . . . . . . . . . . . . . 9-48
isCMHasSolutionItemCreatable
condition . . . . . . . . . . . . . . . . . . . . . . 9-49
isCMHasSolutionItemCreatableForPrimary
condition . . . . . . . . . . . . . . . . . . . . . . 9-49
isCMHasSolutionItemCreatableForSecondary
condition . . . . . . . . . . . . . . . . . . . . . . 9-50
isCMHasSolutionItemCreatableForTask
condition . . . . . . . . . . . . . . . . . . . . . . 9-50
isCMHasWorkBreakdownCreatable
condition . . . . . . . . . . . . . . . . . . . . . . 9-50
isCMHasWorkBreakdownCreatableForPrimary
condition . . . . . . . . . . . . . . . . . . . . . . 9-51
isCMHasWorkBreakdownCreatableForSecondary
condition . . . . . . . . . . . . . . . . . . . . . . 9-51
isCMImplementsCreatable condition . . 9-52
isCMImplementsCreatableForPrimary
condition . . . . . . . . . . . . . . . . . . . . . . 9-52
isCMImplementsCreatableForSecondary
condition . . . . . . . . . . . . . . . . . . . . . . 9-53
isCMReferencesCreatable condition . . . 9-53
isCMReferencesCreatableForPrimary
condition . . . . . . . . . . . . . . . . . . . . . . 9-54
isCMReferencesCreatableForSecondary
condition . . . . . . . . . . . . . . . . . . . . . . 9-54
isCMReferencesCreatableForTask
condition . . . . . . . . . . . . . . . . . . . . . . 9-55
isEffectivityCreatableForChange
condition . . . . . . . . . . . . . . . . . . . . . . 9-60
isImpactedItemRevisableForChange
condition . . . . . . . . . . . . . . . . . . . . . . 9-60
isImpactedItemRevisableForTask
condition . . . . . . . . . . . . . . . . . . . . . . 9-61
IsMRONeutralType business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-84
isOneToOneAndMature condition . . . . . 6-46
isOtherSideLatestMature condition . . . 6-46
isOtherSideReplica condition . . . . . . . . 6-47
isProblemReportCreatable condition . . . 9-61
isRequestor condition . . . . . . . . . . . . . 9-61
isRequestorAssignable condition . . . . . 9-62
isRollUpCommittable condition . . . . . . 9-62
Item business object
Workshop . . . . . . . . . . . . . . . . . . . . . 2-6
Item business objects
Creating . . . . . . . . . . . . . . . . . . . . . 5-11
Data model . . . . . . . . . . . . . . . . . . . 5-15
PLM00071 J
Extending . . . . . . . . . . . . . . . . . . .
IDs . . . . . . . . . . . . . . . . . . . . . . . .
Reference . . . . . . . . . . . . . . . . . . .
Item element business objects . . . . . .
Item IDs . . . . . . . . . . . . . . . . . . . . . .
Item revision definition configurations
(IRDCs)
Create . . . . . . . . . . . . . . . . . . . . . .
Editor . . . . . . . . . . . . . . . . . . . . . .
ItemRevision business object
constant . . . . . . . . . . . . . . . . . . . . .
ITK . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
5-16
6-55
5-10
5-38
6-55
5-232
. A-28
. 5-84
. 6-42
J
Java
Development Kit (JDK) . . . . . . . .
Runtime Environment (JRE) . . . . .
Virtual machine . . . . . . . . . . . . . .
JAVA_HOME environment variable .
JDK_HOME environment variable . .
JRE_HOME environment variable . .
JRE64_HOME environment variable
JTContentFormIDProp global
constant . . . . . . . . . . . . . . . . . . . .
JTContentFormProps global
constant . . . . . . . . . . . . . . . . . . . .
JTContentFormType global
constant . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 1-2
. 1-2
11-6
. 1-2
. 1-2
. 1-2
. 1-2
. 5-272
. 5-272
. 5-272
K
Keys . . . . . . . . . . . . . . . . . . . . . . . . . 6-55
KnowledgeBaseRefreshInterval global
constant . . . . . . . . . . . . . . . . . . . . . 5-272
L
Launching
Business Modeler IDE . .
Mapping Designer . . . . .
Libraries
Adding . . . . . . . . . . . . .
Editor . . . . . . . . . . . . . .
Service . . . . . . . . . . . . .
Services . . . . . . . . . . . .
License categories . . . . . . .
Linux online help viewing .
Lists of values (LOVs)
Adding . . . . . . . . . . . . .
Attaching . . . . . . . . . . .
Balanced and unbalanced
Cascading . . . . . . . . . . .
Dynamic . . . . . . . . . . . .
. . . . . . . . . 3-23
. . . . . . . . . 10-3
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 8-6
A-23
8-34
8-51
. 9-5
2-89
5-150
5-192
5-212
5-196
5-166
Index-13
Index
Editor . . . . . . . . . . . . . . . . . . . . . . . A-33
Externally managed . . . . . . . . . . . . 5-156
Filter . . . . . . . . . . . . . . . . . . . . . . 5-195
Hierarchical . . . . . . . . . . . . . . . . . 5-196
In general . . . . . . . . . . . . . . . . . . . . . 5-3
Interdependent . . . . . . . . . . . . . . . 5-198
Projects . . . . . . . . . . . . . . . . . . . . . 5-206
Types . . . . . . . . . . . . . . . . . . . . . . 5-210
Usage types . . . . . . . . . . . . . . . . . . 5-211
Value types . . . . . . . . . . . . . . . . . . 5-211
Working with . . . . . . . . . . . . . . . . . 5-150
Workshop . . . . . . . . . . . . . . . . . . . . 2-25
Literal variables in naming rules . . . . . 6-15
Live updates . . . . . . . . . . . . . . . . . . . . 4-10
Deployment page . . . . . . . . . . . . . . . A-26
Elements . . . . . . . . . . . . . . . . . . . . . 4-46
Importing . . . . . . . . . . . . . . . . . . . 5-284
In general . . . . . . . . . . . . . . . . . . . . 4-26
Incorporate Latest Live Update Changes
wizard . . . . . . . . . . . . . . . . . . . . 4-40
Merge samples . . . . . . . . . . . . . . . . . 4-58
Performing . . . . . . . . . . . . . . . . . . . 4-35
Preference . . . . . . . . . . . . . . . . . . . . 4-32
Process . . . . . . . . . . . . . . . . . . 4-29, 4-44
Synchronize . . . . . . . . . . . . . . . . . . . 4-51
Locales selector dialog box . . . . . . . . . . . 4-4
Localization
Button . . . . . . . . . . . . . . . . . . . . . . 7-13
Errors . . . . . . . . . . . . . . . . . . . . . . . 7-18
Files, adding . . . . . . . . . . . . . . . . . . . 7-2
Importing files . . . . . . . . . . . . . . . . . 7-17
Performing in the Business Modeler
IDE . . . . . . . . . . . . . . . . . . . . . . . 7-1
Locked workspace . . . . . . . . . . . . . . . . 11-7
Log, error . . . . . . . . . . . . . . . . . . . . . . 11-1
Lookup table . . . . . . . . . . . . . . . . . . . 10-20
LOV Value Management box . . . . . . . 5-158
LOVLookupSupport global constant . . 5-272
LOVs
Interdependent . . . . . . . . . . . . . . . 11-10
Lower Bound column . . . . . . . . . . . . . 5-109
M
Main tab
Business Object editor . . . . .
Service editor . . . . . . . . . . .
Manufacturing Process Planner
Map data type . . . . . . . . . . . .
MapForce, installing . . . . . . . .
Mapping Designer
Installing . . . . . . . . . . . . . .
Lookup table . . . . . . . . . . . .
Perspective . . . . . . . . . . . . .
Index-14
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
A-19
A-24
9-70
8-38
10-2
. . 10-110-2
. . . . . 10-20
. . . . . 10-29
PLM00071 J
Index
Considerations . . . . . . . . . . . .
Constants . . . . . . . . . . . . . . .
Creating . . . . . . . . . . . . . . . .
Creating objects with the same
ID . . . . . . . . . . . . . . . . . .
Display name . . . . . . . . . . . .
Domains . . . . . . . . . . . . . . . .
Managing . . . . . . . . . . . . . . .
Utilities . . . . . . . . . . . . . . . .
MultiFieldKey business object
constant . . . . . . . . . . . . . . . . .
Multiple view types . . . . . . . . . .
....
....
....
item
....
....
....
....
....
. 6-73
. 6-67
. 6-57
.
.
.
.
.
6-61
6-69
6-60
6-67
6-67
. 5-87, 6-57
. . . . 5-217
N
Name collisions . . . . . . . . .
Named references . . . . . . .
Naming objects . . . . . . . . .
Naming rules
Adding . . . . . . . . . . . . .
Attaching . . . . . . . . . . .
Baseline suffix . . . . . . . .
Change Management . . .
Conditions . . . . . . . . . . .
Counters . . . . . . . . . . . .
Editor . . . . . . . . . . . . . .
Identifiers . . . . . . . . . . .
In general . . . . . . . . . . .
Inheritance . . . . . . . . . .
Literal variables . . . . . .
Override . . . . . . . . . . . .
Patterns . . . . . . . . . . . .
Revision . . . . . . . . . . . .
System variables . . . . . .
Workshop . . . . . . . . . . .
Navigator view . . . . . . . . .
New Model Element wizard
New Tool Type tab . . . . . .
No Backpointer column . . .
Note types
Adding . . . . . . . . . . . . .
Editor . . . . . . . . . . . . . .
Reference . . . . . . . . . . .
Nulls Allowed column . . . .
NX CAM Integration . . . . .
. . . . 5-96, 5-278
. . . . . . . . . 5-26
. . . . 5-96, 5-278
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. . . . . 6-2
. . . . . 6-8
. . . . . 6-7
. . . . 9-33
6-11, 6-18
. . . . 6-16
. . . . A-40
. . . . 6-18
. . . . . 6-2
. . . . 6-17
. . . . 6-15
. . . . 6-12
. . . . 6-12
. . . . . 6-5
6-13, 6-16
. . . . 2-31
. . . . A-45
. . . . . 5-1
. . . . A-36
. . . 5-110
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
5-213
. A-34
5-213
5-109
. 9-87
O
object_string property . . . .
Obsoleted utilities and APIs
Occurrence types
Adding . . . . . . . . . . . . .
Editor . . . . . . . . . . . . . .
Occurrences . . . . . . . . . . .
PLM00071 J
. . . . . . . . . 6-69
. . . . . . . . . A-6
. . . . . . . . 5-215
. . . . . . . . . A-35
. . . . . . . . 9-100
Index-15
Index
Perspectives
Advanced . . . . . . . . . . . . . . . . . . . . A-9
Business Modeler IDE . . . . . . . . A-7, A-9
Mapping Designer . . . . . . . . . . . . . 10-29
Standard . . . . . . . . . . . . . . . . . . . . . A-7
PhysicalPartTypeForCreate business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-89
Platform of the IDE . . . . . . . . . . . . . . . . 1-1
PLM XML/TC XML Export Import
Administration . . . . . . . . . . . . . . . . . 2-81
POM schema . . . . . . . . . . . . . . . . . . . 2-78
In rich client applications . . . . . . . . . 2-81
Introduction . . . . . . . . . . . . . . . . . . 2-78
Viewing . . . . . . . . . . . . . . . . . . . . . . 2-79
POM_Object preference . . . . . . . . . . . . 3-13
Post-action . . . . . . . . . . . . . . . . . 8-72, A-20
Pre-action . . . . . . . . . . . . . . . . . . 8-72, A-20
Pre-condition . . . . . . . . . . . . . . . 8-72, A-20
Preference file . . . . . . . . . . . . . 5-282, 5-284
Preferences
Business Modeler IDE . . . . . . . 3-12, A-1
<business-object>_default_relation . . 5-29
Live Update . . . . . . . . . . . . . . . . . . 4-52
Merge . . . . . . . . . . . . . . . . . . . . . . . 4-52
Migration . . . . . . . . . . . . . . . . . . . . 3-28
<relation-business-object>_relation_
primary . . . . . . . . . . . . . . . . . . . 5-29
Prerequisites . . . . . . . . . . . . . . . . . . . . 1-2
Primary business objects . . . . . . . . . . . 5-97
Primitive data types
Editor . . . . . . . . . . . . . . . . . . . . . . . A-22
Reference . . . . . . . . . . . . . . . . . . . . 8-10
Print configuration . . . . . . . . . . 5-240, A-31
Printing Specification tab . . . . . . . . . . A-31
Problems view . . . . . . . . . . . . . . . . . . A-46
Product and manufacturing information
(PMI) . . . . . . . . . . . . . . . . . . . . . . . . 9-87
Project Explorer view . . . . . . . . . . . . 10-32
Projects
Adding templates to . . . . . . . . . . . . . 4-67
Backing up . . . . . . . . . . . . . . 3-18, 5-281
Business Modeler IDE template . . . . . 4-1
Business Modeler IDE template
properties . . . . . . . . . . . . . . . . . . 4-59
Closing and opening . . . . . . . . . . . . . 4-58
Deleting . . . . . . . . . . . . . . . . . . . . . 4-59
Document management . . . . . . . . . 5-245
Importing . . . . . . . . . . . . . . 5-2805-281
LOVs . . . . . . . . . . . . . . . . . . . . . . 5-206
Mapping Designer . . . . . . . . . 10-6, 10-24
Mapping Designer properties . . . . . 10-28
Upgrading to a recent release . . . . . . 3-24
Workshop . . . . . . . . . . . . . . . . . . . . . 2-1
Index-16
ProjectSmartFolders global
constant . . . . . . . . . . . . . . . . . . . . . 5-274
ProjectTopLevelSmartFolders global
constant . . . . . . . . . . . . . . . . . . . . . 5-274
Properties
Actions . . . . . . . . . . . . . . . . . . . . . 5-116
Adding . . . . . . . . . . . . . . . . . . . . . 5-116
Business Modeler IDE template
projects . . . . . . . . . . . . . . . . . . . 4-59
Business objects . . . . . . . . . . . . . . . 5-111
Changing . . . . . . . . . . . . . . . . . . . 5-134
Characteristics . . . . . . . . . . . . . . . 5-134
Constants . . . . . . . . . . . . . . . . . . . 5-134
Hiding . . . . . . . . . . . . . . . . . . . . . 5-115
In general . . . . . . . . . . . . . . . . . . . . . 5-3
Inheritance of naming rules . . . . . . . 6-17
Make visible or required . . . . . . 5-51, 5-56
Mapping Designer projects . . . . . . . 10-28
Operation . . . . . . . . . . . . . . . . . . . . 8-15
Persistent . . . . . . . . . . . . . . . . . . . 5-118
Relation . . . . . . . . . . . . . . . . . . . . 5-132
Run-time . . . . . . . . . . . . . . . . . . . . 5-124
Tab . . . . . . . . . . . . . . . . . . . . . . . . . A-20
Table . . . . . . . . . . . . . . . . . . . . . . 5-112
Workshop . . . . . . . . . . . . . . . . 2-10, 2-17
Property constants
Ccd0TypeRefInitCols . . . . . . . . . . . 5-139
Ccd0TypeRefInitRows . . . . . . . . . . 5-139
Ccd0TypeRefInitValue . . . . . . . . . . 5-139
Changing . . . . . . . . . . . . . . . . . . . 5-138
Complex . . . . . . . . . . . . . . . . . . . . 5-139
CopyFromOriginal . . . . . . . . . . . . . 5-140
Creating . . . . . . . . . . . . . . . . . . . . 5-135
Editors . . . . . . . . . . . . . . . . . . . . . . A-26
Enabled . . . . . . . . . . . . . . . . . . . . 5-140
Exportable . . . . . . . . . . . . . . . . . . 5-141
Fnd0AttrIcesToExclude . . . . . . . . . 5-141
Fnd0InheritFrom . . . . . . . . . . . . . . 5-142
Fnd0SecurityPropagationEnabled . . 5-142
Fnd0TrimZeroes . . . . . . . . . . . . . . 5-143
InitialValue . . . . . . . . . . . . . . . . . . 5-144
Modifiable . . . . . . . . . . . . . . . . . . . 5-145
Required . . . . . . . . . . . . . . . . . . . . 5-146
Property Name column . . . . . . . . . . . 5-112
Property Renderers . . . . . . . . . . . 5-44, 5-48
Ptn0AttchDataCloneDefaultOption business
object constant . . . . . . . . . . . . . . . . . 5-89
Ptn0AttchDataRlzDefaultOption business
object constant . . . . . . . . . . . . . . . . . 5-89
Ptn0AttrGrpsCloneDefaultOption business
object constant . . . . . . . . . . . . . . . . . 5-89
Ptn0AttrGrpsRlzDefaultOption business
object constant . . . . . . . . . . . . . . . . . 5-90
PLM00071 J
Index
Ptn0COOnCreateCloneDefaultOption
business object constant . . . . . . . . . . . 5-90
Ptn0GenerateNewPartitionID business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-90
Ptn0IncludeChildRlzDefaultOption business
object constant . . . . . . . . . . . . . . . . . 5-90
Ptn0IsOwningMemberships business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-91
Ptn0IsStatic business object constant . . 5-91
Ptn0SchemeFunctionalAllowedTypes business
object constant . . . . . . . . . . . . . . . . . 5-92
Ptn0SchemePhysicalAllowedTypes business
object constant . . . . . . . . . . . . . . . . . 5-92
Ptn0SchemeSpacialAllowedTypes business
object constant . . . . . . . . . . . . . . . . . 5-92
Ptn0VariantExpCloneDefaultOption business
object constant . . . . . . . . . . . . . . . . . 5-92
Ptn0VariantExprsRlzDefaultOption business
object constant . . . . . . . . . . . . . . . . . 5-93
Public Read column . . . . . . . . . . . . . . 5-109
Public Write column . . . . . . . . . . . . . 5-109
PublishedObjConfiguredProperties global
constant . . . . . . . . . . . . . . . . . . . . . 5-274
PublishedPropertiesMap global
constant . . . . . . . . . . . . . . . . . . . . . 5-275
Purpose of the IDE . . . . . . . . . . . . . . . . 1-1
Push a template to the reference
directory . . . . . . . . . . . . . . . . . . . . . . 4-69
Q
Query Builder . . . . . . . . . . . . . . . . . . . 2-81
R
RBF_execute API . . . . . . . . .
Recovery . . . . . . . . . . . . . . .
ref_names property . . . . . . . .
ref_types property . . . . . . . . .
Refactor create operations . . .
Reference
Business Modeler IDE . . . .
Business object display rules
Classes . . . . . . . . . . . . . . .
Compound properties . . . . .
Dataset business objects . . .
Directory . . . . . . . . . . . . . .
Extension . . . . . . . . . . . . .
Extensions . . . . . . . . . . . .
External data types . . . . . .
Global constants . . . . . . . .
Note types . . . . . . . . . . . . .
Primitive . . . . . . . . . . . . . .
Template data type . . . . . .
PLM00071 J
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 6-97
. 11-8
10-20
10-20
. 3-26
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. A-3
. 6-26
. 2-78
5-147
. 5-21
. 4-69
. 8-75
. 8-82
. . 8-8
5-257
5-213
. 8-10
. 8-11
Index-17
Index
In general . . . . . . . .
Naming . . . . . . . . . .
Naming Rules . . . . .
Revision naming rule
Working with . . . . . .
Run-time properties . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. . . . . 5-3
. . . . . 6-2
. . . . A-40
6-5, A-40
. . . . . 6-1
. . . 5-124
S
Sample implementation code . . . . . . . . 8-29
Sample Mapping Designer projects
Importing . . . . . . . . . . . . . . . . . . . 10-24
In general . . . . . . . . . . . . . . . . . . . 10-24
Samples for live updates merge . . . . . . 4-58
Save As operation . . . . . . . . . . . . . . . . 6-42
SaveAsInput business object
constant . . . . . . . . . . . . . . . . . . . . . . 5-95
Saving data model . . . . . . . . . . . . . . . . 1-25
Schedule Manager . . . . . . . . . . . . . . . . 9-88
Schema
Data model . . . . . . . . . . . . . . . . . . . 5-99
File . . . . . . . . . . . . . . . . . . . . . . . . 5-285
Searching for
Conditions . . . . . . . . . . . . . . . . . . . . 6-78
Factors . . . . . . . . . . . . . . . . . . . . . 10-16
Objects . . . . . . . . . . . . . . . . . . . . . 5-276
Secondary business objects . . . . . . . . . 5-97
Server
Connection profiles . . . . . . . . . . . . . . 3-14
Deploying changes to . . . . . . . . 4-10, 4-12
Libraries . . . . . . . . . . . . . . . . . . . . . 8-52
Profiles preference . . . . . . . . . . . . . . 3-14
ServiceData class implementation . . . . 8-50
Services
Adding . . . . . . . . . . . . . . . . . . . . . . 8-35
Build libraries . . . . . . . . . . . . . 8-518-52
Data types . . . . . . . . . . . . . . . . . . . . 8-36
Data Types tab . . . . . . . . . . . . . . . . A-24
Editors . . . . . . . . . . . . . . . . . . . . . . A-23
Generating artifacts . . . . . . . . . . . . . 8-47
Libraries . . . . . . . . . . . . . 8-34, 8-52, A-23
Main tab . . . . . . . . . . . . . . . . . . . . . A-24
Operation implementations . . . . . . . 8-48
Operations . . . . . . . . . . . . . . . . . . . 8-41
Operations tab . . . . . . . . . . . . . . . . . A-24
Working with . . . . . . . . . . . . . . . . . . 8-33
Set active extension files . . . . . . . 3-103-11
Show
Attribute validation warning
preference . . . . . . . . . . . . . . . . . 3-14
ShowIdenticalItemIdAndName business
object constant . . . . . . . . . . . . . 5-95, 6-67
SiteMasterLanguage global
constant . . . . . . . . . . . . . . . . . . . . . 5-275
Index-18
PLM00071 J
Index
PLM00071 J
. . . 8-25
. . . A-3
. . . 11-7
Index-19
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
3-14
A-40
A-43
A-42
5-291
5-212
. 3-30
5-110
.
.
.
.
.
.
.
.
.
.
.
.
.
.
5-225
. A-37
5-270
5-224
. 4-24
. 3-24
5-109
. . 5-276
. . . 8-75
. . . . 1-4
. . . 10-3
. . . . 2-3
Index
execute_rbf_rules . . . . . .
get_key_definition . . . . .
get_key_string . . . . . . . .
getglobalconstantvalue . .
getpropertyconstantvalue
gettypeconstantvalue . . .
mfk_update . . . . . . . . . .
Obsoleted . . . . . . . . . . .
Overview . . . . . . . . . . . .
package_live_updates . . .
V
Validation Manager
Business objects . . . . .
Customizing . . . . . . .
Properties . . . . . . . . .
Verification rule
Create . . . . . . . . . . . .
Editor . . . . . . . . . . . .
View types . . . . . . . . . .
Editor . . . . . . . . . . . .
Preferences . . . . . . . .
Reference . . . . . . . . .
Views
Business Modeler IDE
Business Objects . . . .
Classes . . . . . . . . . . .
Console . . . . . . . . . . .
Eclipse . . . . . . . . . . .
Editor . . . . . . . . . . . .
Extensions . . . . . . . .
Factor Details . . . . . .
Index-20
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 6-94
. 6-68
. 6-68
5-256
5-138
. 5-63
. 6-67
. A-6
. A-3
. 4-54
Factors . . . . . . . . . . . . .
Factors Search . . . . . . . .
Navigator . . . . . . . . . . .
Outline . . . . . . . . . . . . .
Problems . . . . . . . . . . . .
Project Explorer . . . . . . .
Visible
Properties . . . . . . . . . . .
Property constant . . . . .
Visualization files, creating
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
10-29
10-31
. A-45
. A-46
. A-46
10-32
. . . . . 5-51, 5-56
. . . . . . . . 5-146
. . . . . . . . 5-227
W
. . . . . . . . . . 9-128
. . . . . . . . . . 9-127
. . . . . . . . . . 9-129
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. A-7, A-10
. . . . . A-10
. . . . . A-11
10-31, A-44
10-31, A-44
. . . . 10-32
. . . . . A-11
. . . . 10-30
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
5-252
. A-44
5-217
. A-37
5-217
5-216
Watermarks . . . . . . . . . . . . .
Web access of help . . . . . . . . .
Welcome window . . . . . . . . . .
Wiring Harness Design Tools
Integration . . . . . . . . . . . . .
Workflow
Dynamic participants . . . . .
EPM user exit . . . . . . . . . .
Handlers . . . . . . . . . . . . . .
Workshops . . . . . . . . . . . . . .
Workspace
Locked error . . . . . . . . . . .
Switching . . . . . . . . . . . . .
WorkspaceObject preference . .
. . . . . . 5-243
. . . . . . . 2-92
. . . 3-23, 3-25
. . . . . . 9-130
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
9-130
9-137
9-131
. . 2-1
. . . . . . . 11-7
. . . . 4-2, 10-7
. . . . . . . 3-13
X
XMLRenderingStylesheets datasets . . . 2-17
PLM00071 J