Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Using URL To Pass Variables That Generate Views

Posted on 2000-03-14
3
Medium Priority
?
306 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 200 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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

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…
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…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

610 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