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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Prohibit document publishing

SAP010101
5-Regular Member

Prohibit document publishing

As per the original post

 

Is there a way to exclude all wtdocuments from being published regardless of size?  We are dumping thousands of PDF files into the system, when we change state to released they all try to publish and fail... no reason to try and publish a pdf to a pdf.

12 REPLIES 12
TomU
23-Emerald IV
(To:SAP010101)
SAP010101
5-Regular Member
(To:TomU)

Already saw that article which states preventing "attachments from publishing"... not what i'm asking.  Again as an example... a simple pdf file is in windchill as WIP... when we change state to RELEASED the publisher tries to publish... we want to stop this behavior.

Hi @SAP010101 

 

So use another article to stop the publishing if the metadata are changed.

 

CS74977

 

This really can help.

 

PetrH 

SAP010101
5-Regular Member
(To:HelesicPetr)

those are all set to false so not the problem

Hi @SAP010101 

 

You can use this article CS52443 to achieve what you need.

You just need to understand customization and java coding. 

 

Also you can disable a publishing for a specific subtype of object. 

this cover following article CS159509 you just use subtype of WTDocument in a service configuration typedservices.properties ,

requestor="WCTYPE|wt.doc.WTDocument"

PetrH

 

jbailey
17-Peridot
(To:SAP010101)

You would likely have to create a publishing rule to exclude that file type

SAP010101
5-Regular Member
(To:jbailey)

Not sure how to do that... what would be the "authoring-application name" since we're talking about documents not CAD documents?  Or is that handled differently all together?

jbailey
17-Peridot
(To:SAP010101)

Are you using Livecycle? or ms office publishing?

SAP010101
5-Regular Member
(To:jbailey)

Lifecycle

I guess you can use:
authoring-application name="ARBORTEXT">
If you are specifically looking to block state change event you can comment out the:
<publish On= "manual-post"/>

 

Thanks,
Hemant Chaugule

The short answer is YES.

 

Did you look thru wvs.properties?

The answer is right there.

 

 

HJ1
15-Moonstone
15-Moonstone
(To:d_graham)

Maybe should open a new thread, but does wvs.properties also answer how to prohibit templates for WTDocument from publishing..?

The "Publish and Thumbnail Control" search does not even recognize the number of the template document I'd want to include in the list or when adding directly says "Publish control not added (check number).

Top Tags