Skip to main content
avillanueva
23-Emerald I
23-Emerald I
February 9, 2023
Solved

Thumbnails for PDF WTDocuments

  • February 9, 2023
  • 2 replies
  • 2056 views

So I got my Office doc worker running and I love it. Produces PDF representations of Office files and neat thumbnails. Yes, eye candy but it provides a seamless user experience so people know, see an image, you can click and view it in Creo View. This aligns the system to be the same for Creo data and ECAD. My only hold out is WTDocs where primary content is a PDF.

 

I came across this article (How to automatically generate representation for the pre-converted files... ) which gets me one step closer since it allows PDF files to be treated like preconverted data. A representation is created based on the primary content.

 

Checking the logs I see this when it was processed:

Feb 9, 2023, 2:52:42 PM:Document Processing Returned: /pdmlink/ptc/Windchill/tmp/pubtemp/publish17987521139876482678.tmp/WWGMCompatibilityMatrix (1).pdf
Feb 9, 2023, 2:52:42 PM:Start Store Document Viewable Files
Feb 9, 2023, 2:52:42 PM:Retrieving Additional Files
Feb 9, 2023, 2:52:48 PM:No Thumbnail Created by Server
Feb 9, 2023, 2:52:48 PM:Uploading Files
Feb 9, 2023, 2:52:48 PM:End Store Document Viewable Files: 3 Files

and sure enough, no thumbnail was created, just the stock Creo view pyramid icon.  Has anyone gotten the system to make Thumbnails of PDF files? My other CAD workers handle thumbnails when publishing so I am not looking to upset that. Do I need to add some post processing? Let me know your ideas.  I am not licenses for the Adobe worker. 

Best answer by TomU

The way I have it configured, no.  The CAD workers each make their own thumbnails.  Only the 'dummy' publish events go through the thumbnail worker.

 

https://www.ptc.com/en/support/article/CS188172

I'm using option 4 - 'true' for both.

 

It can be a little confusing since that option is not listed in the help documentation:

https://support.ptc.com/help/creo/view/r9.0/en/index.html#page/creo_view/adapter_install_config_guide/Config-pvsthumb/ThumbnailGeneratorConfigAdvanced/DefaultThumbnailGeneratorConfig.html

 

2 replies

23-Emerald IV
February 9, 2023

Yes.  Need a separate thumbnail worker.  Might also need some extra wvs properties.  I'd have to double check...

 

TomU_1-1675975508837.png

 

 

 

 

23-Emerald IV
February 9, 2023

https://www.ptc.com/en/support/article/CS132901

 

I actually have "thumbnail.byworker.enabled=true" and it still works.  FWIW.

 

 

avillanueva
23-Emerald I
23-Emerald I
February 9, 2023

Does this mean that ALL workers will send their thumbnail jobs to this Thumbnail worker?

TomU23-Emerald IVAnswer
23-Emerald IV
February 9, 2023

The way I have it configured, no.  The CAD workers each make their own thumbnails.  Only the 'dummy' publish events go through the thumbnail worker.

 

https://www.ptc.com/en/support/article/CS188172

I'm using option 4 - 'true' for both.

 

It can be a little confusing since that option is not listed in the help documentation:

https://support.ptc.com/help/creo/view/r9.0/en/index.html#page/creo_view/adapter_install_config_guide/Config-pvsthumb/ThumbnailGeneratorConfigAdvanced/DefaultThumbnailGeneratorConfig.html