Rollbase user login

Posted by dora.husaru on 17-Aug-2016 03:08

Hi

We have a user which has access to multiple applications. By providing a link with the pageId,tabId and appId,  we want a certain application to be accessed by the user. Instead the application that is shown is not the one in the initial link, but the last application the user used.
Is there any way the user won't be redirected to the last visited app, but to the one provided by the link?

Posted by Santosh Patel on 30-Sep-2016 16:29

There is absolutely a way to do this. You will need to configure custom login pages to do this and then use the 'o' form parameter to pass in the landing page details that you want.

Check the details on how to configure such a page here documentation.progress.com/.../index.html

Your different environment's login pages can have the 'o' parameter point to different application pages. Note that you will have to urlencode the value for the 'o' parameter. See example below.

This is a sample resultant url for simplification. You should actually be creating an html form with all the parameters mentioned in the doc link.

www.rollbase.com/.../Router

Use an online encoder for a one time job www.w3schools.com/.../ref_urlencode.asp

Actual content of 'o' parameter was m/main.jsp?pageId=255454608&appId=255454407&tabId=255454682 which marks my landing app, tab and page. This can be any valid page in Rollbase.

Let us know how it goes.

All Replies

Posted by Srinivas Panyala on 17-Aug-2016 03:22

Yes, we have to configure the landing page for that user role. Please refer the following documentatio.

documentation.progress.com/.../index.html

Thanks

Srinivas

Posted by dora.husaru on 17-Aug-2016 03:56

Thank you for the reply. Unfortunately it doesn't solve my problem, since the user can login from different environments, and depending on the environment a different application (for the same user role ) should be accessed.

Isn't there a way to "force" the opening of a certain application page based on the URL?

Posted by Mani Kumar on 30-Sep-2016 02:13

Hi Dora,

Unfortunately, there is no such feasibility in Rollbase, however, your requirement represents an Enhancement to the product, request you to log one in our IDEAS section.

For detailed information on how to submit an Idea please visit our knowledgebase at: knowledgebase.progress.com/.../P11255

Regards,,

Mani.

Posted by Santosh Patel on 30-Sep-2016 16:29

There is absolutely a way to do this. You will need to configure custom login pages to do this and then use the 'o' form parameter to pass in the landing page details that you want.

Check the details on how to configure such a page here documentation.progress.com/.../index.html

Your different environment's login pages can have the 'o' parameter point to different application pages. Note that you will have to urlencode the value for the 'o' parameter. See example below.

This is a sample resultant url for simplification. You should actually be creating an html form with all the parameters mentioned in the doc link.

www.rollbase.com/.../Router

Use an online encoder for a one time job www.w3schools.com/.../ref_urlencode.asp

Actual content of 'o' parameter was m/main.jsp?pageId=255454608&appId=255454407&tabId=255454682 which marks my landing app, tab and page. This can be any valid page in Rollbase.

Let us know how it goes.

Posted by dora.husaru on 18-Oct-2016 09:44

Hi,

Only today I got to try this out and the solution you recommended worked.

Thanks for your reply,

Dora.

This thread is closed