04.12.2012 Views

Windchill System Administrator's Guide

Windchill System Administrator's Guide

Windchill System Administrator's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Setting the preceding property’s value true allows the import of hierarchical IBA<br />

definitions.<br />

By default in Release 7.0, the default value of the property is false, and that value<br />

allows the creation of hierarchical IBA definitions. A false value for the property<br />

prevents the import of hierarchical IBA definitions, except when you use a<br />

properly written mapping file, called a mapping file. A mapping file maps<br />

hierarchical IBA definitions to non-hierarchical IBAs.<br />

The creation of hierarchical IBA definitions without having the property set true is<br />

likely to have occurred in releases prior to 7.0 because no recommendation to set<br />

the property true existed for those releases. Nested Attribute Organizers are<br />

allowed in R7.0 as they were in prior releases, without regard to the property’s<br />

value.<br />

This section describes the syntax of mapping files that provide rules to map<br />

hierarchical IBA definitions to non-hierarchical IBA definitions. Mapping files<br />

control both import and export and a given mapping file has the same effects on<br />

both import and export. Mapping files can be used at any time and for any XML<br />

files. Mapping files are more likely to be used with <strong>Windchill</strong> PDMLink than with<br />

<strong>Windchill</strong>, because <strong>Windchill</strong> PDMLink can use many containers while<br />

<strong>Windchill</strong> uses one layer.<br />

A mapping file must map hierarchical IBA definitions to non-hierarchical IBA<br />

Definitions for both IBA definitions and for IBAHolder instances such as WTPart<br />

and TypeDefinition.<br />

How to Write a Mapping File for Hierarchical IBAs<br />

To understand how to write a mapping file, consider the case of a jar file to be<br />

imported named ibaDefinitions.xml, The file includes IBA definitions with the<br />

following structure:<br />

Test Organizer<br />

The goal is to create a non-hierarchical StringDefinition of NestedTestString<br />

under the AttributeOrganizer TestOrganizer or any other AttributeOrganizer.<br />

The following block achieves this goal:<br />

<br />

path<br />

Test String<br />

NestedTestString<br />

TestOrganizer/TestString<br />

Import and Export Policies, Mapping Rules, and Conflict Messages C-13

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

Saved successfully!

Ooh no, something went wrong!