Hello,
I'm wondering if it is possible to pass currently logged in user and his used role to custom adaptor through forms builder.
And also if it's possible to put there docbase name to get the session.
If so please describe how to do this.
thanks
If there are Accepted Answers, those will be shown by default. You can switch to 'All Replies' by selecting the tab below.
Ok so I found solution for my question....
problem was in SessionState class. I used com.documentum.web.common.SessionState instead of com.documentum.taskspace.sessionstate.SessionState.
Now everything works perfectly.
I believe if you use DataSource adaptor, you should already have all those information. Look at FormsBuilder Dev guide, under adaptors, I believe for further details on DataSource adaptor.
Hi Ahmad,
yes I found this solution with Adaptor yesterday, but I don't know how to get role which is used currently by logged in user.
Can you help me with this?
I tried something like
String selectedRole = (String) SessionState.getAttribute("selectedrole");
But this doesn't work for me