Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
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
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
@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
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
