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

doPublish() api to disable thumbnail generation

Highlighted
Regular Member

doPublish() api to disable thumbnail generation

I have one typical requirement where I would to call api to generate representation but not thumbnail.

 

Right now I am using doPublish() api to generate viewable/representation but I do not see any option or parameter to disable thumbnail generation.. 

 

PTC Tech support said, we can disable thumbnail generation at system level but there is no way to disable for particular scenarios or thru API.

 

But I believe there might be having some other API or some kind of parameter in doPublish() to disable thumbnail generation..

 

If any one of you have any idea, please let me know.

 

Thanks,

Shyam.

 

 

2 REPLIES 2

Re: doPublish() api to disable thumbnail generation

On the low API level Windchill support to disable "Create Thumbnail" com.ptc.wvs.server.PublishHelper.storeRepresentation, but on top-level, I didn't find this option for com.ptc.wvs.server.Publish.

 

I can only suggest playing with wvs properties:

 

thumbnail.byworker.enabled
thumbnail.enabled
 

 

Re: doPublish() api to disable thumbnail generation

Thanks fivigg for your reply.

The property you mentioned will disable thumbnail generation for all. But I would like to disable thumbnail only for the one that we publish using customization.

 

Thanks,

Shyam.