• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 172
  • Last Modified:

opening pages

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?
0
anime18angel
Asked:
anime18angel
  • 3
  • 2
1 Solution
 
ZvonkoSystems architectCommented:
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?
Like:
Call workspace.OpenPage("ThankYou")


0
 
anime18angelAuthor Commented:
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?

thanks.
0
 
ZvonkoSystems architectCommented:
That would be the best choice.
Do not mess WebQureyOpen/Save with QueryOpen/Save agents.

0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
scottrmaCommented:
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.

Regards,

Scott
0
 
anime18angelAuthor Commented:
i knew it.

well, thanks to the both of you.
0
 
ZvonkoSystems architectCommented:
The regular grading is an A.

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

0

Featured Post

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.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now