Skip to main content
23-Emerald IV
September 15, 2014
Solved

WVS Config Spec.

  • September 15, 2014
  • 3 replies
  • 2537 views

Where does one set the config spec. used by WVS when publishing on check in? I am attempting to configure Creo drawings to publish "as stored" and all other Creo objects to publish "latest".

The documentation states the following:

The config spec that is used for the publishing process, is provided by the application that emits the event, for example, a WGM. If that config spec is "null," WVS uses either the latest config spec or an as-stored config spec depending on the value of the property "publish.configspec.default.useasstoredifavailable."

Where is the config spec set for the Creo workgroup manager?

Thanks!

Best answer by TomU

According to tech support, out of the box you can't. The property listed above will cause ALL checkins to either be "as stored' if 'true' or "latest" if 'false'. The only way to get drawings to behave differently than models is to write a custom filter (java class) that intercepts the doPublish event and changes it accordingly.

3 replies

GregoryPERASSO
16-Pearl
September 16, 2014

Tom

have a look in the wvs.properties in Windchill codebase (and associated xconf)

TomU23-Emerald IVAuthorAnswer
23-Emerald IV
September 16, 2014

According to tech support, out of the box you can't. The property listed above will cause ALL checkins to either be "as stored' if 'true' or "latest" if 'false'. The only way to get drawings to behave differently than models is to write a custom filter (java class) that intercepts the doPublish event and changes it accordingly.

TomU23-Emerald IVAuthor
23-Emerald IV
July 12, 2018

For anyone who may read this in the future, PTC has added a new property to Windchill 11.1 M010 that allows drawings to be published with a different config spec.  It is now possible to publish assemblies as 'Latest' and still publish drawings 'As Stored' without any customization.  The newly added, drawing specific property is called:  publish.configspec.default.drawing.useasstoredifavailable