Focal Point
Dashboard

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

February 26, 2008, 07:37 PM
Craig B
Dashboard
I need to change the URL used when I click the logoff button on my dashboard. I don't want my users to be sent to the apps page. Everything I've read says to select the group view and click on settings. Then change the redirect setting. Unfortunately I don't see a redirect setting.

How can I update the logoff setting?

Signed: New and Frustrated!


WebFOCUS 7.6.2
DB2, V5R4
Output: PDF
February 27, 2008, 01:42 AM
Pete
Hi Craig,

Try this :

On WebFOCUS client server in the folder ibi\WebFOCUS53\worp\conf
edit the file bid-config.xml.


Change :

  <response-redirect request-context="logoff-success">
    <context-redirect url="&WELCOME;"/>
</response-redirect>


in

  
<response-redirect request-context="logoff-success">
    < !--<context-redirect url="&WELCOME;"/>-->
   <x-redirect url="http://www.google.com"/>
 </response-redirect>

Hope it helps a bit,

P.


D: WF 7.6.2 P. : WF 7.6.2 on W2003
------------------------------------------------------------------
I see myself as an intelligent, sensitive human, with the soul of a clown which forces me to blow it at the most important moments.

-Jim Morrison-

February 27, 2008, 02:47 AM
Tony A
Don't forget to recycle your web-apps service (e.g. Tomcat or New Atlanta etc.) to get the change brought into use.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
February 27, 2008, 02:14 PM
Craig B
Pete, Thanks for your help. Not sure I would've found this file otherwise.

Tony, thanks for the reminder about bouncing the server. I'm sure I would've thought about that (after 3 or 4 unsuccessful attempts!) lol


WebFOCUS 7.6.2
DB2, V5R4
Output: PDF
March 11, 2008, 09:54 AM
Kamesh
Hi,
The one Pete suggested will redirect us to the main page or whatever URL we are mentioned. But my question is, if we have two groups then we will have two different URL's. I want each group to point corresponding URL when we logoff. Can anybody let me know how to do that?

Hope I put my question in a right way. If you need further clarification, please let me know.

Thanks


WFConsultant

WF 8105M on Win7/Tomcat
March 11, 2008, 10:11 AM
Francis Mariani
When I suggest a configuration change, I usually point to the pertinent documentation. The Dashboard Logoff Window customization is described in the

WebFOCUS Managed Reporting Administrator's Manual
(Version 7 Release 6.1 and Higher) > Chapter 6: Customizing Dashboard > Customizing the Logoff Window.

quote:
When users log off from a view in Dashboard, they are redirected to the Welcome Page by default. You can customize the logoff window for specific views, or all views, to direct users to another page within Dashboard or a Web page outside of Dashboard. For example, when a user clicks the Logoff link in the Dashboard banner, you can have your company's Web site open.


Two procedures are described:

- How to Customize the Logoff Window for Specific Views

- How to Customize the Logoff Window for All Views


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
March 11, 2008, 11:19 AM
Kamesh
Yes I agree with you but this feature not available in Webfocus version 716. I think this is the new feature in Webfocus 761 and higher.
Correct me, If I am wrong.

Is there any work around for this?
March 11, 2008, 11:48 AM
Francis Mariani
For releases below v7.6 I would play around with the "logoff-success" settings in bid-config.xml.

The documentation in 7.1 states that you comment this out:
<response-redirect request-context="logoff-success">
<!--
<context-redirect url="&REDIRECT;" hrefs-per-row="5">
<href src="&MPV;" text="mpvHREFTextShort" context-asset="true"
localize-text="true"/>
<href src="&GBV;" text="gbvHREFTextShort" context-asset="true"
localize-text="true"/>
<href src="&LOGIN;" text="loginHREFTextShort" context-asset="true"
localize-text="true"/>
<href src="&INDEX;" text="indexHREFTextShort" context-asset="true"
localize-text="true"/>
</context-redirect>
-->
</response-redirect>

and replace it with this:
<x-redirect url="my_url"/>


Since it appears &GBV (view name) is a variable available in bid-config.xml, it shouldn't take too much hard work to construct "my_url" using the view name - some experimentation required.


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
April 10, 2008, 02:37 PM
LakVenkat
I have set




it work perfectly the first time. Shows the login page when logoff is pressed as intended.

But when I login second time, my dashboard shows a blank screen and if press F5 (Refresh), it displays the content.


Version 764 on iSeries, V5r4, Client running on Tomcat 5.xx
April 10, 2008, 02:56 PM
LakVenkat
I have set

   <response-redirect request-context="logoff-success">
    <context-redirect url="&LOGIN;"/>
</response-redirect>



it work perfectly the first time. Shows the login page when logoff is pressed as intended.

But when I login second time, my dashboard shows a blank screen and if press F5 (Refresh), it displays the content.


Version 764 on iSeries, V5r4, Client running on Tomcat 5.xx


Version 764 on iSeries, V5r4, Client running on Tomcat 5.xx
July 16, 2009, 12:50 PM
CopyQueen
I want to redirect my users to the group view login page when their session times out. These posts are for when logoff is clicked. Any idea how to do this on timeout?

KH


Production: WebFOCUS 7.6.1
Test: WebFOCUS 7.6.9
Windows 2003, Unix AIX
All