04.12.2012 Views

Windchill System Administrator's Guide

Windchill System Administrator's Guide

Windchill System Administrator's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

COPY_AS Element<br />

element. The only element in a rule that specifies copying is COPY, and it has no<br />

sub-element.<br />

Rules that use the COPY_AS element alter an element from a source XML file<br />

and place the altered element in a resulting XML file. A sub-element<br />

is required in addition to and sub-elements. The following<br />

examples show possible syntaxes:<br />

Mapping an Object's View "Source_View" to View "Local_View"<br />

<br />

view<br />

Source_View<br />

Local_View<br />

<br />

Mapping any Object's View to View "LOCAL_VIEW"<br />

<br />

view<br />

*<br />

Local_Viev<br />

<br />

Mapping an Object's Number Attribute "2222" to Number "LOCAL_2222"<br />

<br />

number<br />

2222<br />

Local_2222<br />

<br />

Mapping any Object's Number Attribute to a Number Constructed from the Prefix<br />

"FROM_SITE_AAA_ " and the Same Number<br />

This example shows the number "2222"mapped to "From_Site_AAA_2222"in the<br />

resulting file.<br />

<br />

number<br />

*<br />

From_Site_AAA_*<br />

<br />

Mapping an Object's Version "A" to Version "B"<br />

<br />

versionInfo/versionId<br />

A<br />

B<br />

<br />

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

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

Saved successfully!

Ooh no, something went wrong!