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)
CSIDE and OScript
Orphaned function not executing
Marcia_Gillespie-Norder_(tokeleadmin_-_(deleted))
Hi,I am trying to override one function (and only one function) in Directory Services 2.2.2.ResetLivelinkPasswords function located at - Directory Root: Directory: DirectoryUtils: ResetLivelinkPasswordsSo, I followed the "Creating a Livelink Module" tutorial using the Builder documentation.Only, I don't want to create an AddressBook, so I stopped at the "Setting up New Node Types".All I want to do is orphan one function so I can insert an extra conditional.I created the module. The module installs and uninstalls. However, my function does not execute.I have put in statements in the function so that it will write out to the log file..WriteLogFile( logFileName, 'kmh test', 0, TRUE )However, when I review the log or the Builder debug console, I do not see these log statements.So, my module is not firing.Any tips on where should I check to see that I registered everything so that my function will execute?Do I need to override more functionality?Thanks for any information you can point my way.I would happily post the custom module if that would help at all.Kevin HutsonTokyo Electron America
Find more posts tagged with
Comments
Alex_Kowalenko_(akowalen_(Delete)_2285456)
Message from Alex Kowalenko via eLinkKevin.You need to change the pointer for $Directory.DirectoryUtils to redirectcalls to your orphan. Add the following line to your_module Root:StartUpmethod: $Directory.DirectoryUtils = $.DirectoryUtilsAlso, make sure you add your orphaned object to your_module Globals as"DirectoryUtils".-alex------Original Message-----From: eLink Discussion: Livelink Builder Discussion[mailto:componentbuilder@elinkkc.opentext.com]Sent: Tuesday, June 22, 2004 9:03 PMTo: eLink RecipientSubject: Orphaned function not executingOrphaned function not executingPosted by Hutson, Kevin on 06/22/2004 08:57 PMHi,I am trying to override one function (and only one function) in DirectoryServices 2.2.2.ResetLivelinkPasswords function located at - Directory Root: Directory:DirectoryUtils: ResetLivelinkPasswordsSo, I followed the "Creating a Livelink Module" tutorial using the Builderdocumentation.Only, I don't want to create an AddressBook, so I stopped at the "Setting upNew Node Types".All I want to do is orphan one function so I can insert an extraconditional.I created the module.The module installs and uninstalls.However, my function does not execute.I have put in statements in the function so that it will write out to thelog file..WriteLogFile( logFileName, 'kmh test', 0, TRUE )However, when I review the log or the Builder debug console, I do not seethese log statements.So, my module is not firing.Any tips on where should I check to see that I registered everything so thatmy function will execute?Do I need to override more functionality?Thanks for any information you can point my way.I would happily post the custom module if that would help at all.Kevin HutsonTokyo Electron America[To reply to this thread, use your normal E-mail reply function.]============================================================Discussion: Livelink Builder Discussion
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=765419&objAction=viewLivelink
Server:
https://knowledge.opentext.com/knowledge/livelink.exe
Marcia_Gillespie-Norder_(tokeleadmin_-_(deleted))
Hi Alex, Thanks so much for the quick reply.Well, I added your line of code to my root startup as you asked.I appended the line to the end. It didn't work. I rebuilt my OS space , saved, exported. Restarted. If I open up Builder again and try to unlock my workspace, the debuger pop-up with an an error on this new line. I checked to make sure I named the orphaned item "DirectoryUtils". I have also tried calling it "Teldirectory DirectoryUtils". Please see attached screenshot. Does this structure look correct?I know that I must be missing something very easy.I think I am getting tripped up on the name of my globals?I have tried the following (my module name is teldirectory). All get errors when I try to open the OSpace again.$Directory.DirectoryUtils = $Teldirectory.DirectoryUtils$Directory.DirectoryUtils = .Globals.DirectoryUtils$Directory.DirectoryUtils = $Globals.DirectoryUtilsThanks so much!Kevin
Alex_Kowalenko_(akowalen_(Delete)_2285456)
Message from Alex Kowalenko via eLinkPreviously I mentioned:> Also, make sure you add your orphaned object to your_module Globals as"DirectoryUtils".In other words, Make sure that Teldirectory Globals has a feature called"DirectoryUtils" that points to your orphaned DirectoryUtils object. To dothis, right click the DirectoryUtils object shown in your screenshot andselect "Add To Globals..."-alex------Original Message-----From: eLink Discussion: Livelink Builder Discussion[mailto:componentbuilder@elinkkc.opentext.com]Sent: Wednesday, June 23, 2004 12:29 PMTo: eLink RecipientSubject: RE- RE Orphaned function not executing[Attachments exceeded pre-set size limits. Use the links provided to access]RE- RE Orphaned function not executingPosted by Hutson, Kevin on 06/23/2004 12:25 PMHi Alex,Thanks so much for the quick reply.Well, I added your line of code to my root startup as you asked.I appended the line to the end.It didn't work. I rebuilt my OS space , saved, exported. Restarted.If I open up Builder again and try to unlock my workspace, the debugerpop-up with an an error on this new line. I checked to make sure I named theorphaned item "DirectoryUtils". I have also tried calling it "TeldirectoryDirectoryUtils". Please see attached screenshot. Does this structure lookcorrect?I know that I must be missing something very easy.I think I am getting tripped up on the name of my globals?I have tried the following (my module name is teldirectory). All get errorswhen I try to open the OSpace again.$Directory.DirectoryUtils = $Teldirectory.DirectoryUtils$Directory.DirectoryUtils = .Globals.DirectoryUtils$Directory.DirectoryUtils = $Globals.DirectoryUtilsThanks so much!Kevin[To reply to this thread, use your normal E-mail reply function.]============================================================Attachment link: ScreenShot033.jpg
https://knowledge.opentext.com/knowledge/livelink.exe/3571751/ScreenShot033.jpg?func=doc.Fetch&nodeid=3571751============================================================Topic
: Orphaned function not executing
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=3569145&objAction=viewDiscussion
: Livelink Builder Discussion
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=765419&objAction=viewLivelink
Server:
https://knowledge.opentext.com/knowledge/livelink.exe
Marcia_Gillespie-Norder_(tokeleadmin_-_(deleted))
Hi Alex,That worked! Thank you so much!!It is a good feeling when it finally works.Not to commit blasphemy on this discussion, but I cannot wait until we can start using JavaModules as there is a little "magic" involved with figuring out how Builder works IMHO :-) I know how to use Eclipse, not Builder.I did not see anything in the docs that would tell me to invoke my custom function using that method.Oh well. As long as it works.Cheers,Kevin
Magnus_S_(novnoruser_-_(deleted))
Is there anyone running any Java beta ??Looking into this discussion group it seems to be to little happening in the development area of Livelink even in the ospace arena.......What directions are Livelink developers seeing company takes? Is everyone waiting on Java or what are you doing out there ??a) develop new modules in Oscriptb) waiting for Javac) try use standard livelink not mored) use semi develop solutoins like doing things in webforms e) using other plattforms like webparts (sharepoints)RegardsPs. Documentation of builder/ ospace seems to have stopped with version 8.1. Sorry to say....