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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

not able to select output option for publishing rules and additional file types.

SZ_10502515
3-Visitor

not able to select output option for publishing rules and additional file types.

I am using Windchill PDMLink Release 11.1 and Datecode with CPS M010

additional file types and output format options not available.it is a cloned system . the system it was cloned from has these features but it is missing in the clone system. while creating a new representation based on our publishing rules there should be two additional file types pdf and dxf . i have attached the publishing rule xml file. please check the attached for the snapshot. 

please check the publishing rule  below: 

 

 

 

<rules xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ptc.com" evaluate-rules-on-republish="true" xsi:schemaLocation="http://www.ptc.com PublishRulesSchema.xsd">
<authoring-application name="PROE">
<condition name="is_released_drawing">
<attribute name="epmdoc_CADName" regex=".*\.drw$"/>
</condition>
<condition name="is_cadpart">
<attribute name="epmdoc_CADName" regex=".*\.prt$"/>
</condition>
<condition name="is_asm">
<attribute name="epmdoc_CADName" regex=".*\.asm$"/>
</condition>
<additional-files name="publish_drawing">
<file display-label="pdf" type="pdf" default="false" output-prefix="pdf"/>
<file display-label="dxf" type="dxf" default="false" output-prefix="dxf"/>
</additional-files>
<if condition="is_released_drawing">
<publish on="checkin" display-label="Checkin Publish"/>
<publish on="create-representation" display-label="Created Representation" additional-files="publish_drawing"/>
<publish on="schedule" display-label="Schedule Publish"/>
</if>
<if condition="is_cadpart">
<publish on="checkin" display-label="Checkin Publish" additional-files="publish_drawing"/>
<publish on="create-representation"/>
<publish on="schedule"/>
</if>
<if condition="is_asm">
<publish on="checkin"/>
<publish on="create-representation"/>
<publish on="schedule"/>
</if>
</authoring-application>
</rules>

 

 

 

 

1 REPLY 1

Hi @SZ_10502515 

It can happen if you chose an epmDocument that does not meet conditions. 

In your xml example there is condition name  "is_released_drawing"  but the condition controls just drw extension.

 

I would check if the rules are not rewritten by lower level definition on Org or Context level where the conditions can be different.

 

For example Product can have different publish rule definition then Org or site level.

 

Next I would check if properties are defined correctly.

 publish.usesPublishRules="ARBORTEXT PROE"

in wvs.properties

 

PetrH

Announcements


Top Tags