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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Translate the entire conversation x

Prohibit publishing for a specific context

VR_4000
14-Alexandrite

Prohibit publishing for a specific context

Version: Windchill 12.1

 

Use Case: On my Windchill server there are multiple product contexts, but in one of them people are working with solidworks. Is there a way to prohibit publishing only in that specific context?


Description:

The goal is to prevent multiple failed jobs on the WVS job monitor and keep the queue free of unnecessary files.
Also I don't have a solidworks license available to make a worker for these files.

The only way I could find was to prohibit single files, so once a day I take a look at the WVS job monitor, filter for that solidworks context, make a prohibit rule, and delete it all.

To configure a SolidWorks worker later on, I'm going to need to delete prohibition rules one by one or clean the table on DB.

There's no clear identification on the DB table, and there are some rules that I don't want to remove.

ACCEPTED SOLUTION

Accepted Solutions

Why not exclude objects by file extension?
https://www.ptc.com/en/support/article/CS39455
https://www.ptc.com/en/support/article/CS135047

<Property name="publish.service.filterpublishmethod" overridable="true"
targetFile="codebase/WEB-INF/conf/wvs.properties"
value="com.ptc.wvs.server.publish.EpmDocumentPublishFilters/filterPublish"/>
<Property name="publish.service.filterepmdocumentpublishmethod" overridable="true"
targetFile="codebase/WEB-INF/conf/wvs.properties"
value="com.ptc.wvs.server.publish.EpmDocumentPublishFilters/filterEPMDocumentPublish"/>
<Property name="publish.cadfileextensionfilter" overridable="true"
targetFile="codebase/WEB-INF/conf/wvs.properties"
value="ASM PRT DRW"/>

View solution in original post

1 REPLY 1

Why not exclude objects by file extension?
https://www.ptc.com/en/support/article/CS39455
https://www.ptc.com/en/support/article/CS135047

<Property name="publish.service.filterpublishmethod" overridable="true"
targetFile="codebase/WEB-INF/conf/wvs.properties"
value="com.ptc.wvs.server.publish.EpmDocumentPublishFilters/filterPublish"/>
<Property name="publish.service.filterepmdocumentpublishmethod" overridable="true"
targetFile="codebase/WEB-INF/conf/wvs.properties"
value="com.ptc.wvs.server.publish.EpmDocumentPublishFilters/filterEPMDocumentPublish"/>
<Property name="publish.cadfileextensionfilter" overridable="true"
targetFile="codebase/WEB-INF/conf/wvs.properties"
value="ASM PRT DRW"/>

Announcements

Top Tags