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
agent.runagent
Appu_Nair
LL 9.7 SQL serverIn 9.5 and older we used to be able to test agents by a RH with this#ifdef DOCTo test with builder... - In opentext.ini set/add the following:[options]RunWithoutLogin=TRUE - In the browser type the following URL:
http://......./livelink.exe?func=notify.runagent
http://localhost/livelink/livelink.exe?func=notify.runagent&agent_list={'9883'}for
9.5
http://......./livelink.exe?func=agent.runagent
http://localhost/livelink/livelink.exe?func=agent.runagent&agent_list={'9883'}To
register with the subsystem...- set .fenabled to true- set .fagentid = whatver- run __Init()- BuildOSpaces - using your globals object- stop/start#endifIn 9.7 it comes to the said request handler but is looking for inside the codeif IsFeature( .fCookieData, 'LLCookie' ) there is nothing filled in.However I debugged a regular LL RH it does have it.Can somebody out there with 9.7 see if they can still manualay force a func=agent.runagentI shall be very thanful for your help
Find more posts tagged with
Comments
John W. Simon, Jr.
Hello Nair,I was able to test an agent I have written using the procedures you mention. My agent never came across the "if isfeature(.fCookieData,'LLCookie')" you mention. Speaking of that, why would an agent be checking for a cookie???Regards,John Simon
Donna Nalls
Hello Appu,I agree with John: your procedures are correct and agent.runagent request handler should work if you have set the RunWithoutLogin feature in the [options] section of the opentext.ini.I stepped through the request handler and realized that you will hit the error message if you are not logged into Livelink when you invoke the request handler....So, you might want to check the following:-- runwithoutlogin is set correctly-- you are logged into livelink when you run the request (that is what the check for LLCookie in .fCookieData is for)Let us know how it turns out for you.Donna
Appu_Nair
Donna,John,Where would I be without you guys.I have isolated the problem to this install I am working on.It works fine on my computer the LLcookie feature is set.Now to see why this box is different.,I am logged in as Admin to the ent workspace and I also tried variations of it with and woithout logging into admin.index.The only thing yet to try is to login as the FQDN name I have been using localhost.Sory to start the scare...