Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
New Tab on Profile Page
General_Dynamics_IT
Hello,Created a new module that uses a UserCallback.When I go to the edit Profile page of a user it opens the General tab automatically and you can see the Personal tab and my new tab called "My Tab". Problem is that I can't get the link (url) of the additional tab "My Tab" to point to the module that I created.In otherwords,General points to "?func=user.edituser&userid=191170&ntab=LivelinkUsersAndGroupsGeneral"Personal points to "?func=user.edituser&userid=191170&ntab=LivelinkUsersAndGroupsPersonal"My Tab points to "?func=user.edituser&userid=191170&ntab=LivelinkUsersAndGroupsMyTab" but what I need it to point to is "?func=myuser.editmyuser&userid=191170&ntab=LivelinkUsersAndGroupsMyTab"Any ideas on how to make this happen from within my module?Thanks,Mike
Find more posts tagged with
Comments
Claudia_Meyer
Message from chris meyer via eLinkHi Mike,I just checked the ?func=user.edituser request handler which handles these tabs. The first thing I noticed was that ?func=user.edituser is hardcoded in the section that generates the sibling tab URLs. I don't think you'll get the functionality you desire unless you change this core code.Perhaps a more relevent question is why you find it necessary to change the request handler name for your callback? cheers, chriseLink Discussion: Development Discussion wrote:>New Tab on Profile Page>Posted by Network Systems, General Dynamics on 06/18/2003 01:16 PM>>Hello,>>Created a new module that uses a UserCallback.>>When I go to the edit Profile page of a user it opens the General tab automatically and you can see the Personal tab and my new tab called "My Tab". Problem is that I can't get the link (url) of the additional tab "My Tab" to point to the module that I created.>>In otherwords,>General points to "?func=user.edituser&userid=191170&ntab=LivelinkUsersAndGroupsGeneral">Personal points to "?func=user.edituser&userid=191170&ntab=LivelinkUsersAndGroupsPersonal">My Tab points to "?func=user.edituser&userid=191170&ntab=LivelinkUsersAndGroupsMyTab" but what I need it to point to is "?func=myuser.editmyuser&userid=191170&ntab=LivelinkUsersAndGroupsMyTab">>Any ideas on how to make this happen from within my module?>Thanks,>Mike>>>[To reply to this thread, use your normal e-mail reply function.]>>============================================================>>Discussion: Development Discussion>
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=786303&objAction=view>>Livelink
Server:>
https://knowledge.opentext.com/knowledge/livelink.exe>>>
; >
General_Dynamics_IT
Hi Chris,Thanks for the confirmation.Here is the situation. Our user wants to add additional info to the user profile. These fields need to be accessible to LiveReports (so we are changing the schema by adding a table and not using the ExtendedData column). I went ahead and created my own module, that used a UserCallback, created the HTML pages for the new Tab and named it myuser.editmyuser so it would call the Execute method in my module which in turn created a DB Cursor for me to access the new fields in the new table.Are you saying that I should have named my RequestHandler in my module user.edituser and this would of worked? Am I on the correct path or could you recommend the best approach to solving my problem.Really appreciate the help.Thanks,Mike
Claudia_Meyer
Message from chris meyer via eLinkHi Mike,You don't need to create a specific request handler (i.e., not from WebDSP::WebDSP Root::RequestHandler). All you need to do is edit the UserCallback in the same manner as is done for the General and Personal tabs. Have a look at the contents of WebUser::UserCallbacks to see how this is done.chriseLink Discussion: Development Discussion wrote:>Re Re New Tab on Profile Page>Posted by Network Systems, General Dynamics on 06/19/2003 09:22 AM>>Hi Chris,>>Thanks for the confirmation.>>Here is the situation. Our user wants to add additional info to the user profile. These fields need to be accessible to LiveReports (so we are changing the schema by adding a table and not using the ExtendedData column). I went ahead and created my own module, that used a UserCallback, created the HTML pages for the new Tab and named it myuser.editmyuser so it would call the Execute method in my module which in turn created a DB Cursor for me to access the new fields in the new table.>>Are you saying that I should have named my RequestHandler in my module user.edituser and this would of worked? Am I on the correct path or could you recommend the best approach to solving my problem.>>Really appreciate the help.>Thanks,>Mike>>[To reply to this thread, use your normal e-mail reply function.]>>============================================================>>Topic: New Tab on Profile Page>
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=3086144&objAction=view>>Discussion
: Development Discussion>
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=786303&objAction=view>>Livelink
Server:>
https://knowledge.opentext.com/knowledge/livelink.exe>>>
; >