cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Post publishing additional files and Published content link

khimani_mohiki
14-Alexandrite

Post publishing additional files and Published content link

I want to get my head around post publishing additional files for a couple of use cases where we want to capture STEP, pdf and STL data in a WTDocument. I have got the basics of the postpublishing working, when I publish a CAD document it will create the step file, attach it to the representation then create a WTDocument and attach the same Step file, its iterating the WTDocument whenever I publish the EPMDoc, not sure if that is expected.

But Im not seeing any link between the EPMDoc, the WTPart or the WTDocument, the WVS monitor log shows the published content link being created, but I dont see any kind of link between the newly created/iterated WTDoc and the EPMDoc. Am I missing something in my publish rules, or misunderstanding how it should work?

 

<?xml version="1.0" encoding="UTF-8"?>
<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">

<additional-files name="standard_files">
<file type="step" display-label="STEP" default="true" output-prefix="step"/>
</additional-files>

<publish on="checkin" additional-files="standard_files">
<param-set-ref name="Additional Files Post Publish for Released Document"/>
</publish>

<publish on="create-representation" additional-files="standard_files">
<param-set-ref name="Additional Files Post Publish for Released Document"/>
</publish>

<param-set name="Additional Files Post Publish for Released Document">
<post-publish name="delegate">com.ptc.wvs.server.publish.AdditionalFilesPostPublishDelegate</post-publish>
<post-publish name="name">KM_{EPM_NUMBER}</post-publish>
<post-publish name="number">KM_{EPM_NUMBER}</post-publish>
<post-publish name="additional-file-primary">.*\.(igs|stp|dxf)</post-publish>
<post-publish name="published-content-link">NUMBER RELEASED</post-publish>
</param-set>

</authoring-application>

</rules>

 

1 REPLY 1
sven
6-Contributor
(To:khimani_mohiki)

Extra table's for "Related Objects > Published content" can be use and only if displayed if an published-content-link exisits. Create after initial first creation a new custom tab on source or/and target object's.

So you can see the linked object's and also the published-content-link "Link Type" named like defined in PublishRule.

2021-03-14_163057.png

Announcements