Posts

Showing posts from 2013

Relation of default and defaultonenter attributes in documentum.

For few days I was struggling to find out the reason why first time when I pressed the enter button the next button onclick function was called when default='true' attribute was set in the next button of the container. Finally I found the reason why it was working fine. The reason was very funny when we are launching the newfoldercontainer component first time we have to enter some text in the name field where defaultonenter was set to true, so the cursor is present inside that text box, so when I was hitting the enter key the onclick function of next button was called successfully. But when I was coming through Prev button the cursor was not present in the text box so the enter key was not working. So from this we can conclude that in order to use attribute default='true' we need some text box where defaultonenter must be set to true and the cursor must be present in one of the text box where the attribute defaultnoenter is set to true then only the default='tru

Creating Session in Documentum

Image
IDfClientX clientX = new DfClientX();   clientX is used to get the IDfClient from getLocalClient() and IDfLoginInfo from getLoginInfo   IDfClient client = clientX.getLocalClient();   IDfLoginInfo loginInfoObj = clientx.getLoginInfo();              loginInfoObj.setUser(userName);              loginInfoObj.setPassword(password);              loginInfoObj.setDomain(null); Client is used to get the newSessionManager()   IDfSessionManager sessionManager = client.newSessionManager();   sessionManager.setIdentity(docbase, loginInfoObj);   IDfSession session = sessionManager.getSession(docbase)   Below Inferfaces are used to create a documentum session if we know the username, password and DocbaseName.       
Image
Documentum Object Model: The below image describes the object hierarchy/model of EMC Documentum content management system: