Solved

Using URL To Pass Variables That Generate Views

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now