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

We are happy to announce the new Windchill Customization board! Learn more.

doPublish() api to disable thumbnail generation

hkotha
6-Contributor

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.

 

 

3 REPLIES 3

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
 

 

hkotha
6-Contributor
(To:ivan_feofilov)

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.

Hi Shyam,

 

Could you please let me know how your generating representations using doPublish() API.

 

Thanks,

Pravallika

Top Tags