4 Tellurium

Ask the Expert: D2 Configuration options, Matrix selection & Plugin Development

YOU MAY ALSO BE INTERESTED ON THESE ATE EVENTS...

Ask the Expert: Features + Benefits of EMC Documentum D7

Ask the Expert – All About the EMC Documentum Information Rights Management (IRM) 5.1 Release

https://community.emc.com/thread/168932?tstart=0

This Ask the Expert session will be covering EMC Documentum D2-Client and D2-Config Configuration Options And Customization. Among the many areas will be discussing, our experts will answer your questions in regards to best practices, supported configurations and issues with Documentum D2.


Our expert is standing by to cover all this and much more during the 3 weeks of the event.  Join the conversation!


Your Host:

profile-image-display.jspa?imageID=10322&size=350

Pinal Shah have been working with EMC Documentum Support for the last 9 years. He is a SME for D2, XCP, WEB products suites. In the past few years Pinal have been focusing on the D2 and xCP 2.0 and 1.6 product set. With D2 and XCP 2.0 he has been supporting customers on configuration, customization and performance issues as well as providing configuration options to achieve their requirements.


This discussion: takes place May 19 - June 9. Get ready by following this page to receive updates in your activity stream or through email.

Share this event on Twitter:

>> Join the next Ask the Expert: D2 Configuration options, Matrix selection & Plugin Development http://bit.ly/1njJkyr 5/19 - 6/9 #EMCATE <<

0 Kudos
52 Replies
4 Tellurium

Re: Ask the Expert: D2 Configuration options, Matrix selection & Plugin Development

This discussion is now open for questions. We look forward to a lively and informative event.

Best regards,

Roberto

0 Kudos
3 Argentum

Re: Ask the Expert: D2 Configuration options, Matrix selection & Plugin Development

Hi,

Thanks for this expert discussion platform.

I would typically want to know the best practices for deployment strategies for D2-Config from a souce repository to the target.

After an initial rollout with full import with config reset, future changes shouldn't delete all live configurations

But for subsequent releases following are challenges

1) Dictionaries and taxonomy cannot be sent again as the widget is exposed to certain users and doesn't need to be overriden from source values

2) If option full config without actual config reset is used, it does not manage all the checkboxes in the matrix

   a) Its not clear either will it switch all checkboxes, or just add new config check boxes Or do nothing

   b) For configuration / contexts that are deleted, howw those will be handled

   c) Will override option, both override the configuration and its associated check boxes in the matrix?

   d) In which deployment option do we need to take care of Public Searches in the target environment?

3) Also if a context is added and then deleted in D2-Config, the numbers of the each context in the internal xml is changed and hence reported in D2 Specification comparisons which is not entirely correct as nothing has changed

 

Regards,

Anurag

0 Kudos
3 Argentum

Re: Ask the Expert: D2 Configuration options, Matrix selection & Plugin Development

Hi Anurag

I will get back to you soon. Most of the features are not available with current D2 version but I will get back to you with detail answer.

Thank you

Pinal Shah

0 Kudos

Re: Ask the Expert: D2 Configuration options, Matrix selection & Plugin Development

Hello experts,

What is the best way for creating a docbase session in a D2 external widget  for the current connected D2 user ?

Is it possible to re-used the current D2 session and not create a new one (using a dm ticket we can pass through the D2 hub) ? Do we have to create our own session manager on external widget side ?

0 Kudos
3 Argentum

Re: Ask the Expert: D2 Configuration options, Matrix selection & Plugin Development

Hi Jeremy,

D2 4.0 included the ability to configure external widget URLs with $LOGIN and $TICKET to enable the widget to log in. However resulting ticket will expire in 5 Min.

With D2 4.2 P02

For widgets using hub events we have added

     D2_ACTION_DM_TICKET_GENERATE and

     D2_EVENT_DM_TICKET_GENERATED

to allow widgets to create fresh tickets

Hope this answer your question and let me know if you need any additional information.

Thank you

Pinal Shah

Re: Ask the Expert: D2 Configuration options, Matrix selection & Plugin Development

Hi Pinal Shah,

Could you detail a lit bit more how this tickets (D2_ACTION_DM_TICKET_GENERATE and D2_EVENT_DM_TICKET_GENERATED ) work?

I am using the OpenAjaxHub to execute the action D2_ACTION_DM_TICKET_GENERATE.

I understood that after requesting by D2_ACTION_DM_TICKET_GENERATE, I would listen a D2_EVENT_DM_TICKET_GENERATED event with the ticket attached to the message of this event that I would use to communicate directly to the repository. The ticket is being generated

ExternalUtilWidget : PUBLISH : - event : D2_EVENT_DM_TICKET_GENERATED - message : oam_cuid==d2_demo-1401449339524-dmadmin-1630151795!!oam_sender==ExternalUtilWidget!!widgetType==ExternalUtilWidget!!config==ExternalUtilWidget!!oam_target_id==ExternalWidget-0!!ticket==DM_TICKET=T0JK...T0K!!ticket_timeout==300000!!ticket_time_generated==14...92!!ticket_time_expiration==1401

what is great, but I am not listening specifically this event.

What did I miss?

Thank You!

0 Kudos
3 Argentum

Re: Ask the Expert: D2 Configuration options, Matrix selection & Plugin Development

Sample is form D2 4.2 P02. This might not working with previous version.


Hope this would help.


var reqTime;

function subscribeToNewTicket() {

d2OpenAjaxHub.subscribeToChannel( "D2_EVENT_DM_TICKET_GENERATED",

onNewTicket, false);

}

function publishNewTicketRequest(){

reqTime = new Date(); // record the time the ticket was requested

d2OpenAjaxHub.sendMessage( "D2_ACTION_DM_TICKET_GENERATE", messageToSend);

}

function onNewTicket(event, oMessage) {

var ticket = oMessage.get("ticket");

var timeout = parseInt(oMessage.get("ticket_timeout"));

var absTimeout = new Date();

absTimeout.setTime(reqTime.getTime() + timeout);

}

Re: Ask the Expert: D2 Configuration options, Matrix selection & Plugin Development

Firstly, I'd like to thank you for your answer.

I've tried to run your example and I've got the same problem. It publishs the event, but "onNewTicket" is never called.

Then I took a look on the D2 version I was using and I found out that is D2 4.2 P0. So, this is a known issue, right?

Is there any work around? Or just update the patch?

(I know that I still can pass the Ticket through URL, but as far as I know, I may have problems refreshing the ticket after 5 min).

Thanks!

Giovanni.

0 Kudos
3 Argentum

Re: Ask the Expert: D2 Configuration options, Matrix selection & Plugin Development

HI Giovannni

I think this events are available  with 4.2 P02. Can you please try 42. p02?

0 Kudos