Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SHARING] Customizing the Dashboard Login Page

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SHARING] Customizing the Dashboard Login Page
 Login/Join
 
Member
posted
Anyone know where I can find the code for the basic BI Dashboard login page? Same for the log out and change password pages.

I want to customize the look/feel while keeping the basic functionality, but I can't seem to find the code (on a linux install).

This message has been edited. Last edited by: Kerry,
 
Posts: 5 | Location: California | Registered: October 27, 2005Report This Post
Platinum Member
posted Hide Post
Hi Paul,

de jsp file is located in D:\ibi\WebFOCUS53\webapps\webfocus53\worp\jsp

and in D:\ibi\WebFOCUS53\ibi_html\images are the images that ibi uses for his login screen

We replaced the images by our company look and feel images .

We also took away the change password functionality as well as the invalid password behavior if you want pointers on one of these issues just let me know

Happy holidays !

Peter


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-

 
Posts: 206 | Registered: February 25, 2005Report This Post
Platinum Member
posted Hide Post
here are a few addons

1) If you dont want de change password functionality :

copy

D:\ibi\WebFOCUS53\webapps\webfocus53\worp\jsp”

“WORP_Loginsi.jsp” to “WORP_Login.jsp”


2) If you want to return to the login screen if the user entered an invalid password

change :

“D:\ibi\WebFOCUS53\worp\conf\bidconfig.xml”

Change following piece of code










into


< !--






-->




3) If you want to go to a certaim webpage on logoff

change in that same bid-config file










into



< !--






-->



Greetings

Peter


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-

 
Posts: 206 | Registered: February 25, 2005Report This Post
Platinum Member
posted Hide Post
ooops, seems like that code didnt come tru

any way if you want the code on any of these 3 topics

just shout and i will mail them


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-

 
Posts: 206 | Registered: February 25, 2005Report This Post
Member
posted Hide Post
Peter,
Thank you so much for the pointer. I'd love to get the code when you get a chance. And, if you don't mind sharing, I'd love to see examples of your changes (always interested in nice designs). Thanks again.

Paul
 
Posts: 5 | Location: California | Registered: October 27, 2005Report This Post
Expert
posted Hide Post
Pete,
put code tags around your code snippets and it'll come thru fine. a code tag is a left open square bracket (not a pointy one) followed by the word code and close the square bracket
and to end it, the same with a / in front of the word code.
to see that...on the menu above the post editing page(when you click Reply), at the far right in red , click that button.
PS-----
and Francis has just taught me another way.
on the Reply window page, click Options (on thelower left) and click Disable HTML.
very cool.

This message has been edited. Last edited by: susannah,




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Platinum Member
posted Hide Post
2)
  

<error-redirect error-context="19101">
    <context-redirect url="&ERROR;" 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>
</error-redirect>


into

 

<error-redirect error-context="19101">
<!--
    <context-redirect url="&ERROR;" 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>
   -->
   <x-redirect url="http://S11007/ibi_apps/worp/jsp/WORP_Login.jsp"/>
 </error-redirect>

 


3)



  <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>



into

  


  <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>
   -->
   <x-redirect url="http://www.randstad.be"/>
  </response-redirect>



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-

 
Posts: 206 | Registered: February 25, 2005Report This Post
Platinum Member
posted Hide Post
Thanks for the pointers susannah !


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-

 
Posts: 206 | Registered: February 25, 2005Report This Post
Platinum Member
posted Hide Post
Paul,

If you would like some screen shots just give me an email address so that i can mail it to you

Peter


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-

 
Posts: 206 | Registered: February 25, 2005Report This Post
Member
posted Hide Post
Hi, Pete,

I using webfocus76, i tried to edit the bid-config file to redirect the logoff page to another web page following your method, however the content of the bid-config file seems different from what you had posted on the forum, can you let me know how can i do it in webfocus76?

From Seek Wai


WebFOCUS 76
Windows, all output
 
Posts: 6 | Registered: January 03, 2010Report This Post
Expert
posted Hide Post
quote:
the content of the bid-config file seems different from what you had posted on the forum
I'm not surprised as that post was from 4 years ago and a few different releases have occured since then and there can always be slight but significant changes.

However, the process is very similar so the above should lead you to what you need. For instance, we have redirected a successful logoff back to the login page -

<response-redirect request-context="logoff-success>
  <context-redirect url="/bid-login?"/>
</response-redirect>

All of which is not far removed from Pete's postings.

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 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Member
posted Hide Post
quote:

Hi, Tony,
Thank you for your reply, i did that changes you mentioned before i post my question here, but it still redirect back to the welcome page, that's why i wonder is there any other settings involve?

From Seek Wai


WebFOCUS 76
Windows, all output
 
Posts: 6 | Registered: January 03, 2010Report This Post
Expert
posted Hide Post
Seek,

What is the path of the file that you are editing?

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 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Member
posted Hide Post
Hi, Tony,

this is the path i edit the bid-config.xml
installed_path\ibi\WebFOCUS76\worp\conf

from seek wai


WebFOCUS 76
Windows, all output
 
Posts: 6 | Registered: January 03, 2010Report This Post
Expert
posted Hide Post
Seek,

OK, that's the correct file, so now the next step, what is your exact code now? - remember to place the code between [ code] and [/code]

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 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Gold member
posted Hide Post
In 769 there is no reason to modify the code to redirect. It is done in the Dashboard's View Builder utility. Select the view you want to modifu=y the redirect for and then select "Edit Settings". The Redirect settings are at the bottom of that page. You can refer to the Dashboard documentation for the rest. You only have to alter the WORP_Login.jsp file if you want to customize the Login Page itself.


WF 7703M, XP/Win7, MRE, RC, BID, PMF, HTML, PDF, Excel 2000/7/10
 
Posts: 73 | Location: NY | Registered: February 06, 2007Report This Post
Gold member
posted Hide Post
Seek,
This is what we had to do to redirect:

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

  <response-redirect request-context="password-change-success">
    <context-redirect url="&REDIRECT;" hrefs-per-row="5">
      <href src="&MPV;" text="mpvHREFTextShort" context-asset="true" localize-text="true"/>
      <href src="&LOGIN;" text="loginHREFTextShort" context-asset="true" localize-text="true"/>
      <href src="&VBLOGIN;" text="vbloginHREFTextShort" context-asset="true" localize-text="true"/>
      <href src="&WELCOME;" text="indexHREFTextShort" context-asset="true" localize-text="true"/>
    </context-redirect>
-->
  <x-redirect url="http://www.friends.edu"/>
  </response-redirect>



Note the x-redirect.
Hope this helps.
Paul


Prod: WF 7.7.05, BID, MRE, 7.7.06M Server, Windows 2008, RedHat, Oracle 11gR1, MS Office 2010
Test: I wish we had one!
 
Posts: 75 | Location: Wichita, KS | Registered: February 19, 2008Report This Post
Member
posted Hide Post
AlexU's approach is correct for your release, I believe this was added in 7.6.4. No longer do you have to change the bid-config.xml which was tedious and ever changing. Now you can set the redirect for each view independently through the Dashboard View Builder.


all Versions and Platforms
 
Posts: 15 | Registered: September 14, 2009Report This Post
Virtuoso
posted Hide Post
thanks for this posting, needed this




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Member
posted Hide Post
Hi,
Thank you for all of your replies, I manage to fixed the problem by following Alex method. The other question is when i have many views created, but just wanted to redirect all the views to 1 logoff page only, i have to edit the all the view setting 1 by 1, or is there anyway it will apply the setting to all the views?

From Seek Wai


WebFOCUS 76
Windows, all output
 
Posts: 6 | Registered: January 03, 2010Report This Post
Virtuoso
posted Hide Post
I do things a little different. I make one change that then will affect all of the login/logoff pages. I create a JSP page that I add to the web app in the root directory.
<%@ page language="java" contentType="text/html"%>
<%
	response.setStatus(HttpServletResponse.SC_MOVED_PERMANENTLY);
	String newLocn = "/approot/bid-login.htm";
	response.setHeader("Location", newLocn);
%>  


This redirects to a custom login page. Then I change the web focus web.xml to make this the default page of the web app by changing the 'welcome-file-list' tag.
  <welcome-file-list>
    <welcome-file>bid-login.jsp</welcome-file>
  </welcome-file-list>
  


Now the default page of the /ibi_apps context is the login page, and all logoff actions go to this page as well.

It's a little more of a hammer then what you may want, but it does the job.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SHARING] Customizing the Dashboard Login Page

Copyright © 1996-2020 Information Builders