Focal Point
[CLOSED] HTML Title attribute for MRE views

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

September 11, 2012, 01:24 PM
J.Hines
[CLOSED] HTML Title attribute for MRE views
I have several views defined in MRE, and regardless of which one I'm viewing, the title on the browser tab is "WebFOCUS Business Intelligence Dashboard" even though I have set a Description for the content of the view, a Page Description, and a Block Name.

Where can I change the default tab name to something more meaningful?

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



Prod: 8.2.0.4 OS:Windows 10 Output:AHTML, Excel 2007+

The life of a designer is a life of fight against the ugliness.
September 12, 2012, 12:44 PM
nd
There's a workaround to change the default browser page/tab title for the Business Intelligence Dashboard. However, it doesn't do it on a view-by-view basis.


quote:
A. Locate the intl.jar file under the following directory:
\ibi\WebFOCUS77\webapps\webfocus77\Web-INF\lib\intl.jar

B. Make a directory called temp (C:\temp). Copy the jar file to this temp
directory. All the changes will be made to the "copy" before it replaces
C. Unjar the "copied" jar file. Perform the following jar command from within
DOS, to unjar the jar file. Again, this will be done to the copy made in
Step B: C:\temp>jar xf intl.jar

D. Review unjar'd jar file. The directory structure will now be available for
you in your temporary directory. You can issue the following C:\temp>dir

E. Delete the "copied" jar file because once you make your change to whatever
file, we're going to re-create the jar file. This will be the jar file set
in the C:\temp directory.

F. At this point, you have the entire unjar'd intl.jar file. You need to
locate the WORP_Bundle_en.properties located under:
C:\temp\ibi\intl

G. Locate the DBTitle=WebFOCUS Business Intelligence Dashboard under the
Dashboard Title section

H. Replace it with whatever other wording you want / Save Changes

I. Once your change(s) have been made, you now need to re-create the JAR
file. Perform the following jar command from within DOS:
jar -cf intl.jar *

J. Copy the newly created jar file from the C:\temp directory into the
\ibi\WebFOCUS77\webapps\webfocus76\Web-INF\lib\intl.jar file.

K. Reload your Web Application and recycle the Web Server for the changes to
take effect.

* Please keep in mind that if you upgrade these changes will not transfer over
and will require you to follow these steps again.


I suggest that you also put in a case/feature request with IBI.


WF: WebFocus 7.7.03
Data: Oracle, MSSQL, DB2
OS: Windows
Output: HTML/AHTML,PDF,EXL2K FORMULA, COMT
September 12, 2012, 01:43 PM
J.Hines
Thanks nd, good to know. But as you said, not what I'm going for. I want to be able to give each view a title.

As to putting in a new feature request, through the tech support system I can only find the option to open a new case for problem management. How does one go about submitting a new feature request?



Prod: 8.2.0.4 OS:Windows 10 Output:AHTML, Excel 2007+

The life of a designer is a life of fight against the ugliness.
September 12, 2012, 01:50 PM
Francis Mariani
You open a case to request the new feature. (I prefix the case summary with "NFR".) If the feature is deemed worthy (provide a good business reason for the request) it goes to the Product Division and then you wait.


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
February 07, 2013, 10:44 AM
J.Hines
Found this other thread where Josh recommended a Javascript solution that works for me. I just put the following code in the Javascript window_onload() function of my HTML file in MRE:
parent.parent.parent.document.title='my custom title';




Prod: 8.2.0.4 OS:Windows 10 Output:AHTML, Excel 2007+

The life of a designer is a life of fight against the ugliness.