Was/Is your agent using any front-end classes? That would be the first culprit to look for if it fails (i.e. returns a status = non-zero). If you're well beyond that, what does the agent being invoked by RunOnServer do and where does it put the data? Since RunOnServer only returns a status message the data is consumed and disposed by that agent, there's no way to directly communicate it back to the calling agent. That's why it is typically used with web applications, where they can create one or more documents in the back-end that the web app can redirect the browser to. When using a Notes client-based app you can pass the current documents NoteID to the agent, have the agent update that doc, and then if successful you can use NotesUIDoc.Refresh to see the updated results. Good Luck!
Dig Deeper on Domino Resources - Part 5
Related Q&A from Scott Lemieux
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.