Skip to main content
4-Participant
October 15, 2025
Question

Republish is not working

  • October 15, 2025
  • 1 reply
  • 1814 views

Version: Windchill 13.0

 

Use Case: Republish is not working - Publish will work only when we do check in and check out. Windchill version is Release: 13.0.2.6 I checked online and tried adding below lines to xml. OR ยท It says our Windchill version does not support on="republish" or on="manual-post" in publishrules.xml. You cannot fix this by editing XML. To get PDF/STEP on republish, you need either: A check-in/schedule trigger, or A custom workflow/JPO that explicitly calls the publishing API.

 

<publish on="manual-post" additional-files="publish_drawing"/>

OR

<publish on=" republish" additional-files="publish_drawing"/>


Description:

Attached xml file used. Ca you help on this.

 

1 reply

17-Peridot
October 16, 2025

I don't think `republish` is an option. That's a retriggering of a previously published representation. 

WVS Publish Rules - Enabling Publish Rules :

Dobi_0-1760622990450.png

Manual post ought to be supported (we're on 13.0.2.1). 

 

<param-set name="Published CREO drawing">
<post-publish name="delegate">com.ptc.wvs.server.publish.AdditionalFilesPostPublishDelegate</post-publish>
<post-publish name="name">{ADDITIONAL_FILE_PRIMARY_BASENAME}_drawing</post-publish>
<post-publish name="published-content-link">true</post-publish>
<post-publish name="type">com.xxx.www.someDocument</post-publish>
<!-- or a soft type of WTDocument -->
<post-publish name="additional-file-primary">.*\.pdf</post-publish>
<post-publish name="folder">Documentation</post-publish>
</param-set>
<!-- this generates the standalone illustration graphic for Creo illustrate -->
<param-set name="Create PROE to PVZ">
<post-publish name="delegate">com.ptc.wvs.server.publish.EPMPostPublishDelegate</post-publish>
<post-publish name="name">{EPM_NUMBER} (PostPublish)</post-publish>
<post-publish name="type">wt.epm.EPMDocument|com.xxx.www.DynamicDocument|com.ptc.IllustrationSource</post-publish>
<post-publish name="published-content-link">true</post-publish>
<post-publish name="viewable-compression">false</post-publish>
<post-publish name="folder">Documentation/Graphics/Illustration Sources</post-publish>
</param-set>

...

<if condition="Drawing">
<publish on="checkin" additional-files="Drawing_PDFs" display-label="Drawing check-in w/ PDF"/>
<publish on="manual-post" param-set="Published CREO drawing"/>
<publish on="create-representation" additional-files="Drawing_PDFs" display-label="Drawing create rep w/ additional file option"/>
<publish on="unknown-source" additional-files="Drawing_PDFs" display-label="Drawing state change publish w/ default additional files"/>
</if>
<if condition="Assembly and Part">
<publish on="create-representation" additional-files="Part_STEP" display-label="Model create rep publish with STEP option"/>
<publish on="unknown-source" additional-files="Part_STEP" display-label="Model state change publish w/ STEP"/>
<publish on="manual-post" param-set="Create PROE to PVZ"/>
<publish on="schedule" additional-files="Part_STEP" display-label="Scheduled publish"/>
</if>
4-Participant
October 17, 2025

Thanks for the input and code. I copied your code and did attached new xml file but did republish the file not generating the pdf/step file. Attached copy of xml file. Post publish is not working. 

Post Publishing Succeeded with Warnings

 
Warning: there are no additional files in the representation to post publish

PN_10839578_0-1760709096912.png

 

17-Peridot
October 17, 2025

The pdf/step is generated at initial publish. When it's created successfully, you'll see something like this:

Dobi_0-1760711070379.png

 

Republish will just rerun whatever was used previously for that representation. It looks like your additional files aren't getting created. What's your WVS job monitor log look like for this?