Reputation: 1299
I've been pondering this for a while, but can't think of a solution.
I have an XPage where I upload a file. The datasource has a WQS LotusScript agent that performs some processing on the file.
How can I communicate any result from this LotusScript agent back to the XPage?
Thanks!
/J
Upvotes: 0
Views: 125
Reputation: 20384
You use the in-memory document to pass to the agent and you get it back. See my example or its bean version. However I would challenge the benefits of talking to an agent. You pay every call with a 0.5-3sec performance penalty spinning up and shutting down the LotusScript engine.
Taking this into account your break even for sitting down and transform your agent into a Java class is "closer that it appears".
Upvotes: 2