cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Object Initialization Rules for Reference Document Types

CHASEONHO
18-Opal

Object Initialization Rules for Reference Document Types

Hello i am SeonHo in South Korea

I am learning about object initialization rules.
I have downloaded the document from the Object Initialization Rule Manager
And I made the following changes:

 

<AttributeValues objType="com.ptc.WTDocument">

<!-- set the folder -->
<AttrValue id="folder.id" algorithm="com.ptc.core.foundation.folder.server.impl.FolderPathAttributeAlgorithm">
<Arg>/Default</Arg>
</AttrValue>

<!-- set the lifecycle -->
<AttrValue id="lifeCycle.id" algorithm="com.ptc.core.foundation.lifecycle.server.impl.LifeCycleTemplateAttributeAlgorithm">
<Arg>
<!-- Translation of the word "Basic" must be the same as the translation done in commonLifeCycles.xml -->
<?loc-begin key="BASIC_LIFECYCLE_NAME" maxlen="30" match="commonLifeCycles.xml:BASIC_LIFECYCLE_NAME"?>Document Development<?loc-end?>
</Arg>
</AttrValue>

<!-- set the team template -->
<AttrValue id="teamTemplate.id" algorithm="com.ptc.core.foundation.team.server.impl.TeamTemplateAttributeAlgorithm">
<Arg>Document Development Team</Arg>
</AttrValue>

 

I wrote a new rule.
I created a TLA Outdoors Reference Document with a modified xml of the reference document type

I wanted to access the organization's product folder to which this rule was applied, create a new document, and find the reference document in the type.

However, only ECAD data and documents appear.
The version I use is 10.2
The version of the document I'm learning is 10.0
I do not think there will be much difference.
Help me.
Thank you.

0 REPLIES 0
Top Tags