Link to home
Start Free TrialLog in
Avatar of pdliles
pdliles

asked on

Using URL To Pass Variables That Generate Views

How can I get different "Views" of the Domino data by passing variables in the URL without having to hardcode the views???

In Cold Fusion, I can pass a field value and run an SQL statement to extract and display what I want! Domino/Notes does use SQL but isn't there some way of requesting the data (view) to be generated via the URL without hardcoding the view???
Avatar of sam_clayton
sam_clayton

AFAIK there is no way to do what you want.
You can restrict by user by using $Readers fields on the documents in the view.
You can time restrict using @Now/@Today in the view selection

What I did when I needed to do something similar to what you want is wrote an agent that did a database.search to get a doc. collection and then loop through them building html to output in 'view-ish' format.

Cheers,
Sam
Hi


If I got you right, you need to send a query to the domino server and extract the matching documents.

For that you can use search method to accomplish this.

search Lotus Notes and the Internet database located in doc directory for more info on search methods

Good Luck
~Hemanth

ASKER CERTIFIED SOLUTION
Avatar of DaddyDawg
DaddyDawg

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