This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Mar 2, 2012, 5:16 PM
11 Posts
topic has been resolvedResolved

Variable Home XPage

  • Category: Other
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags: default xpage
  • Replies: 2
Hello,
 
Is there a way to redirect a user to a different "home" Xpage on different occasions?
I have an XPage app that uses mutliple xpages for different views. And different users want different "home" xpage as they work on different areas of the app.
I imagine storing the URL of the last xpage they accessed on their last session in a user profile and opening that when they click on the URL to open the app. Not sure to how exactly do this.
 
Is this possible?
Any directions/suggestions would help.
 
Thanks!
 
Chay
Mar 2, 2012, 8:25 PM
298 Posts
Use an XPage
You can have a Home XPage that has a beforePageLoad event that computes where the user should be taken to and then use XPage context.redirectToPage (“Page.xsp”) to move the user to the appropriate XPage (or any other url). Howard
Mar 5, 2012, 3:42 PM
11 Posts
Re: Variable Home XPage
Thank you Howard!
 
Yes, I figured that's how I'll do it--will redirect users to their default URLs which would be stored on their profile documents. Thanks a lot!
 
Chay

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal