Solved

Using URL To Pass Variables That Generate Views

Posted on 2000-03-14
3
293 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
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

785 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