Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: How can I print info from an agent to a view?
~Patti Opfoolitader 22.Dec.03 03:19 PM a Web browser
General All Releases All Platforms


Hi,

If I've understood your question correctly you have a document that triggers a webquerysave agent that carries out your sql query and gets a set of documents that you the want to display back to the browser. If your form does not have a $$Return field then any print statements that you have within your agent will output to the browser, displaying a new page for you. So, you should change your line
'Print "[/" & db.ReplicaID & "/0/" & doc.UniversalID & "]"

to
Print "<a href=""/" & db.ReplicaID & "/0/" & doc.UniversalID & "?opendocument"">some descriptive text</a>"

You should replace the "some descriptive text" with a value from each document such as a subject or title field. This will then display your page with all.your htmltable commands plus a list of url links to each document you retrieved in your query. Hope that helps




How can I print info from an agent ... (~Lisa Opboosith... 19.Dec.03)
. . RE: How can I print info from an ag... (~Patti Opfoolit... 22.Dec.03)
. . . . RE: How can I print info from an ag... (~Lisa Opboosith... 22.Dec.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS