PLM XML Export Import Admin PDF
PLM XML Export Import Admin PDF
Publication Number
PLM00030 J
Proprietary and restricted rights notice
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-1
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Index-1
Basic tasks using PLM XML/TC XML Export Import Administration . . . . . . . 1-7
If your site has online help installed, you can access application and view help from
the rich client Help menu or by pressing F1.
For more information about rich client perspectives and views, see the Rich Client
Interface Guide.
• MRO
In-service product data
• Delta
A change to be applied to a PLM XML file
• Annotation
PMI, GD&T, and markup
• PDM
Product data management (PDM) schema (workflow, revision rule, form, folder)
• MPM
Manufacturing process management
This practice is consistent with W3C standards. For more information, refer
to the W3C standard for namespaces.
A product data management (PDM) system is used to store and retrieve data within
a certain context. The context helps define how the data is used, filtered, and
transformed. To accomplish this, the PDM system must have the capability to export
and import data. In Teamcenter, this is done using the PLM XML import export
framework with the various applications written to capitalize on this layer.
One important aspect of data translation is that each translation has a unique
purpose and scope. The purpose is associated to a business function and the
application-specific interaction with the PDM system. Each instance of a translation
is unique and different. A translation must be managed to support its mode of
transfer, the traversal of data desired, the filtering of the data to be done and actions
to apply to the translation. The PLM XML import export framework supports these
unique translations. However, in Teamcenter-to-Teamcenter transfers, do not use
PLM XML as a data synchronization mechanism to keep the structure modifications
at both sites synchronized. PLM XML export cannot capture all of the edits made on
a product structure at the source site. The exported PLM XML file only captures
a snapshot of the product structure, so the repeated process of exporting from the
source site and importing at the destination site causes unexpected results (the
structures at both sites will not be synchronized). In these situations, use classic
Multi-Site.
Another important aspect of data translation is managing the mapping between the
PDM data and the PLM XML standard entity schema for reading the data in and out.
In the PLM XML import export framework, data entities are mapped using a known
set of correspondence, where most data is automatically translated by the PLM XML
import export module. The PLM XML import export module supports application
extensibility for additional data translations. The mapping between PLM XML
entities and Teamcenter entities is shown in PLM XML/Teamcenter entity mapping.
PLM XML is the interoperability mechanism for many products (internal and
external). There are a variety of PLM XML representations available to represent
the same data. For example, product structure can be represented by normal PLM
XML export files from Teamcenter (ProductView and ProductDef, for example).
These files can be used to import the same product structure to another Teamcenter
instance. They can also be used by files exported using the bomwriter utility
(mainly used for Lifecycle Visualization; these files cannot be imported). Before
attempting to import a file to Teamcenter, determine the source of the file. If it is
exported by another Teamcenter site or an application that matches Teamcenter
exported files, it is a good candidate for import to Teamcenter.
Note In a multiuser environment, when multiple users initiate import on the
same data simultaneously (for example, multiple users updating the same
assembly), only one is successful. The other users get a locking message
(objects are locked by different user in different session).
Note PLM XML cannot be used to share organization objects that are shared
through global organization (Multi-Site).
For more information, see the Multi-Site Collaboration Guide.
• Thin client
Thin Client Interface Guide
If the transfer mode object does not exist, you can create it with the PLM XML/TC
XML Export Import Administration application, which is described in this guide. You
can also use Integration Toolkit (ITK) programming to create transfer mode objects.
For more information, see the Server Customization Programmer’s Guide and the
Integration Toolkit Function Reference.
Note The Integration Toolkit Function Reference is available only in the
Teamcenter HTML Help Collection. It is not available in the PDF collection.
Once you create these items, you can assemble them into a transfer mode object.
You can also create a transfer option set for use with Data Exchange.
Bold Bold text represents words and symbols you must type exactly as
shown.
In the preceding example, you type harvester_jt.pl exactly as
shown.
Italic Italic text represents values that you supply.
In the preceding example, you supply values for bookmark-file-name
and directory-name.
text-text A hyphen separates two words that describe a single value.
In the preceding example, bookmark-file-name is a single value.
[] Brackets represent optional elements.
... An ellipsis indicates that you can repeat the preceding element.
Adding localized values for option set display name, description, and group
name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
Multilanguage support
PLM XML import and export support multiple languages. You can select multiple
languages when exporting data using PLM XML, and you can import a PLM XML
file that contains more than one language.
Note The language codes in the PLM XML file follow the W3wC standard (for
example, en-us). It is a five-letter code containing a two-letter language
code, a hyphen, and a two-letter area/country code, all in lower case.
For more information, see RFC 4646 and XML Schema specification.
The language codes within Teamcenter follow the standard Java language
naming convention (for example, en_US and fr_FR). It is a five-letter code
containing a two-letter language, an underscore, and a two-letter area code
in uppercase. This follows the ISO639_ISO3166 template.
The language attribute specifies the site master language of the exporting site.
the languages attribute represents the list of languages (in order) selected by the
user during export. In this example, en-us is the exporting site’s master language,
and en-us, fr-fr, and de-de are the languages selected by the user for export. If
the PLM XML file does not have a language attribute (or it is unrecognizable), it
defaults to en-us.
If no locales are selected for export, the DB scalar value is exported to PLM XML
scalar fields, and no Text element is written to the PLM XML file.
When you select multiple languages for export, the database scalar for a given
property is exported to the PLM XML scalar field. The language code for this value is
specified in the primary attribute of the Text element. The Text element also contains
the translations in various languages as requested by the user. The Item element,
a subelement of the Text element, specifies each language and the corresponding
string value. For example, a dataset is created in French and has translations for
two other languages (English and German) for its name field. The database scalar
is French and called attribute master. If you select English and German as the
two languages for export, the dataset element in the .xml file would look as follows:
<DataSet id="id7" name="Porte" nameRef="#id12" accessRefs="#id4" version="1"
memberRefs="#id9" type="DirectModel">
</DataSet>
<Text id="id12" primary="fr-fr">
<Item language="en-us">Door</Item>
<Item language="de-de">Tür</Item>
</Text>
In the .xml example, the name property is exported in two languages, English
(en-us) and German (de-de). Because French is the database scalar (attribute
master), it is exported by default to a PLM XML scalar field. The primary attribute
on the Text element is marked fr-fr, designating that the PLM XML scalar field
contains the French value. The other requested languages, English and German,
are also exported in the Text element.
Siemens PLM Software recommends that the name of the scope rule (for example,
TransferMode, ClosureRule, TransferOptionSet) not be marked as localizable.
This may cause issues as some custom application integration or scripts may refer to
the scope rules by name. PLM XML/TC XML Export Import Administration shows a
Localization button if the description of the scope rules are marked as localizable.
This works the same way as the Localization button in the Properties dialog box.
For more information on localized property values, see the Localization Guide.
Adding localized values for option set display name, description, and
group name
You can provide localized values for your option set display names, descriptions,
and group names by providing the attribute key and its localized value in the
webstrings.xml properties file for the locale. These properties files are in the
Teamcenter Web application file (tc.war file by default) at the following location:
teamcenter\dhtml\common\intl\locale\webstrings.xml
The attribute key must be in the following format:
Transfer-option-set-name_Site-name_Option-name_displayName
Transfer-option-set-name_Site-name_Option-name_description
Transfer-option-set-name_Site-name_Option-name_groupName
For example, to provide localized values for option set attributes in German, explode
the tc.war file and locate the following file:
teamcenter\dhtml\common\intl\de\webstrings.xml
To provide localized values for the op_jt_ds option of the TIEOptionSetDefault
option set defined at the tc820ms1 site, add the following elements to the file:
<web_string>
<name>TIEOptionSetDefault_tc820ms1_opt_jt_ds_groupName</name>
<string>German-group-name-string</string>
</web_string>
<web_string>
<name>TIEOptionSetDefault_tc820ms1_opt_jt_ds_displayName</name>
<string>German-display-name-string</string>
</web_string>
<web_string>
<name>TIEOptionSetDefault_tc820ms1_opt_jt_ds_description</name>
<string>German-description-string</string>
</web_string>
Archive or regenerate the tc.war file and deploy the modified file.
Transfer mode objects are made up of the following items that configure the import
or export operation.
• Closure rules
Define the scope of the data translation.
• Filter rules
Use conditions to apply a finer level of control over which data gets translated
along with the primary objects.
• Action rules
Sets of methods that can be called before, during, and after the translation.
• Property sets
Provide a mechanism for PLM XML objects to have arbitrary properties in the
form of UserData elements.
A rule is applicable only if the target object fits the primary selector, the secondary
object fits the secondary selector, the relationship between the two objects fits the
relationship selector, and the conditional clause evaluates to TRUE. The action
of the applicable closure rule clause determines how the translator handles the
secondary object.
If no rule applies, the object is skipped. If the action is TRAVERSE, the object
becomes another target of the translation. If the action is PROCESS, the secondary
object is written (into either PLM XML or the Teamcenter database), but no closure
rule clauses are applied to the secondary object’s related objects. If the action is
SKIP, nothing is done with the object.
Use PLM XML/TC XML Export Import Administration to create, edit, and delete
closure rules.
Note You must understand the Teamcenter class and attributes structure (the
POM schema) when you create closure rules. Administrators can view the
POM schema in the Business Modeler IDE Classes view or by right-clicking
a class in the Classes view and choosing Open in UML Editor.
For more information, see the Business Modeler IDE Guide.
The qualifier for the primary object selector or secondary object selector can be
CLASS or TYPE:
• If TYPE.type_name is used, the type of the object must exactly match the type
name specified in the clause. For example, TYPE.DirectModel fits only for
DirectModel-type datasets.
• If CLASS.class_name is used, the class of the object must be the same as the class
name specified in the clause or a descendent in the class hierarchy. For example,
CLASS.Dataset fits for any instance of Dataset or any instance of its subclasses.
ATTRIBUTE
Specifies the name of the Teamcenter attribute of the
primary object that refers to the secondary object.
RELATIONS2P
Specifies the relation type that binds the primary
and secondary object and indicates that the traversal
begins at the secondary object.
RELATIONP2S
Specifies the relation type that binds the primary
and secondary object and indicates that the traversal
begins at the primary object.
REFBY
Specifies the name of the attribute of the secondary
object that relates the secondary object to the primary
object.
OCCTYPE
Specifies the type of occurrence in a BOM window that
relates the primary object to the secondary object.
FUNCTION
Specifies that the named function be executed.
Note The FUNCTION relation selector applies only
to TC XML Data Exchange use cases. It has no
effect when used in closure rules for PLM XML
export and import.
• “abc”
The value abc is passed to FUNCTION, like a
literal in a programming language.
• PRIMARY.property_name
The value of property_name on primaryObject
is passed to FUNCTION. SECONDARY and
RELATION are not allowed as they are not yet
available while processing FUNCTION.
• latestRevisionOnly
(Latest Revision Only in Multi-Site Collaboration)
• latestWorkingRevisionOnly
(Latest Working Revision Only in Multi-Site
Collaboration)
• latestWorkingAnyOnly
(Latest Working/Any Release Status in Multi-Site
Collaboration)
• latestReleasedRevisionOnly
(Latest Any Release Status in Multi-Site
Collaboration)
• selectedRevisionsOnly
(Selected Revision(s) Only in Multi-Site
Collaboration)
• specificStatusOnly_status-name
(Specific Release Status Only in Multi-Site
Collaboration)
SKIP_GRM
(For TC XML export only) Specifies that the
relation should not be exported. For example,
if the following closure rule clause is used, the
relation IMAN_UG_wave_position between
WorkspaceObject and WorkSpaceObject will not
be exported.
CLASS.WorkspaceObject:CLASS.WorkspaceObject.
RELATIONP2S.IMAN_UG_wave_position:SKIP_GRM
• SKIP_GRM
The primary object is exported as a full object,
and the GRM and secondary objects are ignored
(neither processed nor traversed).
PROCESS
Processes the secondary object but does not traverse
further, unless combined with the TRAVERSE action.
TRAVERSE
Specifies that the object becomes another target of the
translation.
REFERENCE
CHANGE_CLOSURE_RULE
Alters the closure rules in force when an entity being
processed contains its own closure rule element.
DO
Processes the secondary object and specifies that the
object becomes another target of the translation.
Note The PROCESS and REFERENCE actions are
mutually exclusive.
Conditional Clause Evaluates to TRUE or FALSE and is expressed in the
following form:
Condition := Expression1 == Expression2
Condition := Expression1 != Expression2
Condition := (Condition) && (Condition)
Condition := (Condition) || (Condition)
Condition := (!Condition)
• $(option_name)
option_name is a symbol set on the Traversal engine.
This allows the rule to be in effect if a program state
is set, which then allows the closure rule to take
advantage of internal program states for particularly
complex traversal operations.
• $opt_jt_ds == “true”
Evaluates the current closure rule clause only when the
Traversal engine has the opt_jt_ds option set to true.
• TYPE.CfgAttachmentLine :
TYPE.CfgAttachmentLine:PROPERTY.
me_cl_child_lines:
TRAVERSE_AND_PROCESS:SECONDARY.al_source_class
=="Dataset
• SECONDARY.object_type != “MyType”
• SECONDARY.object_id = “233*”
• PRIMARY.object_name = “TEST%”
2. Type a name for the rule in the Traversal Rule Name box.
Note Do not begin your closure rule name with FT_ or __. These prefixes
are reserved for internal use only.
5. In the Output Schema Format menu, choose either PLMXML for a standard PLM
XML import or export or TC XML if you are using Data Exchange to move data
between Teamcenter and Teamcenter Enterprise sites.
6. Create the ordered clauses that specify how the data structure is traversed.
a. Click the Add clause button to the right of the clause table.
The system displays a blank row in the table.
b. Select one of the following keywords from the Primary Object Class Type list:
CLASS
d. Select one of the following options from the Secondary Object Class Type
list:
CLASS
f. Select one of the Relation Type options listed in the Syntax for closure
rules table.
h. Select one or more of the following options from the Action Type list:
SKIP
Specifies that the relationship should not be followed. This directive is
useful to eliminate special cases before a more general rule is reached.
For example, you could use the clauses in the following example to get all
occurrence notes from a BOM line except manufacturing notes:
TYPE.BOMLine:TYPE.MfgNote.
PROPERTY.bl_all_notes:SKIP
TYPE.BOMLine:TYPE.*:PROPERTY.
bl_all_notes:PROCESS
PROCESS
Processes the secondary object but does not traverse further, unless
combined with the TRAVERSE action.
TRAVERSE
Specifies that the object becomes another target of the translation.
REFERENCE
Writes a PLM XML pointer entity.
CHANGE_CLOSURE_RULE
Alters the closure rules in force when an entity being processed contains
its own closure rule element.
Note The PROCESS and REFERENCE actions are mutually exclusive.
j. Repeat the previous steps to add additional clauses to the closure rule.
3. Click the Yes button to delete the rule or click the No button to cancel.
• Primary Object
Dataset
• Secondary Object
*
• Relation Type
PROPERTY
• Action Type
PROCESS
the operation applied against a given object. Filter rules conform to the syntax
described in Syntax for closure rules.
Closure rules only allow you to control what is going to happen when moving from
one object to the next. But if you base your decision on more complex criteria, you
need a filter rule. For example, you need a filter rule if you want the PLM XML
import export to follow these steps: if the item revision has a UGMASTER dataset,
translate it and skip all other datasets; if there is no UGMASTER dataset, export
the JT dataset. Closure rules cannot base their traversal on what child element is in
existence, but filter rules can.
Use PLM XML/TC XML Export Import Administration to create, edit, and delete
filter rules.
2. Type a name for the rule in the Filter Rule Name box.
5. From the Output Schema Format menu, choose either PLMXML for a standard
PLM XML import or export or TC XML if you are using Data Exchange to move
data between Teamcenter and Teamcenter Enterprise sites.
6. Create the ordered clauses that specify how the data structure will be traversed:
a. Click the Add clause button to the right of the clause table.
b. Select one of the following keywords from the Object Class Type list:
CLASS
3. Click the Yes button to delete the rule, or click the No button to cancel.
• During-action
When the PLM XML import export is iterating through the data in your
translation, the translation engine verifies if you have during-action rules after
all objects are translated but before applying any style sheets (.xslt) in the case of
an export. If so, the rules are executed and the .xslt transformations are applied.
• Post-action
Post-processing is done after the translation is complete, but the session still has
control over the translation. With post-action rules, you can verify the specific
errors or content translations of each object.
For more information about creating and registering your own custom action rules,
see the Server Customization Programmer’s Guide.
Use PLM XML/TC XML Export Import Administration to create, edit, and delete
action rules.
2. Type a name for the rule in the Action Rule Name box.
5. From the Output Schema Format menu, choose either PLMXML for a standard
PLM XML import or export or TC XML if you are using Data Exchange to move
data between Teamcenter and Teamcenter Enterprise sites.
6. In the Location of Action list, select when you want the action handler to
execute: Pre Action, During Action, or Post Action. When the handler executes
depends if you are importing or exporting.
Scope of action
=Teamcenter
Option (export) Scope of action = PLMXML (import)
Pre Action Before opening PLM Before XSLT file is imported
XML file
During Action After translation Before translation
Post Action After XSLT file is After PLM XML file is closed
exported
7. In the Action Handler list, select the action handler you want executed.
3. Click the Yes button to delete the rule or click the No button to cancel.
ATTRIBUTE
Specifies the name of the Teamcenter attribute of the
primary object that refers to the secondary object.
If a Teamcenter object has a property set clause associated with it for the given
transfer mode, a UserData element is created in the content of the equivalent
PLM XML object the Teamcenter object gets translated into. The property/attribute
appears as a PLM XML UserValue element in UserData with the value title set to
the property name and the value set to the property/attribute value. If the property
set looks like this:
CLASS.ItemRevision:PROPERTY.last_mod_date:DO
CLASS.ItemRevision:PROPERTY.object_string:DO
</ProductRevision>
This means that without writing any code, you have access to anything the
Teamcenter property service can provide you. If the PLM XML object has a
UserData element, theTeamcenter PLM XML import export framework tries to
find a property of that name.
2. Type a name for the property set in the Property Set Name box.
5. Create the ordered clauses that specify how the data structure will be traversed:
a. Click the Add clause button located to the right of the clause table.
b. Select one of the following keywords from the Primary Object Class Type list:
CLASS
f. Select one of the following from the Property Action Type list:
g. Repeat the previous steps to add additional clauses to the property set.
h. Optionally, change the precedence of the set clauses by selecting a row in the
table and using the Move Up or Move Down buttons to the right of
the clause table.
3. Click the Yes button to delete the set, or click the No button to cancel.
2. Type a unique name for the transfer mode object in the Name box. This name is
displayed in the context fields of the Teamcenter export and import dialog boxes
and should clearly identify the context to the user.
3. Optionally, type the context string that maps the transfer mode object to a
customized processor for the given object type in the Context box.
5. Select a Type of Transfer option to specify whether this transfer mode applies to
export or import.
6. From the Output Schema Format menu, choose either PLMXML for a standard
PLM XML import or export or TC XML if you are using Data Exchange to move
data between Teamcenter and Teamcenter Enterprise sites.
Teamcenter class
name SDK class name
TransferMode plmxml60::TransferMode
Teamcenter class
name SDK class name
ClosureRule plmxml60::ClosureRule
PropertySet plmxml60:: PropertySet
Filter plmxml60::FilterRule
PIEActionRule Exported as UserData under
plmxml60::TransferMode
Person plmxml60::Person
TCCalendar plmxml60::Calendar
User plmxml60::User
Group plmxml60::Organisation
Discipline plmxml60::Discipline
Role plmxml60::Role
POM_imc plmxml60::Site
RevisionRule plmxml60::RevisionRule
ListOfValues plmxml60::ListOfValues
ImanQuery plmxml60::SavedQueryDef
10. Optionally, select a property set from the Property Set list.
Note The details of a rule or property set can be viewed by selecting the node
corresponding to the rule or property set in the TransferMode tree
located in the lower-left portion of the window. The rule clauses are
displayed in the right portion of the window.
11. Optionally, select a revision rule from the Revision Rule list.
12. Optionally, select a tool from the List of defined tools and add it to the List
of selected tools.
3. Click the Yes button to delete the object, or click the No button to cancel.
3. Using My Teamcenter, export the item revision for assy1 using your new
transfer mode. The result is similar to this:
<?xml version="1.0" encoding="utf-8"?>
<PLMXML xmlns="http://www.plmxml.org/Schemas/PLMXMLSchema"
schemaVersion="6" date="2006-10-06" time="15:58:36" author="Teamcenter
- smithj@IMC-433969693(433969693)">
<Header id="id1" traverseRootRefs="#id2" transferContext="sampleExport">
</Header>
<ProductRevision id="id2" name="Assy1" accessRefs="#id3"
subType="ItemRevision" masterRef="#id6" revision="A">
<ApplicationRef version="B_CVid3PR2drRD" application="Teamcenter"
label="BmNVid3PR2drRD"></ApplicationRef></ProductRevision>
<Product id="id6" name="Assy1" accessRefs="#id3" subType="Item"
productId="000001">
<Description>a sample assembly</Description>
<ApplicationRef version="BmNVid3PR2drRD" application="Teamcenter"
label="BmNVid3PR2drRD"></ApplicationRef>
</Product>
<AccessIntent id="id3" intent="reference" ownerRefs="#id4"></AccessIntent>
<Site id="id4" name="IMC-433969693" siteId="433969693">
<UserData id="id5">
<UserValue value="" title="connect_string"></UserValue>
4. Add the following clause to the closure rule to export the item revision master
form:
• Primary Object Class Type
CLASS
• Primary Object
ItemRevision
• Secondary Object
Form
• Relation Type
RELATIONP2S
• Action Type
PROCESS
• Primary Object
ItemRevision
• Secondary Object
Dataset
• Relation Type
RELATIONP2S
• Action Type
PROCESS
label="BmNVid3PR2drRD"></ApplicationRef>
<AssociatedForm id="id9" role="IMAN_master_form" formRef="#id7">
</AssociatedForm>
<AssociatedDataSet id="id11" dataSetRef="#id10" role="IMAN_specification">
</AssociatedDataSet>
</ProductRevision>
<Product id="id6" name="Assy1" accessRefs="#id3" subType="Item"
productId="000001">
<Description>a sample assembly</Description>
<ApplicationRef version="BmNVid3PR2drRD" application="Teamcenter"
label="BmNVid3PR2drRD"></ApplicationRef>
</Product>
<AccessIntent id="id3" intent="reference" ownerRefs="#id4">
</AccessIntent>
<Site id="id4" name="IMC-433969693" siteId="433969693">
<UserData id="id5">
<UserValue value="" title="connect_string"></UserValue>
<UserValue value="1" title="dbms"></UserValue>
<UserValue value="" title="imc_node_name"></UserValue>
<UserValue value="0" title="imc_ods_site"></UserValue>
</UserData>
</Site>
<Form id="id7" name="000001/A" accessRefs="#id3"
subType="ItemRevision Master" subClass="ItemRevision Master">
<ApplicationRef version="B_GVid3PR2drRD" application="Teamcenter"
label="B_GVid3PR2drRD"></ApplicationRef>
<UserData id="id8" type="FormAttributes">
<UserValue value="" title="user_data_1"></UserValue>
<UserValue value="" title="user_data_2"></UserValue>
<UserValue value="" title="user_data_3"></UserValue>
<UserValue value="" title="previous_version_id"></UserValue>
<UserValue value="" title="serial_number"></UserValue>
<UserValue value="" title="project_id"></UserValue>
<UserValue value="" title="item_comment"></UserValue>
</UserData>
</Form>
<DataSet id="id10" name="sampleppt" accessRefs="#id3" version="1"
type="MSPowerPoint">
<ApplicationRef version="RSGVid3PR2drRD" application="Teamcenter"
label="RSGVid3PR2drRD"></ApplicationRef>
</DataSet>
</PLMXML>
8. Add more clauses to the closure rule to export the associated files:
Third clause
• Primary Object Class Type
TYPE
• Primary Object
MSPowerPoint
• Secondary Object
ImanFile
• Relation Type
PROPERTY
• Action Type
PROCESS+TRAVERSE
Fourth clause
• Primary Object Class Type
TYPE
• Primary Object
MSExcel
• Secondary Object
ImanFile
• Relation Type
PROPERTY
• Action Type
PROCESS+TRAVERSE
Fifth clause
• Primary Object Class Type
CLASS
• Primary Object
ImanFile
• Secondary Object
*
• Relation Type
ATTRIBUTE
• Action Type
PROCESS
In addition, change the Action Type for the second clause (the one exporting
the dataset) to PROCESS+TRAVERSE.
label="BfKVid3PR2drRD"></ApplicationRef>
</ExternalFile>
</PLMXML>
10. Add more clauses to the closure rule to export the structure from Structure
Manager:
Sixth clause
• Primary Object Class Type
TYPE
• Primary Object
BOMLine
• Secondary Object
BOMLine
• Relation Type
PROPERTY
• Action Type
PROCESS+TRAVERSE
Seventh clause
• Primary Object Class Type
TYPE
• Primary Object
BOMLine
• Secondary Object
ItemRevision
• Relation Type
PROPERTY
bl_revision
• Action Type
PROCESS+TRAVERSE
11. Export the assembly related to the same item revision from Structure Manager.
It looks similar to this:
<?xml version="1.0" encoding="utf-8"?>
<PLMXML xmlns="http://www.plmxml.org/Schemas/PLMXMLSchema"
schemaVersion="6" date="2006-10-06" time="15:58:36" author="Teamcenter
- smithj@IMC-433969693(433969693)">
<Header id="id1" traverseRootRefs="#id6" transferContext="sampleExport">
</Header>
<ProductRevision id="id11" name="comp1" accessRefs="#id12"
subType="ItemRevision" masterRef="#id15" revision="A">
<ApplicationRef version="RKDVid3PR2drRD" application="Teamcenter"
label="RGKVid3PR2drRD"></ApplicationRef>
<AssociatedForm id="id18" role="IMAN_master_form" formRef="#id16">
</AssociatedForm>
<AssociatedDataSet id="id20" dataSetRef="#id19" role="IMAN_specification">
</AssociatedDataSet></ProductRevision>
<ProductRevision id="id24" name="comp2" accessRefs="#id12"
subType="ItemRevision" masterRef="#id25" revision="A">
<ApplicationRef version="ROKVid3PR2drRD" application="Teamcenter"
label="ROBVid3PR2drRD"></ApplicationRef>
<AssociatedForm id="id28" role="IMAN_master_form" formRef="#id26">
</AssociatedForm></ProductRevision>
<ProductRevision id="id29" name="Assy1" accessRefs="#id12"
subType="ItemRevision" masterRef="#id30" revision="A">
<ApplicationRef version="B_CVid3PR2drRD" application="Teamcenter"
label="BmNVid3PR2drRD"></ApplicationRef>
<AssociatedForm id="id33" role="IMAN_master_form" formRef="#id31">
</AssociatedForm>
<AssociatedDataSet id="id35" dataSetRef="#id34" role="IMAN_specification">
</AssociatedDataSet></ProductRevision>
<Product id="id15" name="comp1" accessRefs="#id12" subType="Item"
productId="000002">
<ApplicationRef version="RGKVid3PR2drRD" application="Teamcenter"
label="RGKVid3PR2drRD"></ApplicationRef></Product>
<Product id="id25" name="comp2" accessRefs="#id12" subType="Item"
productId="000003">
<ApplicationRef version="ROBVid3PR2drRD" application="Teamcenter"
label="ROBVid3PR2drRD"></ApplicationRef></Product>
<Product id="id30" name="Assy1" accessRefs="#id12" subType="Item"
productId="000001">
<Description>a sample assembly</Description>
<ApplicationRef version="BmNVid3PR2drRD" application="Teamcenter"
label="BmNVid3PR2drRD"></ApplicationRef></Product>
<RevisionRule id="id2" name="Latest Working">
<Description>Latest Working else Latest Any Status</Description>
<ApplicationRef version="o3IVRSyxR2drRD" application="Teamcenter"
label="o3IVRSyxR2drRD"></ApplicationRef></RevisionRule>
<ProductView id="id4" ruleRefs="#id2" rootRefs="id6"
primaryOccurrenceRef="id6">
<ApplicationRef application="Teamcenter"
label="hWKVid3PR2drRD/o3IVRSyxR2drRD/AAAAAAAAAAAAAA/BOM">
</ApplicationRef>
<UserData id="id3" type="TC Specific Properties">
<UserValue value="imprecise" title="BOM_precision_type"></UserValue>
</UserData>
<Occurrence id="id6" instancedRef="#id29" occurrenceRefs="id9 id22">
<ApplicationRef application="Teamcenter" label="hWKVid3PR2drRD/">
</ApplicationRef>
<UserData id="id7" type="AttributesInContext">
The structure information is exported in the file. Also the related item revisions
and their attachments are exported.
Tip If you are not sure about the details of the data model and need to find the
right reference, look at the object properties in My Teamcenter or Structure
Manager to find the property for the related object.
Import or
Transfer mode export Description
assignment_list_export Export Exports process
assignment lists.
BOMwriterExport Export Exports bill of materials
lists.
Note Do not use this transfer mode
in the plmxml_import and
plmxml_export utilities or
in the client interface. This
transfer mode is used by
Teamcenter internally.
Import or
Transfer mode export Description
ConfiguredDataExportDefault Export Exports configured
BOM assemblies
including ImanItem
lines, forms, datasets,
folders, occurrences,
activities, and
appearance paths.
There is equal support
for BOP processes,
GDE, activities, variant
expressions, and
naming rules.
This is the same as
ConfiguredDataFiles
ExportDefault but
does not export explicit
file contents.
ConfiguredDataFilesExportDefault Export Exports configured
BOM assemblies
including ImanItem
lines, forms, datasets,
actual files, folders,
occurrences, activities,
and appearance paths.
There is equal support
for BOP processes,
GDE, activities, variant
expressions, and
naming rules.
ConfiguredDataImportDefault Import Imports configured
BOM assemblies
including structure,
forms, datasets,
folders, occurrences,
predecessors, activities,
folders, variant
conditions, and
transformations.
ConfiguredRequirementDataExport Export Exports trace links on
occurrences.
ctm0_ContMgmtExportAdmin Export Exports Content
Management objects.
ctm0_ContMgmtImportAdmin Import Imports Content
Management objects.
ExportGraphic Export Exports graphic files.
Import or
Transfer mode export Description
ExportProductView Export Exports BOM window
and BOM line-centric
assemblies, configured
attachments, data sets,
appearance nodes, and
ME data. There are
several clauses that can
be activated for tuning
exports and controlling
output.
ExportValidationResult Export Exports validation
objects.
incremental import and Import Imports ProductView,
incremental_import but skips the instance
graph. All class
and attribute data
imported.
The
incremental_import
transfer mode is used
with UNIX platforms.
ICSExportSubtreeWithWSOs Export Exports the entire
hierarchy with content.
MechatronicsFoundationDataExport Export Exports Collaborative
Context for
CAD-centric data
including BOM,
assembly, configured
attachments, bill of
process, operations,
TypeCannedMethod,
naming rules,
GDE links, variant
expressions, signals,
EPM tasks, and EPM
jobs.
MRMAssemblyExport Export Exports Resource
Manager assemblies.
PLMXMLAdminDataExport Export Exports transfer modes
and transfer option sets
Note Do not use this transfer mode in TC XML format.
in the plmxml_import and
plmxml_export utilities.
TIEEdaLibExport Export Exports the EDA
library.
Import or
Transfer mode export Description
TIEImportDefault Import Imports TC XML data.
This is the default
Note Do not use this transfer mode transfer mode for
in the plmxml_import and importing TC XML
plmxml_export utilities. data.
TIEUnconfiguredExportDefault Export Exports Data Exchange
data. This is the
Note Do not use this transfer mode default transfer mode
in the plmxml_import and for exporting Data
plmxml_export utilities. Exchange data.
TR_AUDIT_REPORT Export Exports EPM jobs,
signoffs, tasks, items,
item revisions, and file
contents.
TL_Import Import Imports trace links on
occurrences.
TransferGenericObject_TM Export Exports architecture,
including many
relationships from
secondary to primary
including EC effected,
EC solution, process
staging, variant
expressions. There are
several specific clause
rules for architecture
design and part usage.
transgde Export Exports attachments,
product structure,
appearance groups,
bill of process,
activities, and variant
expressions. It is design
element-centric and
supports CCObject
and structure context.
unconfiguredDataFileExport Export Exports unconfigured
items, item revisions,
datasets, and
ImanFile contents.
web_reports Export Exports Web reports.
Import or
Transfer mode export Description
workflow_template_import Import Imports workflow
templates and process
assignment lists. This
transfer mode contains
open-ended closure
rules (*) for any class,
any attribute, and all
contents.
workflow_template_mode Export Exports workflow task
templates, signoffs,
dependencies on tasks,
business rule handlers,
action handlers, and
actions.
workflow_template_overwrite Import Overwrites existing
workflow templates
for mass import. This
transfer mode contains
open-ended closure
rules (*) for any class,
any attribute, and all
contents.
write_to_technomatix Export Exports plant, process,
and product data
to Tecnomatix.
This transfer mode
is manufacturing
engineering-centric
and used to export
attachments, product
structure, appearance
path nodes, bill of
process, and operations
per work area.
• For transfer mode .xml files in TC XML format, use the tcxml_import
utility with the -scope_rules_mode=overwrite argument.
2. For all custom PLM XML transfer modes and any customized out-of-the-box
transfer modes, modify the closure rules as follows:
a. Remove any closure rule with TYPE.ImanItemLine or
CLASS.ImanItemLine as the primary or secondary object selector.
This removes unused closure rule clauses from previous versions of
Teamcenter. In Teamcenter 2007, the clauses had no meaning. In
Teamcenter 8.1, the clauses had meaning, but it was different than what is
used currently. Therefore, the clauses must be removed before they can
be redefined.
Some transfer modes cannot be used with the PLM XML option in the
user interface or the PLM XML utilities
Do not use the JTDataExportDefault and JTDataImportDefault transfer modes to
directly export or import JT files with the plmxml_export and plmxml_import
utilities or the PLM XML option in the user interface. Instead, use the PLM XML
format rather than the JT assembly format. This will export and import JT files,
along with the PLM XML file containing the item information and assembly
relationships.
Furthermore, do not use the following transfer modes with the plmxml_export
and plmxml_import utilities:
• BOMwriterExport
• PLMXMLAdminDataExport
• TIEImportDefault
• TIEPDXExportDefault
• TIEUnconfiguredExportDefault
To optimize the closure rules, change the types to take advantage of specific type
identifiers. The engine looks only at these types and not all types.
TYPE.BOMLine : TYPE.Dataset:PROPERTY.bl_attachments:TravAndProc
TYPE.BOMLine : TYPE.Form :PROPERTY.bl_attachments:TravAndProc
TYPE.BOMLine : TYPE.Folder :PROPERTY.bl_attachments:TravAndProc
For more information about this preference, see the Preferences and Environment
Variables Reference.
Siemens PLM Software recommends that you do not modify the COTS scope rules. If
necessary, you can create a copy of the COTS rules and modify the copy as needed.
For more information about changes to default scope rules, see the Data Exchange
Guide.
The PLMAppUID object does not actually have an application_uid property, but
it allows control of this type of translation.
Export substitutes
If you export a structure in which substitute components are defined, the substitutes
are also exported if you add the following closure rule to your transfer mode:
TYPE.BOMLine:TYPE.BOMLine:PROPERTY.bl_alternate:TRAVERSE+PROCESS
CLASS.Option:CLASS.*:CONTENT.*:DO:
To define a filter list, the closure rule clauses must specify PIESession as the
primary class and CfgAttachmentWindow as the secondary class. The first clause
of the closure rule must specify * as the property so Teamcenter clears any previous
filter list. Then add clauses with the attachment types you want to filter on. You
can filter on one or more types. For example, if you want to see BOM lines with only
renderings or specifications attached, write the following closure rule and add it
to a transfer mode:
CLASS:PIESession:CLASS:CfgAttachmentWindow:PROPERTY:*:PROCESS
CLASS:PIESession:CLASS:CfgAttachmentWindow:PROPERTY:tc_rendering:PROCESS
CLASS:PIESession:CLASS:CfgAttachmentWindow:PROPERTY: tc_specification:PROCESS
the attributes, notes, and variant conditions under the occurrence are stored as
an edit/create in the context of the top line. If this field is not found and the line
in question has a context set for this data, the data is altered in that context. If
there is no data, the data is altered globally. To support attachments in context, you
can place a UserData tag in the ProductView, PlantView, ProcessView tag’s
content. For example:
<ProductView id="id2" ruleRefs="#id1" rootRefs="id44" primaryOccurrenceRef="id4">
This causes the translator to interpret all new additions to be in the context of the
top line.
By default, bounding box data is not exported unless you add this clause to the
closure rule.
When exported with this clause, a Bound object appears as a PLM XML element,
typically under a Representation element. For example:
<Bound id="id17" type="compound”>
<Bound id="id18" values="1 2 3 4 5 6”></Bound>
<Bound id="id19" values="7 8 9 10 11 12"></Bound></Bound>
By default, PublishLink data is not exported unless you add this clause to the
closure rule.
After you add these closure rules, when a source structure is exported, the
PublishLink objects and the target structures are also exported.
Note You can also use PublishLink to publish visualization related data from the
source to the target occurrence. To export visualization related information,
you need to include rules that export that information. For example, when a
shape is published from an occurrence of a component, its JT file is added
to the target occurrence with the IMANRendering relation. If you want
this information in the PLM XML file, you must add the appropriate closure
rules for exporting this relation.
Previously, PLM XML export had some instances where the AssociatedDataSet
element was used to represent the relation. To match the Teamcenter data model,
these scenarios are changed to use the GeneralRelation element.
The following example shows that RevA of Item1 has been related to RevA of
Item2 using a FND_TraceLink GRM.
Item1 Item2
RevA® FND_TraceLink ®RevA
The highlighted items show that the GeneralRelation element relates id2 and id11,
which represents the revisions for Item1 and Item2, respectively.
To export only the items in a folder, use the following closure rule:
CLASS.Folder:CLASS.Item:PROPERTY.contents:TRAVERSE+PROCESS
The following is a simple BOM structure displayed in Structure Manager. Note that
some of the BOM lines also have datasets.
This example shows a simple closure rule with these two clauses.
Step 2: Create a traversal rule to export the BOM window top line
Once you have the session rules created, you begin creating the closure rules to
export the BOM lines.
• To traverse the top line by the top_line property of BOM window, create the
following closure rule:
TYPE.BOMWindow:TYPE.*:PROPERTY.top_line:TRAVERSE_AND_PROCESS:
With this closure rule, the export includes the BOM window and top line:
This ensures that the child lines are traversed only when the export is not in
crawl back mode. The bom_cb option is set to 1 internally by the PLM XML
framework whenever the traversal is backward.
With this closure rule, the export includes the BOM window and all BOM lines. Each
occurrence element has occurrenceRefs pointing to its child lines.
2. To limit the attachments to the Dataset, Form, and Folder types and exclude
the BOP window cases, add these clauses:
SECONDARY.al_source_class=="Dataset"
SECONDARY.al_source_class=="Form"
SECONDARY.al_source_class=="Folder"
PRIMARY.bl_window_is_BOPWin=="false"
With this closure rule, the export includes the attachments. The attachment
references for each occurrence point to AssociatedAttachment element. These
elements then point to actual attachment object using attachmentRef (form or
dataset).
(SECONDARY.al_context!= "IMAN_PublishingPageAssetContext"))
This closure rule includes two conditions for the following purposes:
• To prevent traversing child lines under a PseudoFolder, as it is a runtime object
that cannot be used for traversal.
The first clause traverses the ImanFile named references of a dataset. In some
cases, the named references can point to forms and other types, but they cannot be
traversed using the clause. You can use CLASS * to traverse to all named references
of a dataset; however, the export result depends on whether or not the underlying
named reference is supported in the PLM XML schema.
The second clause is a special clause that triggers the actual physical file export
from a volume to the export directory:
With these traversal rules, the related dataset is exported:
The condition clause at the end prevents this rule from applying to the BOP window.
The export includes the item revision related to the BOM line. The item is also
exported, as the item revision must be included with the item.
The export includes the relation between the item revision and the dataset:
((SECONDARY.al_source_class!="PseudoFolder")
&&(SECONDARY.al_context!="IMAN_PublishingPageAssetContext")),
TYPE.CfgAttachmentLine:CLASS.Dataset:PROPERTY.me_cl_source:
PROCESS+TRAVERSE:,
CLASS.Dataset:CLASS.ImanFile:ATTRIBUTE.ref_list:PROCESS+TRAVERSE:,
CLASS.ImanFile:CLASS.*:ATTRIBUTE.original_file_name:PROCESS:,
CLASS.ImanItemLine:TYPE.*:PROPERTY.bl_revision:PROCESS+TRAVERSE:,
CLASS.ItemRevision:CLASS.Item:PROPERTY.items_tag:PROCESS+TRAVERSE:,
CLASS.ItemRevision:CLASS.Dataset:PROPERTY.IMAN_specification:
PROCESS+TRAVERSE: "
description="This closure rule can export a simple BOM structure with
corresponding Item, Rev, Datasets, Forms, Files and BOMLine attachments."
elemId="id6"
owning_site="#id2"
schema_format="0"
scope="0">
<GSIdentity elemId="id5"
label="Q2H90lAIAABaaA"/>
</ClosureRule>
<Group elemId="id8"
list_of_role="#id7"
name="dba"
owning_site="#id2">
<GSIdentity elemId="id4"
label="AkH9DZ$9AABaaA"/>
</Group>
<POM_imc elemId="id9"
name="tc10ms1"
owning_site="#id2"
site_id="100001">
<GSIdentity elemId="id2"
label="w9F9DZeHAABaaA"/>
</POM_imc>
<TransferMode object_name="BOMExportWithFiles"
object_desc="This TransferMode can export a simple BOM structure
with corresponding Item, Rev, Datasets, Forms, Files and BOMLine attachments."
context_string="DEFAULT_PIE_CONTEXT_STRING"
direction="0"
closure_rules="#id5"
filters=""
action_list=""
prop_sets=""
config_objs=""
schema_format="0"
incremental="Y"
multi_site="N"
elemId="id10"
gov_classification=""
ip_classification=""
license_list=""
owning_site="#id2"
project_list="" >
<GSIdentity elemId="id1"
label="gDH90qy0AABaaA"/>
</TransferMode>
<User elemId="id11"
owning_site="#id2"
user_id="infodba">
<GSIdentity elemId="id3"
label="AsL9DZ$9AABaaA"/>
</User>
<Role elemId="id12"
owning_site="#id2"
role_name="DBA">
<GSIdentity elemId="id7"
label="AgD9DZ$9AABaaA"/>
</Role>
<Header author="infodba"
date="2012-02-27"
elemId="id13"
originatingSite="100001"
targetSite=""
time="22:03:34"
version="Teamcenter P10000.0.0.20120209.00">
<TransferFormula elemId="id14">
<SessionOptions elemId="id15">
<Option elemId="id16"
name="is_scope_rules_export"
value="yes"/>
</SessionOptions>
<TransferMode elemId="id17"
gov_classification=""
ip_classification=""
license_list=""
object_name="PLMXMLAdminDataExport"
owning_site="id2"
project_list=""/>
<Reason elemId="id18"></Reason>
</TransferFormula>
<TraverseRootRefs>#id1</TraverseRootRefs>
</Header>
</TCXML>
Item Description
Name Specifies the name of the transfer option set.
Description Describes the transfer option set.
Remote site Shows whether the transfer option set is for a remote site,
information thus an import. If so, its remote site ID is included. The
transfer mode is defined at the remote site.
Transfer mode Contains the set of rules that configure export operations if
a remote site is not selected.
• Closure rules
The scope of the data translation.
• Filter rules
Use conditions that apply a finer level of control over
which data gets translated along with the primary
objects.
• Action rules
Sets of methods that can be called before, during, and
after the translation.
• Property sets
A mechanism for PLM XML objects to have arbitrary
properties in the form of UserData elements.
Options Displays all unique options in the closure rule conditional
clauses for the selected transfer mode.
The Teamcenter administrator can set application extension points and rules along
with a business context to restrict the use and administration of transfer option sets
to certain roles or groups. The inputs for the application extension point are SiteID
(string), IsPush (logical), and IsExport (logical). The output is OptionSet_Name
(string). The Teamcenter administrator then defines application extension rules
to display which option sets are available for a given site ID for an import or
export. The business context determines which roles or groups are associated with
a particular rule.
For more information about application extension points, rules, and business
contexts, see the Business Modeler IDE Guide.
2. Type a unique name for the transfer option set in the Name box. This name
should clearly identify the context to the user. For remote site sets, append the
site name to the end of the name to maintain uniqueness.
4. If this transfer option set is for a remote site (in other words, an import), select
the Is the option set for a Remote Site? check box.
Note A remote transfer option set is normally imported from a remote site to
ensure that it matches the transfer option set at your site. Although you
can create a remote site transfer option set on your site and manually
synchronize it to the remote site, Siemens PLM Software recommends
that you use the import and export utilities (in Teamcenter, they are
tcxml_import and tcxml_export, respectively) to ensure your remote
transfer option set is the same at both sites. Once a transfer option set
is imported, you must not change the transfer option set name or site
reference. However, you can add or remove options as long as the transfer
option set at the remote site is updated to reflect the changes you make.
5. If you selected the Is the option set for a Remote Site? check box, select the
remote site from the Remote Site ID list. If the check box is cleared, select the
transfer mode you want to use for the export in the TransferMode list. The
transfer mode you select must have TC XML as its output schema format.
6. If you select a transfer mode, the Option list is filled with all unique options in
the closure rule conditional clauses associated with the transfer mode. The
columns in the list are:
• Option
Specifies the name of the option in the closure rule conditional clauses.
• Display Name
Specifies the display name given by the user.
• Default Value
• Description
Displays the brief description given by the Teamcenter administrator.
• Group Name
Displays the group name given by the Teamcenter administrator to help sort
the options in appropriate categories.
• Read Only
Shows if the user can change the option values. If it is cleared, the user is
allowed to change values. This is set by the Teamcenter administrator.
If the set is for a remote site, the Option list is blank, but you can add options
for the set. If you add options, export the set to the remote site when you are
finished.
Optionally, the Teamcenter administrator can delete an option by selecting it
and clicking the button to right of the Option list or add an option by clicking
the button.
Optionally, the Teamcenter administrator can change the precedence of the
options by selecting a row in the table and using the or buttons to the
right of the Option list.
3. Click the Yes button to delete the set, or click the No button to cancel.
Export a custom PLM XML file using a custom transfer mode . . . . . . . . . . . . 5-10
Operation name
(as listed in the ITK PIE
Business Business Modeler registration
object IDE) function Description
PLM BMF_PLMXML_ PIE_register_user_ Allows you to register
XML register_filter filter custom filter rules used
during import/export.
To call this extension
point, define a filter
rule in PLM XML/TC
XML Export Import
Administration and
use the filter in
the TransferMode
definition. This
function is called
every time the specific
object of interest is
encountered.
PLM BMF_PLMXML_ PIE_register_user_ Allows you to register
XML register_actions action custom action rules
used before, during,
or after import/export.
To call this extension
point, define an action
rule in PLM XML/TC
XML Export Import
Administration and
use the action in
the TransferMode
definition.
Operation name
(as listed in the ITK PIE
Business Business Modeler registration
object IDE) function Description
PLM BMF_PLMXML_ PIE_register_user_ Allows you to register
XML register_export_ methods custom export methods.
methods This function overrides
the default export
method and is called
if the specific context
is used. This function
must provide the export
code for the mapped
object.
PLM BMF_PLMXML_ PIE_register_user_ Allows you to register
XML register_import_ methods custom import methods.
methods This function overrides
the default import
method and is called
if the specific context
is used. This function
must provide the import
code.
PLM BMF_PLMXML_ PIE_register_user_ Allows you to map
XML register_schema_ schema Teamcenter and PLM
mappings XML objects. It is
applicable for exports
(import mapping uses
PLM XML subType
attribute).
Following is the order user extensions are called when exporting a PLM XML file:
1. pre-action
2. Export process
• Filters
• User methods
4. xslt (optional)
5. post-action
Following is the order user extensions are called when importing a PLM XML file:
1. pre-action
2. xslt (optional)
4. during-action
5. Import process
• Filters
• User methods
6. post-action
To begin, you must create a Business Modeler IDE project using the foundation
template. The project name used in this example is PLMXMLUserExt, and it uses a
prefix of G4.
4. Click Finish.
9. Click Finish.
The Extensions view shows the new extension.
10. In the Extensions view, expand User Exits and double-click PLMXML.
3. In the Navigator View, select the root project node and press F5 to refresh the
project.
printf("G4PLMXMLUserExt registration\n");
/* user actions */
PIE_register_user_action("GTACCustomExportPreAction",
(PIE_user_action_func_t)G4PreExportExtension);
PIE_register_user_action("GTACCustomExportDuringAction",
(PIE_user_action_func_t)G4DuringExportExtension);
PIE_register_user_action("GTACCustomExportPostAction",
(PIE_user_action_func_t)G4PostExportExtension);
/* filters */
PIE_register_user_filter("GTACCustomFilterRule",
(PIE_user_filter_func_t)G4FilterExtension);
/* (override) import/export methods */
PIE_register_user_methods(userMethodList, 2);
return 0;
}
PIE_rule_type_t G4FilterExtension(void* userPath)
{
tag_t tag = NULLTAG;
tag_t type_tag = NULLTAG;
char type_name[TCTYPE_name_size_c + 1] = { 0 };
printf("G4FilterExtension\n");
PIE_get_obj_from_callpath(userPath, &tag);
TCTYPE_ask_object_type(tag, &type_tag);
TCTYPE_ask_name(type_tag, type_name);
printf("Filter Object Type: %s\n", type_name);
return PIE_process; // or skip
}
int G4PreExportExtension(tag_t session)
{
printf("G4PreExportExtension\n");
// .xslt file used to beautify PLMXML file for easy reading.
PIE_session_set_user_xslt_file(session,
"C:\\TCU83\\dev\\xslt\\prettyprint.xsl");
return 0;
}
int G4DuringExportExtension(tag_t session)
{
printf("G4DuringExportExtension\n");
return 0;
}
int G4PostExportExtension(tag_t session)
{
printf("G4PostExportExtension\n");
return 0;
}
int G4UserImportExtension(void* userPath)
{
printf("G4UserImportExtension\n");
return 0;
}
int G4UserExportExtension(void* userPath)
{
printf("G4UserExportExtension\n");
return 0;
}
PIE_register_user_methods
The PIEUserMethodList_t structure is defined in the pie/pie.h header and is
defined as follows:
typedef struct PIEUserMethodList_s
{
const char *contextStr; /* Context String */
const char *name; /* Class or type name */
PIE_user_method_func_t func; /* User method */
} PIEUserMethodList_t;
contextStr
Specifies a unique string entered in the Context field in the TransferMode
definition. This string allows the user to group user methods with different
names for a given context.
name
Maps an import/export method to a specific Teamcenter object or PLM XML
element. For example:
For a full list of schema mappings, see PLM XML/Teamcenter entity mapping.
func
Specifies a function pointer that has a function signature of:
int foo_method(void* userPath)
The userPath argument can be used in any of the PIE_* ITK functions that
take a void* named userPath. The function body generally uses the PLM XML
SDK to implement the writing or reading of the PLM XML document.
For a full listing of available PIE functions, see the Integration Toolkit Function
Reference.
Note The Integration Toolkit Function Reference is available only in the
Teamcenter HTML Help Collection. It is not available in the PDF
collection.
PIE_register_user_filter
filterRuleName
Specifies a unique string that is displayed in the FilterRule, Filter Rule Name list.
user_m
Specifies a function pointer with a function signature of:
PIE_rule_type_t foo_filter(void* userPath)
The userPath argument can be used in any of the PIE_* ITK functions that takes
a void* named userPath. Valid return values are defined in the PIE_rule_type_e
enum (pie/pie.h) as follows:
typedef enum PIE_rule_type_e
{
PIE_skip = 1,
PIE_process = 2,
PIE_travers_no_process = 4,
PIE_travers_and_process = 6
} PIE_rule_type_t;
PIE_register_user_action
handleName
Specifies a unique string that is displayed in the ActionRule, Action handler list.
user_m
Specifies a function pointer with a function signature of:
int foo_action(tag_t session)
The session tag_t can be used in any of the PIE_* ITK functions that take a
tag_t session.
2. In the Extensions view, right-click the root node and choose Deploy Template.
2. Enter the path in the Current Values box and click OK.
3. Restart Teamcenter.
4. Click Create.
8. Set Scope of Traversal to Export and select PLM XML from the Output Format
list.
9. In the table, click the + button to create a new row and enter the following.
12. In the Filter Rule Name box, enter GTACItemRevExportFilter. Select Export as
the Scope of Filter and select PLM XML from the Output Schema Format.
13. In the table, click the + button to create a new row and enter the following.
3. Click OK.
The .xml file of the item and item revision export should look similar to following:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- GENERATED BY: PLM XML SDK 7.0.2.173 -->
<PLMXML xmlns="http://www.plmxml.org/Schemas/PLMXMLSchema" schemaVersion="6"
language="en-us" date="2011-06-03" time="10:45:32"
author="Teamcenter V8000.3.0.20100916.00 - gtac@IMC--2118502821(-2118502821)">
<Header id="id1" traverseRootRefs="#id2" transferContext="GTACCustomExport"/>
<ProductRevision id="id6" name="Export" accessRefs="#id3" subType="ItemRevision"
masterRef="#id2" revision="A">
<ApplicationRef version="wJC1OqqpYs6Y1C" application="Teamcenter"
label="wFJ1OqqpYs6Y1C"/>
</ProductRevision>
<Product id="id2" name="Export" accessRefs="#id3" subType="Item"
productId="000025">
<ApplicationRef version="wFJ1OqqpYs6Y1C" application="Teamcenter"
label="wFJ1OqqpYs6Y1C"/>
</Product>
<AccessIntent id="id3" intent="reference" ownerRefs="#id4"/>
<Site id="id4" name="IMC--2118502821" siteId="-2118502821">
<ApplicationRef version="wxPxfJW5Ys6Y1C" application="Teamcenter"
label="wxPxfJW5Ys6Y1C"/>
<UserData id="id5">
<UserValue value="1" title="dbms"/>
</UserData>
</Site>
</PLMXML>
id checkoutRefs productId
name subType alternateForRef
nameRef effectivityRefs unitRef
descriptionTextRef releaseStatusRefs designRequired
attributeRefs catalogueId source
accessRefs optionRefs vendorRef
statusRef propertyRefs
This function sets the XSLT file for import and export. If you want to set the
XSLT file for a TransferMode object without using customization, use the
plmxml_tm_edit_xsl command line utility.
For more information on this utility, see the Utilities Reference.
Sample XSLT files are available on the internet. Use your preferred internet search
engine and search for XSLT pretty print.
The XSLT processor is invoked by the PLM SDK.
The following table lists the mapping between PLM XML entities and Teamcenter
entities. You can use this information to read and understand PLM XML files.
Design objects
Teamcenter objects PLM XML element
ActivityCost ActivityCost
ActivityEntryValue ActivityEntryValue
Allocation Allocation
AllocationMap AllocationGroup
AllocationMapRevision AllocationGroupRevision
AllowedDeviation AllowedDeviationRelation
Appearance Occurrence
AppearanceGroup OccurrenceGroup
AppearanceRoot ProductView
AppInterfaceType plmxml_bus:ApplicationInterface
AppGroupBOPLine Occurrence
Architecture Product
ArchitectureRevision ProductRevision
AsBuiltStructure RealisedProductUsage
AsBuiltStructure RealisedProductInstance
AssetGroup Fleet
AuthorizationRule plmxml_bus:AuthorisationRule
Mapped to PLM XML element in the business
schema.
BillRate BillingRate
BOMLine Occurrence
BOMView Revision ProductRevisionView
BOMWindow InstanceGraph
BOPLine Occurrence
Design objects
Teamcenter objects PLM XML element
BoundingMultiBox Bound
CCObject CollaborationContext
CfgActivityLine ConfiguredActivity
CharacteristicDefinition CharacteristicDefinitionRevision
CharacteristicValue CharacteristicValue
ClosureRule plmxml_bus:ClosureRule
Mapped to PLM XML element in the business
schema.
ConfigurationContext ConfigurationRule
Connection FlowConnection
Connection_Terminal Terminal
ConnectionRevision FlowConnectionRevision
Dataset DataSet
Dataset Representation
DC_CmpTool CompareTool
DC_DitaValFilter DITAValueFilter
DC_DitaValFilterTbl DITAValueFilterRow
DC_EditTool EditTool
DC_GrphcAttrMap GraphicAttributeMap
DC_GrphcAttrMapTbl GraphicAttributeRow
DC_NamspacesTbl NamespaceRow
DC_Procedure Procedure
DC_ProcedureRevision ProcedureRevision
DC_PubType PublicationTyp
DC_PublishTool PublishTool
DC_RefTopicType RefTopicTyp
DC_Schema CMSchema
DC_SchemaRevision CMSchemaRevision
DC_StyleSheet StyleSheet
DC_StyleSheetRevision StyleSheetRevision
DC_StyleType StyleTyp
DC_TopicType TopicTyp
DC_TransfPolTbl TransformPolicyRow
DC_TransfPolicy TransformPolicy
DC_ViewTool ViewTool
Design objects
Teamcenter objects PLM XML element
DC_XmlSchema XMLSchema
DC_XmlSchemaRevision XMLSchemaRevision
DCt_GraphicPriority GraphicPriorityList
DCt_Language Language
DCt_TopicTypeGrp TopicTypGroup
DCt_XmlAttrMap XMLAttributeMap
DCt_XmlAttrMapTbl XMLAttributeRow
DeepCopyRule plmxml_bus:DeepCopyRule
Mapped to PLM XML element in the business
schema.
DesignRevision DesignRevision
Design Design
DesignReq DesignRequirement
DesignReqRevision DesignRequirementRevision
DesignRevision DesignRevision
DeviationDoc Deviation
DeviationDocRevision DeviationRevision
Discipline Discipline
DispApplicabilityData DispositionApplicabilityRelation
DispositionApplicability DispositionApplicabilityRelation
DispositionType Disposition
EngChange Change
EPMAction WorkflowAction
EPMBRHandler WorkflowBusinessRuleHandler
EPMBusinessRule WorkflowBusinessRule
EPMHandler WorkflowHandler
EPMJob WorkflowProcess
EPMSignoffProfile WorkflowSignoffProfile
EPMTask Task
EPMTaskTemplate WorkflowTemplate
Extension plmxml_bus:Method
FaultCode FaultCode
Filter plmxml_bus:FilterRule
Mapped to PLM XML element in the business
schema.
Fnd0ProxyTask ProxyTask
Design objects
Teamcenter objects PLM XML element
Folder Folder
Form Form
FullText DataSet
GDEBOPLine Occurrence
GDEbvr ProductRevisionView
GDELine Occurrence
GDELinkLine Occurrence
GDEOccurrence GDEInstance
GDEOccurrenceThread GDEInstance
GeneralDesignElement GDE
GeneralDesignElementLink Link
Group Organisation
GroupMember OrganisationMember
HideTypeRule plmxml_bus:HideTypeRule
Mapped to PLM XML element in the business
schema.
HRN_Accessory HarnessProduct
HRN_AssemblyPart HarnessProduct
HRN_Cavity ConnectorCavity
HRN_CavityPlug HarnessProduct
HRN_CavitySeal HarnessProduct
HRN_ConHousing HarnessProduct
HRN_CoPackPart HarnessProduct
HRN_Core WireCore
HRN_Fixing HarnessProduct
HRN_GeneralWire HarnessProduct
HRN_GenTerminal HarnessProduct
HRN_Harness HarnessProduct
HRN_Module HarnessProduct
HRN_Slot ConnectorCavityGroup
HRN_WireProtect HarnessProduct
IdContextRule plmxml_bus:IdContextRule
Mapped to PLM XML element in the business
schema.
Identifier Identifier
Design objects
Teamcenter objects PLM XML element
ImanCompoundPropDef plmxml_bus:CompoundPropDef
Mapped to PLM XML element in the business
schema.
ImanFile ExternalFile
ImanGRM plmxml_bus:RelationRule
Mapped to PLM XML element in the business
schema.
ImanItemBOPLine Occurrence
ImanItemLine Occurrence
ImanParameters plmxml_bus:MethodOpts
Mapped to PLM XML element in the business
schema.
ImanQuery SavedQueryDef
ImanVolume Vault
Item ProcessorProduct
Item Product
Item Software
ItemRevision ProcessorProductRevision
ItemRevision ProductRevision
ItemRevision SoftwareRevision
LanguagesTbl LanguageRow
LogBook LogBook
LogEntry LogEntry
LogEntryValues LogEntryValuesRelation
Lot LotRevision
MEActivity MROActivity
MEAppearanceGroupLine ConfiguredOccurrenceGroup
MEAppearanceLine Occurrence
MEAppearancePathNode InstancePath
MEAppearancePathRoot InstancePathRoot
MEOP Operation
MEOPRevision OperationRevision
MEProcess Process
MEProcessRevision ProcessRevision
Message FrameSignal
MessageRevision FrameSignalRevision
Design objects
Teamcenter objects PLM XML element
MEViewLine Occurrence
MEWorkarea WorkArea
MEWorkareaRevision WorkAreaRevision
NameField plmxml_bus:NameField
Mapped to PLM XML element in the business
schema.
NameRule plmxml_bus:NameRule
Mapped to PLM XML element in the business
schema.
Network FlowConnection
Network_Port Terminal
NetworkRevision FlowConnectionRevision
NXAgent ValidationAgent
NXAgentRevision ValidationAgentRevision
NXCMValDataRevision ValidationCheckRevision
NXRDDVValDataRevision ValidationCheckRevision
NXValData ValidationCheck
OverrideApproval OverrideApproval
Paragraph Requirement
ParagraphRevision RequirementRevision
Part Product
Participant Participant
PartMovement PartMovement
Person Person
PhysicalCharacteristics CharacteristicValueForRealisedProductRelation
PhysicalLocation MROLocation
PhysicalLocationRevision MROLocationRevision
PhysicalLocationUsage MROLocationRelation
PhysicalLogEntries PhysicalLogEntriesRelation
PhysicalPart RealisedProduct
PhysicalPartRevision RealisedProductRevision
PhysicalRealization RealisedFromRelation
POM_imc Site
POMObject plmxml_bus:StorageClassDef
Mapped to PLM XML element in the business
schema.
Design objects
Teamcenter objects PLM XML element
Processor ProcessorProductRevision
Revision Processor ProcessorProduct
ProjectTeam Organisation
PropertySet plmxml_bus:PropertySet
Mapped to PLM XML element in the business
schema.
PropRule plmxml_bus:PropertyRule
Mapped to PLM XML element in the business
schema.
PropertyBMOperation plmxml_bus:PropertyBusinessOperationMapped
to PLM XML element in the business schema.
PSBOMView ProductRevisionView
PSBOMViewRevision ProductRevisionView
PSConnection Connection
PSConnectionRevision ConnectionRevision
PSOccurrence ProductInstance
PSOccurrenceThread ProductInstance
PSSignal Signal
PSSignalRevision SignalRevision
PSSignalValue SignalValue
PSViewType View
PublishLink DefinitionRelation
Range DailyTime
ReleaseStatus ReleaseStatus
Requirement Requirement
RequirementRevision RequirementRevision
ResourceAssignment ResourceAssignment
ResourcePool ResourcePool
RevisionRule RevisionRule
Role Role
RouteCurve BSplineCurve
RouteLocation Location
RouteLocationRevision LocationRevision
RouteNode RouteNode
Design objects
Teamcenter objects PLM XML element
RoutePath Route
RouteSegment RouteSection
SchDeliverable ScheduleDeliverable
Schedule Schedule
ScheduleMember ScheduleMember
ScheduleRevision ScheduleRevision
ScheduleTask ScheduleTask
ScheduleTaskRevision ScheduleTaskRevision
SchedulingFixedCost FixedCost
SchMgtCostFormInfo FixedCostInfo
SchTaskDeliverable ScheduleTaskDeliverable
Signoff Signoff
Seg0Budget Budget
Seg0BudgetDefinition BudgetDefinition
ServiceDiscrepancy ServiceDiscrepancy
ServiceEvent TCServiceEvent
ServiceGroup ServiceGroup
Smr0Warning Warning
Software Software
Software Revision SoftwareRevision
SSP0Frequency Frequency
SSP0FrequencyRevision FrequencyRevision
SSP0PartApplicabilityData PartApplicabilityRelation
SSP0ServicePlan ServicePlan
SSP0ServicePlanRevision ServicePlanRevision
SSP0ServiceReq ServiceRequirement
SSP0ServiceReqRevision ServiceRequirementRevision
SSP0Skill Skill
SSP0SkillRevision SkillRevision
SSP0WorkCard WorkCard
SSP0WorkCardRevision WorkCardRevision
StructureContext StructureContext
TaskDependency ScheduleTaskDependency
TaskExecutionFormInfo TaskExecutionInfo
TaskSchedulingFormInfo TaskSchedulingInfo
Design objects
Teamcenter objects PLM XML element
TCCalendar Calendar
TCCalendarEvent CalendarEvent
TC_Project Project
TimeSheetEntry TimeSheetRecord
Tool plmxml_bus:ApplicationToolDef
Mapped to PLM XML element in the business
schema.
TraceLink TraceabilityRelation
TransferMode plmxml_bus:TransferMode
Mapped to PLM XML element in the business
schema.
TypeBMOperation plmxml_bus:TypeBusinessOperation
Mapped to PLM XML element in the business
schema.
TypeCannedMethod plmxml_bus:TypeCannedMethod
Mapped to PLM XML element in the business
schema.
User User
ValidationReq ValidationRequirement
ValidationReqRevision ValidationRequirementRevision
ValidationResult ValidationResult
ValReqResult ValidationResult
VariantRule VariantRule
Note In some cases, a Teamcenter object can be represented by more than one
PLM XML element, depending on how the object is used. Similarly in
some cases, a PLM XML element can be represented by more than one
Teamcenter object.
Configuring PLM XML import and export of alternate identifiers between CAD files
and Teamcenter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-6
Note The log file also contains information about any errors that occur during
the import or export.
****************************
PLMXML_sdk_threshold is: 100
******************************************************
****************************
Teamcenter Object ====>
Processed Object [wVChlmCCzmZcYC] of type [POM_imc]
IMC-999888777
Exported As ====>
Processed Element [Site] Id [#id5]
Error: None
****************************
****************************
Teamcenter Object ====>
Processed Object [SkBlTDvQzmZcYC] of type [ItemRevision]
Exported As ====>
Processed Element [ProductRevision] Id [#id2]
Error: None
****************************
****************************
Teamcenter Object ====>
Processed Object [iIDlTDvQzmZcYC] of type [Text]
Exported As ====>
Processed Element [DataSet] Id [#id7]
Error: None
****************************
****************************
Teamcenter Object ====>
Processed Object [iMPlTDvQzmZcYC] of type [ImanFile]
Exported As ====>
Processed Element [ExternalFile] Id [#id9]
Error: None
****************************
****************************
Teamcenter Object ====>
Processed Object [SgIlTDvQzmZcYC] of type [Item]
Exported As ====>
Processed Element [Product] Id [#id10]
Error: None
****************************
===== END OF (DETAILED OBJECT TRANSLATION) =====
///// Teamcenter Export Summary BEGIN: Processed the following Teamcenter
Objects
TCObject:: ImanFile Count:: 1
TCObject:: Item Count:: 1
TCObject:: ItemRevision Count:: 1
TCObject:: POM_imc Count:: 1
TCObject:: Text Count:: 1
///// Teamcenter Export Summary: Generated the following PLMXML Elements
Element:: DataSet Count:: 1
Element:: ExternalFile Count:: 1
Element:: Product Count:: 1
Element:: ProductRevision Count:: 1
Element:: Site Count:: 1
///// Teamcenter Export Summary END: /////
• Turn on additional logging from the PLM XML Import Export module by
enabling the following environment variables.
PLM XML files generated from Teamcenter typically contain the ApplicationRef
sub-element, which uniquely identifies the associated object represented in the PLM
XML file. For example, the following represents an item:
• IdentifierTypeDefault
Specifies an existing identifier type to be used when an object is imported
without an identifier type. This site preference accepts a single string value.
Following are specific scenarios that you may encounter while using PLM XML/TC
XML Export Import Administration.
• Closure rules
just traverse
instead of
process on the
intended object.
• Closure rules
in place but
FilterRule is
filtering out the
object.
• Everything is
in place but
there is an
error during the
export of the
intended object.
o The object
types/data
model items
are not
present
at the
importing
site.
o The item
ID of
items being
imported
already
exist or are
owned by
a different
user.
No objects found in • Import may • Review the PLM XML import
Home folder/selected have failed. log file and ensure there are no
folder after import errors (search for ERROR in
• PLM XML the log file).
import does
not copy/import • Perform a general search in
the objects Teamcenter to ensure that
to Home or the objects are imported but
selected folder. hanging in database.
This is expected
behavior. • Set the
PLMXML_put_objects_in_newstuff
_on_import user preference to
true to copy the root objects of
the importing file (pointed to
by traverseRootRefs) to a
new folder under the user’s
Newstuff folder. This new
folder’s name is the same as the
XML file name that is imported.
Physical files not • FMS is not • Try uploading a physical file
imported configured to ensure that the basic FMS
properly. settings are correct.
D Glossary
D Glossary
closure rule
Definition or rule that allows the Teamcenter traversal algorithm to identify the
additional objects required for a specific principal object.
PLM XML
Siemens PLM Software format for facilitating product life cycle interoperability
using XML. PLM XML is open and based on standard W3C XML schemas.
Representing a variety of product data both explicitly and via references, PLM
XML provides a lightweight, extensible, and flexible mechanism for transporting
high-content product data over the Internet.
transfer mode
Objects composed of rules that configure PLM XML import and export operations.
Transfer mode allows users to import and export data with little knowledge other
than the name of the transfer mode object.
A D
Action rules . . . . . . . . . . . . . . . . . . . . 3-15 Date properties, importing . . . . . . . . . . C-5
Creating . . . . . . . . . . . . . . . . . . . . . 3-15 Design . . . . . . . . . . . . . . . . . . . . . . . . 3-42
Deleting . . . . . . . . . . . . . . . . . . . . . 3-16
Editing . . . . . . . . . . . . . . . . . . . . . . 3-16 E
Action type . . . . . . . . . . . . . . . . . . 3-7, 3-18
Adding localized values . . . . . . . . . . . . . 2-3 Enabling PLM XML/TC XML Export Import
ApplicationRef element . . . . . . . . . . . . 3-39 Administration . . . . . . . . . . . . . . . . . . 1-2
Argument overview . . . . . . . . . . . . . . . . 5-6 Example . . . . . . . . . . . . . . . . . . . . . . . 3-22
Asynchronous export . . . . . . . . . . . . . . . 1-6 Export a PLMXML File . . . . . . . . . . . . 5-10
Export error, PseudoFolder . . . . . . . . . C-6
B Export transfer mode example . . . . . . . 3-22
Exporting
Basic concepts . . . . . . . . . . . . . . . . . . . 1-4 Object not exported . . . . . . . . . . . . . C-2
Basic tasks . . . . . . . . . . . . . . . . . . . . . . 1-7 Property not exported . . . . . . . . . . . . C-3
BOM lines . . . . . . . . . . . . . . . . . 3-40, 3-44 Wrong version of dataset . . . . . . . . . C-6
bom_cb switch . . . . . . . . . . . . . . . . . . 3-40 Wrong version of object . . . . . . . . . . . C-6
BOMwriterExport transfer mode . . . . . 3-36 Exporting BOM . . . . . . . . . . . . . . . . . 3-40
Bounding box closure rule . . . . . . . . . . 3-41 Exporting folder contents . . . . . . . . . . . 3-44
Business Modeler IDE extension setup . . 5-3 Exporting GRM relations . . . . . . . . . . . 3-42
Business Modeler IDE template Exporting JT files . . . . . . . . . . . . . . . . 3-36
deployment . . . . . . . . . . . . . . . . . . . . . 5-8 Exporting localized property values . . . . 2-2
Buttons . . . . . . . . . . . . . . . . . . . . . . . . 1-3 Exporting owning group . . . . . . . . . . . 3-43
Exporting substitutes . . . . . . . . . . . . . 3-39
C Exporting, multilanguage . . . . . . . . . . . 2-2
Extensions
Clauses, property set . . . . . . . . . . . . . . 3-17 Customizing . . . . . . . . . . . . . . . . . . . 5-1
Closure rules . . . . . . . . . . . . . . . . . . . . 3-1 generating code . . . . . . . . . . . . . . . . . 5-5
Creating . . . . . . . . . . . . . . . . . . . . . 3-11 Setting up . . . . . . . . . . . . . . . . . . . . . 5-3
Deleting . . . . . . . . . . . . . . . . . . . . . 3-12
Editing . . . . . . . . . . 3-12, 3-44–3-51, 3-53 F
Examples . . . . . . . . . . . . . . . . . . . . 3-44
IC export . . . . . . . . . . . . . . . . . . . . . 3-44 Files not imported . . . . . . . . . . . . . . . . C-5
Mapping attributes . . . . . . . . . . . . . 3-13 Filter list . . . . . . . . . . . . . . . . . . . . . . 3-40
Session rules . . . . . . . . . . . . . . . . . . 3-39 Filter rules . . . . . . . . . . . . . . . . . . . . . 3-13
Syntax . . . . . . . . . . . . . . . . . . . . . . . 3-2 Creating . . . . . . . . . . . . . . . . . . . . . 3-14
Conditional clauses . . . . . . . . . . . . 3-8, 3-10 Deleting . . . . . . . . . . . . . . . . . . . . . 3-15
Configuring PLM XML/TC XML Export Editing . . . . . . . . . . . . . . . . . . . . . . 3-14
Import Administration . . . . . . . . . . . . . 1-2 Syntax . . . . . . . . . . . . . . . . . . . . . . . 3-2
Conventions, syntax definitions . . . . . . . 1-8 Folder contents, exporting . . . . . . . . . . 3-44
COTS scope rules . . . . . . . . . . . . . . . . 3-38
Custom extension DLL, loading . . . . . . . 5-8 G
Customizing PLM XML import/export
extensions . . . . . . . . . . . . . . . . . . . . . . 5-1 Getting started . . . . . . . . . . . . . . . . . . . 1-1
T U
TIEImportDefault transfer mode . . . . . 3-36 Unloading objects . . . . . . . . . . . . . . . . 3-37
TIEPDXExportDefault transfer Updating transfer modes . . . . . . . . . . . 3-35
mode . . . . . . . . . . . . . . . . . . . . . . . . 3-36 User interface . . . . . . . . . . . . . . . . . . . . 1-2
TIEUnconfiguredExportDefault transfer
mode . . . . . . . . . . . . . . . . . . . . . . . . 3-36
Transfer mode best practices . . . . . . . . 3-36 W
Transfer mode objects . . . . . . . . . . . . . . 3-1 Wrong version of dataset, exporting . . . C-6
Creating . . . . . . . . . . . . . . . . . . . . . 3-20 Wrong version of object, exporting . . . . C-6
Deleting . . . . . . . . . . . . . . . . . . . . . 3-22
Editing . . . . . . . . . . . . . . . . . . . . . . 3-21
X
Transfer modes
Updating . . . . . . . . . . . . . . . . . . . . . 3-35 XSLT . . . . . . . . . . . . . . . . . . . . . . . . . 5-12
Transfer option sets . . . . . . . . . . . . . . . 4-1