Quantcast
Viewing all articles
Browse latest Browse all 4806

Can Attribute "PTC_WM_LIFECYCLE_STATE" be used for publish rules?

Hi,

Our requirement is to generate the EPMdocuments once the drawing is published through post-publication using publish rule.
Particularly, it should post-publish only the drawings which are having PTC_WM_LIFECYCLE_STATE=Released.
However, when created a PublishRule.xml with below lines it does not work. Drawing withPTC_WM_LIFECYCLE_STATE=Released are not getting post-published.
It does not consider value for parameter:PTC_WM_LIFECYCLE_STATE and post-publication does not happen.



<rules xmlns="&lt;/span">http://www.ptc.com"


       xmlns:xsi=" 
http://www.w3.org/2001/XMLSchema-instance"

       xsi:schemaLocation="
http://www.ptc.com
  PublishRulesSchema.xsd">

 


     <authoring-application name="PROE">
     
          <epm-iba iba="PTC_WM_LIFECYCLE_STATE" value="Released">
               <publish on="checkin" param-set="Post" publish&quot;="/>
               <publish on="create-representation" param-set="Post" publish&quot;="/>
               <publish on="schedule" param-set="Post" publish&quot;="/>
          </epm-iba>

 


          
          <param-set name="Post" publish&quot;=">
               <post-publish name="delegate">com.ptc.wvs.server.publish.EPMPostPublishDelegate&l
t;/post-publish>
               <post-publish name="type">wt.doc.Document</post-publish>
               <post-publish name="name">{EPM_NAME}_temp</post-publish>
               <post-publish name="number">{EPM_NUMBER}_temp</post-publish>
               <post-publish name="published-content-link">create</post-publish>
              <post-publish name="container-oid">wt.pdmlink.PDMLinkProduct:79086986</post/> -publish>
               
          </param-set>

 


     
     </authoring-application>


</rules>



Viewing all articles
Browse latest Browse all 4806

Trending Articles



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