opening pages

Posted on 2003-02-26
Medium Priority
Last Modified: 2013-12-18
I use this to automatically open a page after running a lotusscript web agent that would display a 'thank you' page.

Print "[/Test.nsf/ThankYou?OpenPage]"

It works on an internet browser but it doesn't work on the notes client. Any suggestions?
Question by:anime18angel
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
  • 2
LVL 63

Expert Comment

ID: 8031770
In notes client it is a simple print to bottom Status line.

The redirection is managed by Domino html engine and this is not in between when you run an agent on Client. The Client do it all without the engine.

But anyway. There are LotusScript commands to open Pages. So why do you not distinguish which environment you are running and open appropriate page method?
Call workspace.OpenPage("ThankYou")


Author Comment

ID: 8032064
thank you, but the OpenPage method under the NotesUIWorkspace class which doesn't work on web browsers.

what can I do do automatically open the ThankYou page using both notes client and web browser?

am I supposed to make two separate agents (one for the 'print method' and the other for OpenPage method) for that?

LVL 63

Accepted Solution

Zvonko earned 100 total points
ID: 8032354
That would be the best choice.
Do not mess WebQureyOpen/Save with QueryOpen/Save agents.

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.


Expert Comment

ID: 8035639
You can use @IsMember("$$WebClient"; @UserRoles) either as a formula by itself, or in a LotusScript Evaluate() function, to determine whether the user is a Notes client or a web browser, and the proceed in your code accordingly.



Author Comment

ID: 8038797
i knew it.

well, thanks to the both of you.
LVL 63

Expert Comment

ID: 8040224
The regular grading is an A.

And this was not your last question.
So next you knew better...


Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

770 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