Solved

Using URL To Pass Variables That Generate Views

Posted on 2000-03-14
3
295 Views
Last Modified: 2013-12-18
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???
0
Comment
Question by:pdliles
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Expert Comment

by:sam_clayton
ID: 2616366
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
0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 2616986
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

0
 

Accepted Solution

by:
DaddyDawg earned 50 total points
ID: 2620807
If you are in Notes 5.x you can use a Show Single Category view (read about it in the Designer Help).  If you are in a version earlier than R5.x, you can create an agent that performs a search (NotesDatabase.DBSearch, or NotesDatabase.FTSearch if the db is full text indexed).  Call the agent using the ?OpenAgent url command, and pass the search params to the agent in the Query_String.  Use NotesSession.DocumentContext to get the Query_String, then perform the search and return the results.

DaddyDawg
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question