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

Translate the entire conversation x

Publishing_Rule - Lifecyce State

Amirtharaj_K
15-Moonstone

Publishing_Rule - Lifecyce State

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

3 REPLIES 3

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

 

Amirtharaj_K
15-Moonstone
(To:jbailey)

@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

 

Announcements

Top Tags