Can D2 4.1 display generated thumbnails instead of icons?

Options
jeremyprioux
edited September 10, 2013 in Documentum #1

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 :

thumbnails.png

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

Tagged:

Best Answer

  • jeremyprioux
    edited April 15, 2013 #2 Answer ✓
    Options

    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.

Answers

  • jeremyprioux
    edited April 5, 2013 #3
    Options

    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

  • jeremyprioux
    edited April 5, 2013 #4
    Options

    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!)

  • jeremyprioux
    edited April 6, 2013 #5
    Options

    I'm pretty sure there is a CTS configuration to make as CTS seems to be configured for xCP by default..

  • jeremyprioux
    edited April 15, 2013 #6 Answer ✓
    Options

    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.

  • Benoit_MITTAU
    edited June 19, 2013 #7
    Options

    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_idfull_formatpage_modifier
    0600303980005511msw8
    060030398000551dpdf
    060030398000551fxmlsearch_xml_info
    0600303980005523jpeg_thlarge_jpeg_th
    0600303980005525jpeg_thsmall_jpeg_th
    060030398000552cjpeg_story000000000
    060030398000552ejpeg_story000000001
    0600303980005530jpeg_story000000002
    0600303980005535jpeg_lres
    0600303980005536jpeg_thmedium_jpeg_th
    060030398000553cjpeg_lres000000000
    060030398000553ejpeg_lres000000001
    0600303980005540jpeg_lres000000002

    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:

    090030398000411bhttp://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

  • jeremyprioux
    edited June 20, 2013 #8
    Options

    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

  • Benoit_MITTAU
    edited June 20, 2013 #9
    Options

    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

  • Benoit_MITTAU
    edited June 20, 2013 #10
    Options

    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

  • mpraditt
    edited June 24, 2013 #11
    Options

    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!

  • jeremyprioux
    edited June 24, 2013 #12
    Options

    it's done

  • prasan_13
    edited September 4, 2013 #13
    Options

    Hi Guys,

    Can you tell me the link to the white paper you are talking about. I couldn't find it online.

    Thanks,

    Prasan

  • prasan_13
    edited September 10, 2013 #15
    Options

    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?