Link to home
Start Free TrialLog in
Avatar of Make_It_Happen
Make_It_Happen

asked on

The specified agent does not exist.

The database launch properties are such:
When opened in the Notes client - Open designated Frameset
When opened in in a browser - Use Notes launch option

The frameset has three frames:  1)  Page - a banner at the top, 2)  Page - an outline on the side, and 3)  a URL with a computed value in the 'high rent district' of the frameset.

My agent is invoked when a person using the Client clicks an outline entry that is a computed action, @Command([ToolsRunMacro]; "agent_name").

Upon the click, the person gets the error message.  However, if they click an an outline entry to open up a Notes view, THEN got back to click the entry that runs the agent, it works.

It's as if the application needs focus, like it needs to know that it's IN the database or the Client
before it acknowledges that the agent does in fact exist.

Pages, Framesets and Navigators kinda confuse me.  And, playing around the the launch options doesn't seem like a solution as most of the users of this application do not have access to see and use the outline entries that show the client views and run the agent.  So, I can't default the Notes launch option to something most people can't access.  I need some help, please.
ASKER CERTIFIED SOLUTION
Avatar of mbonaci
mbonaci
Flag of Croatia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Make_It_Happen
Make_It_Happen

ASKER

You certainly pointed me in the right direction, I basically needed to simulate what DID work which was to first open a view from the navigator THEN run the agent.

My code on the computed action outline entry:
@SetTargetFrame("WebPageFrame");
@Command([RefreshFrame]; "WebPageFrame" );
@Command([OpenView]; "OpenSnipers");
@Command([ToolsRunMacro]; "CreateFailedSHFLOGEntryFromSniper")
Avatar of Sjef Bosman
Was the URL returned by the agent an absolute or relative URL ?