Skip to main content
17-Peridot
November 12, 2024
Question

Publishing_Rule - Lifecyce State

  • November 12, 2024
  • 1 reply
  • 732 views

Hi Guys,

I want to re-publish if any lifecycle state has been changed through a promotion request or set state. Please find the below XML, which I used for the lifecycle state.

All CAD Software's

 

Regards,

Amir

1 reply

jbailey
18-Opal
November 12, 2024

Docs and EPMdocs can be republished on state change by setting the following xconf settings:

 

xconfmanager -s publish.publishondocumentchange=true -t codebase/WEB-INF/conf/wvs.properties -p

xconfmanager -s publish.publishonepmdocumentchange=true -t /codebase/WEB-INF/conf/wvs.properties -p

 

17-Peridot
November 19, 2024

@jbailey still took the old representation, i added the approver and reviewer name in the drawing I can see that .drw but creo view i didn't see. 

 

Regards,

Amir

jbailey
18-Opal
November 19, 2024

Looking through my notes, you also need to add the unknown source tag for publishing on state change similar to this:

<rules xmlns="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">
 <!-- Comment out the following to prevent publish on Check-in
 <publish on="checkin"/>
 And add the following for publishing/republishing on EPMDoc Change-->
 <publish on="unknown-source"/>
 <publish on="create-representation"/>
 <publish on="schedule"/>
 </authoring-application>

</rules>

 https://www.ptc.com/en/support/article/CS115536?source=search