Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all articles
Browse latest Browse all 8876

Re: How to set state of WTDocument by code?

$
0
0

Hi Chan,

 

In OIR you will find below lines.

 

<!-- 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"?>Basic<?loc-end?>

                  </Arg>

               </AttrValue>

 

If you change the name from Basic to some other name (For example Approval) then that particualr object will follow Approval.

 

Thanks ,

Kaushik


Viewing all articles
Browse latest Browse all 8876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>