Hi
Please help me in providing te way to call a script library from an agent. how to pass parameters?? like that.
thanks
Sam
Hi
Please help me in providing te way to call a script library from an agent. how to pass parameters?? like that.
thanks
Sam
Subject: Call to script library from an agent
include the script library in your Agent in the (Options) tag using:
Use “Script Library Name”
then use the functions or subs defined in the script library normally.
hth. Sharjeel
Subject: Call to script library from an agent
Hi Sam and welcome to Lotus Script ![]()
Search for introduction to LotusScript for excellent documentation in the Lotus Notes Designer help.
basically:
In your library declare you Public function:
Public MyFunction (param1, param2) as returnParam
'Do something
’
’
'Return a result
MyFunction = returnValue
End Function
Subject: RE: Call to script library from an agent
See, i am calling a sub routine(in script lib) from an agent as Call exportrows(seldoc). here i am passing a seldoc as a notes document. And in the library i am getting the notes doc as
sub exportrows(gendoc as notes document)
xlapp.cells(row,1).value=gendoc.field1.
this is not getting executed. please help.