Auto Population: Sample Configuration File
The following is a sample configuration file for auto populating groups named Axle with Part Lists whose name begins with 212 in an information structure named CAR_IS.
To auto populate CAR_IS, set the configuration file as given below:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configuration SYSTEM "structureConfig.dtd"
<Configuration>
<Rule>
<IEType internalName="com.ptc.arbortext.windchill.partlist.PartList">
<Matches>
<AttributeExpressions>
<AttributeExpression internalName="name"
operand="beginsWith" value="212-" />
</AttributeExpressions>
</Matches>
</IEType>
<Structure>
<InformationStructures>
<InformationStructure>
<Matches>
<AttributeExpressions>
<AttributeExpression
internalName="name" operand="beginsWith"
value="CAR_IS"/>
</AttributeExpressions>
</Matches>
<Group>
<Matches>
<AttributeExpressions>
<AttributeExpression
internalName="name" operand="contains"
value="Axle" />
</AttributeExpressions>
</Matches>
</Group>
</InformationStructure>
</InformationStructures>

<PublicationStructures>
<PublicationStructure>
<Matches>
<AttributeExpressions>
<AttributeExpression
internalName="name" operand="contains"
value="Ps11" />
</AttributeExpressions>
</Matches>
<Section>
</Matches>
<AttributeExpressions>
<AttributeExpression
internalName="name" operand="contains"
value="Sec1" />
</AttributeExpressions>
</Matches>
</Section>
</PublicationStructure>
</PublicationStructures>
</Structure>
</Rule>
</Configuration>
Save and close.
All the groups named Axle in CAR_IS information structure is auto populated with Part Lists that begin with 212.
Было ли это полезно?