Hi EVERYONE !!! Long time no see - hope you're all well!
I'm generating a statistics-type document based on a db.Search using LotusScript. The script creates a document full of various stats on the search and adds statistics tables to the document by adding HTML to a RichTextField in that target document.
This all works fine. However I'm trying to add extra functionality to the Statistics document by making certain numbers into hotspots that will call another LotusScript agent when clicked.
The line of code that does this in the Statistic Document generating agent is as follows:
Call rtitem.appendtext("[<td align=""RIGHT"" bgcolor = ""#0031C6"" width=8%><a href=http://*****/*****/*******.nsf/BUILDER+for+LIST+Search+results?OpenAgent
"+"><b><font face=Arial size=2 color=""#00E100"">"+Cstr(x
This other agent (called "BUILDER for LIST Search results") needs to read information from the Statistics document from which it is triggered, but it doesn't seem to do so. In the "BUILDER for LIST Search results" agent I am using session.DocumentContext to try to access the values in the triggering Statistics document but it does not appear to be reading any field values at all. The purpose of this agent is to generate another document in the database that shows a HTML generated VIEW-type document of those documents relevant to the hotspot number that is clicked. And for this to happen I need to carry out String handling to access the relevant parts of the Search query which is stored in a field in the originating Statistical document.
I'm assuming this is a restriction in DOMINO R 5.0.2. - if not maybe someone could guess what I may be doing wrong.
If it is a known restriction in R 5.0.2. - could anyone offer me an alternative suggestion as to how I might hotspot values in the Statistical Document so I could generate another "view"-styled document by interpreting other fields on that Statistical document?
I hope ye can follow me - if not - let me know and I'll try to clarify further.
MANY THANKS IN ADVANCE TO ANYONE WHO HAS A GO AT THIS ONE!!!