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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Thumbnails for PDF WTDocuments

avillanueva
22-Sapphire II

Thumbnails for PDF WTDocuments

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. 

ACCEPTED SOLUTION

Accepted Solutions
TomU
23-Emerald IV
(To:avillanueva)

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

 

View solution in original post

6 REPLIES 6
TomU
23-Emerald IV
(To:avillanueva)

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

 

TomU_1-1675975508837.png

 

 

 

 

TomU
23-Emerald IV
(To:avillanueva)

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

 

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

 

 

avillanueva
22-Sapphire II
(To:TomU)

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

TomU
23-Emerald IV
(To:avillanueva)

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

 

avillanueva
22-Sapphire II
(To:TomU)

Brilliant!

avillanueva_0-1675979495934.png

 

TomU
23-Emerald IV
(To:TomU)

It's probably more technically correct to say that any publish job that doesn't generate it's own thumbnail will be sent to the separate thumbnail worker to have one generated there.

 

I believe you also have to turn on thumbnail generation in the recipe file for each of your CAD workers.

 

TomU_0-1675979597827.png

Announcements

Top Tags