Opening a Document With an Agent

I would like to create an action button in a view that allows me to preview document content on the web via an agent.

I have agents that build HTML pages from the content of a single form. I want to be able to click the button and see the contents of the fields that agent pulls, in this case six images.

Subject: Opening a Document With an Agent

just an idea…if I understand correctly?

Not sure how to do the agent, but I use the $$Return field to open a document just submtted using

“[/newhrbe.nsf/showme?openform&”+uniqueid+“&”+docid+“]”.

If you create a "http://server/yourdabase/code above with the document id, you should be able to open and view it.

Again, not sure how to pass the values to the agent?