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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

doPublish() api to disable thumbnail generation

hkotha
10-Marble

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
 

 

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.

Pravallika
3-Newcomer
(To:hkotha)

Hi Shyam,

 

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

 

Thanks,

Pravallika

Announcements

Top Tags