Can D2 4.1 display generated thumbnails instead of icons?
Hi experts,
I've installed D2 4.1 with a thumbnail server and CTS (Documentum 7.0).
Once I've import a document, I can see in the thumbnail_storage that I got thumbnails generated (two files : 1ko and 20ko approx.). Strange thing is that D2 keeps displaying the default icons :
Is there any special configuration ? any test I could make to see if is it the thumbnail server or D2 that is not doing his job ?
Thank you
Best Answer
-
My solution was to uptade D2 preferences using a DQL request, and specified the jpeg_lres or jpeg_story format for thumbnails.
This way you can stay with standard CTS configuration.
0
Answers
-
My thumbnail servlet seems to be OK as I can access to a thumbnail using URLs like :
http://host:port/thumbsrv/getThumbnail?path=000003e8/80/00/00/08.jpg&store=thumbnail_store_01
0 -
I made some debug and found that D2 query for getting thumbnail is :
select r_object_id,mfile_url('jpeg_th',0,'large_jpeg_th') as mfile_url2 from dm_document(all) where r_object_id='xxxxxx'
whereas my dmr_content objects as the following attributes : (full format / page modifier)
jpeg_lres / 000000000
jpeg_story / 000000000
Two solutions :
Solution 1 : correct query from D2 should be
select r_object_id,mfile_url('jpeg_lres',0,'000000000') as mfile_url2 from dm_document(all) where r_object_id='xxxxxx'
(in this case it would be a bug from D2 on Documentum 7 I think)
Solution 2 : my dmr_content objects should be generated in a different ways... --> do you know any CTS configuration I have to make ?
That should explain why my preview widget is not working either (trying to get jpeg files as well!)
0 -
I'm pretty sure there is a CTS configuration to make as CTS seems to be configured for xCP by default..
0 -
My solution was to uptade D2 preferences using a DQL request, and specified the jpeg_lres or jpeg_story format for thumbnails.
This way you can stay with standard CTS configuration.
0 -
Hi Jeremy
I have the same kind of problem.
Using CS v7.0, CTS v7.0, DA v7.0 and D2 v3.1, the thumbnails are generated by CTS and can be displayed in DA (the thumbnail view is OK). But the thumbnails are not displayed in D2.
In the rendition tab of D2, I able to see JPG renditions and the thumbnail view doesn't display the images.
Here are the renditions I was able to generate :
Select r_object_id, full_format, page_modifier from dmr_content where any parent_id IN (select r_object_id from dm_sysobject where object_name = 'TEST_DOCUMENT_doc');
r_object_id full_format page_modifier 0600303980005511 msw8 060030398000551d pdf 060030398000551f xml search_xml_info 0600303980005523 jpeg_th large_jpeg_th 0600303980005525 jpeg_th small_jpeg_th 060030398000552c jpeg_story 000000000 060030398000552e jpeg_story 000000001 0600303980005530 jpeg_story 000000002 0600303980005535 jpeg_lres 0600303980005536 jpeg_th medium_jpeg_th 060030398000553c jpeg_lres 000000000 060030398000553e jpeg_lres 000000001 0600303980005540 jpeg_lres 000000002 The thumbnail server seems to be well configured, since the thumbnails are displayed by DA.
BTW the following query:
select r_object_id,mfile_url('jpeg_th',0,'large_jpeg_th') as mfile_url2 from dm_document where object_name like 'TEST_DOCUMENT_doc';
returns:
090030398000411b http://CIL-SRV-01:8081/thumbsrv/getThumbnail?path=00003039\80\00\26\52.jpg&store=thumbnail_store_01 When I use this URL within IE, it displays the thumbnail.
I also used a sniffer to check if D2 sends requests to Thumbnail server : I didn't see http request from D2 to Thumbnail server.
With the same method, I was able to track http requests from DA to Thumbnail server.
Could you please tell me more about the DQL update you have run to make it works ?
Thank you.
Benoit
0 -
Hi Benoit,
You're talking about D2 4.1 right ?
My DQL update was the following, in order to allow to display jpeg_story in my D2 app ( because I didn't have any jpeg_th rendition) :
update d2c_preferences objects set thumbnails_size='000000000', set thumbnails_format='jpeg_story' where object_name='default'.
I'm not sure it will solved your problem. Can you see the D2 request in debug log ?
(something like : select r_object_id,mfile_url('jpeg_th',0,'large_jpeg_th') as mfile_url2 from dm_document(all) where r_object_id='xxxxxx)
Btw things have changed on D2 4.1 since my discussion opening since EMC released the following white paper :
docu47730_Whitepaper--Configuring-and-Troubleshooting-EMC-Documentum-Content-Transformation-Services-for-EMC-Documentum-D2-Widgets
0 -
Hello Jeremy,
It isn't a typo : I'm using D2 v3.1 (and not v4.1).
I read the Whitepaper you are mentionning : it was quite helpfull to generate renditions (PDF and thumbnails), but it doesn't explain why D2 doesn't send http requests to thumbnail server.
I'll try to update d2c_preferences.
Thank you
Benoit
0 -
It works !
The display of thumbnails within D2 v3.1 is OK with the default preferences (no need to update d2c_preferences objects in this particular case.
The document mentioned by Jeremy (docu47730_Whitepaper--Configuring-and-Troubleshooting-EMC-Documentum-Content-Transformation-Services-for-EMC-Documentum-D2-Widgets) is usefull to configure the thumbnails generation by CTS.
Then, with D2 v3.1, as soon as your documents have the good renditions (full_format=jpeg_th and page_modifier=large_jpeg_th) the thumbnails should be displayed within D2-Client without any update of the default preferences.
According to Jeremy, this is not the case for D2 v4.1.
Thank you Jeremy for your help.
Benoit
0 -
Hi Jeremy,
You might want to consider moving this discussion to the Documentum Developer community,
There are other D2 related questions and content there - other members will appreciate your question.
Let me know if you have any questions!
0 -
it's done
0 -
Thanks Jeremy for the document. I seem to have no issues with the preview widget or the thumbnail widget but i have issues with the templates for new document creation.
Now when users go to New->Content in D2 and when they come to the screen where they choose the template some formats like pptx,xls have a blank screen or the default icon instead of their thumbnail preview . . I did check the template itself in DA--- Templates->D2 and they do have renditions created for them.
Any ideas on that?
0
Categories
- All Categories
- 109 Developer Announcements
- 49 Articles
- 100 General Questions
- 122 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 122 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management