Focal Point
[CLOSED]Redirect to different portal

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7337082386

August 02, 2016, 03:47 PM
Dusty
[CLOSED]Redirect to different portal
Hello!

Suppose I have two portals in my WebFOCUS environment: Portal A and Portal B, and suppose that a user can access these portals by navigating to http://webfocus.server.com/ibi...s/bip/portal/PortalA and http://webfocus.server.com/ibi.../bip/Portal/PortalB, respectively.

We would like to redirect users trying to access Portal A to the URL for Portal B.

Is this possible to do?

This message has been edited. Last edited by: <Emily McAllister>,


WebFocus 8008,Server: Ubuntu Linux, Output: html/excel/pdf
August 02, 2016, 04:30 PM
Francis Mariani
I don't think there's a built-in redirection option. The easiest way would be to create an HTML file in the Repository that has the redirection code, and then embed that HTML file in the portal - perhaps in a container in the banner. I *think* this will work, though I haven't tried it.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
August 02, 2016, 04:33 PM
John_Edwards
You can do it in your local Domain Name Service as well.



August 03, 2016, 07:21 AM
GavinL
Question is, are you doing this permanently? Older version to redirected to new version for instance. If so, then just replace you portal page on the old with a fex/html that has this in the pages content:

<script>
top.location.href = '/ibi_apps/bip/Portal/PortalB';
</script>




- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
December 05, 2019, 02:27 PM
Curt
Thanks GavinL, that was just the solution I needed!


WebFOCUS 8.1.05
Windows, All Outputs