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.
We have an application where we want to display a portal title name that is longer than the 25 character limit. This occurs as the portal is being loaded. The name gets truncated and the last two letters in the title are not displayed. Any one know how to change it and make the box wider? We have standards in place so that is why we cannot swap between the TITLE and NAME.
Any ideas are appreciated.
RhondaThis message has been edited. Last edited by: Tamra,
WebFOCUS & ReportCaster 8.1.05, 7.7.03 - AIX/LINUX, FOCUS 7.6.13 MVS, Output PDF, XLS-XLSX, DOCX and HTML
Posts: 146 | Location: Atlanta, GA | Registered: May 31, 2007
How did you enter a title with more than 25 characters? I cannot do it from the web interface. The only way I see to enter more more than 25 characters is to enter it in the database table BIP_NLS using SQL.
To show the Portal title in a banner in BIP, we created an HTML file containing some JavaScript that parses some BIP parameters to determine the title. This HTML file is added to the BIP top banner using the BIP editor.
If you did not use SQL to enter more than 25 characters for the title, or if you feel this is too drastic a technique, you may wish to ignore my post, but this seems the only way to take control of the portal title.
<!DOCTYPE html>
<html>
<head>
<title></title>
<style>
body { padding:0px; margin: 0px; }
#bipBannerTitle {
width: 98%;
font-family: Arial, sans-serif;
}
</style>
<script>
window.onload = function ()
{
var pTitle = "";
var pAlign = "left";
var pFontSize = "18px";
var pBipName = "";
var pBipTitle = "";
// capture BIP Name and Title
var w = (window.opener) ? window.opener.top : window.top;
if(w.hasOwnProperty('NewPageViewName'))
{
pBipName = w.NewPageViewName;
pBipTitle = w.NewPageViewTitle;
}
// capture window's URL and parse parameters looking for P_TITLE
var mainURL = window.location.href;
var comps = mainURL.split("?");
// see if there are actual URL parameters
if (comps.length > 1) {
var params = comps[1].split("&");
for (var i = 0; i < params.length; i++) {
var p = params[i].split("=");
// capture specific parameters
if ("P_TITLE" === p[0]) {
pTitle = decodeURIComponent(p[1]);
} else if ("P_ALIGN" === p[0]) {
pAlign = decodeURIComponent(p[1]);
} else if ("P_FONTSIZE" === p[0]) {
pFontSize = decodeURIComponent(p[1]);
}
}
}
var bipBannerTitle = document.getElementById('bipBannerTitle');
// set the BIP title
if (bipBannerTitle != null)
{
if (pTitle === "") bipBannerTitle.innerHTML = pBipTitle; else bipBannerTitle.innerHTML = pTitle;
bipBannerTitle.style.textAlign = pAlign;
bipBannerTitle.style.fontSize = pFontSize;
}
}
</script>
</head>
<body>
<div id="bipBannerTitle"></div>
</body>
</html>
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
Hi Francis - Our standards were to have the portal title and name be the same and for Title to be displayed and not Name. Even though so far only one portal has a Title longer than 25 characters, the Title to be displayed is in the application specs.
Rhonda
WebFOCUS & ReportCaster 8.1.05, 7.7.03 - AIX/LINUX, FOCUS 7.6.13 MVS, Output PDF, XLS-XLSX, DOCX and HTML
Posts: 146 | Location: Atlanta, GA | Registered: May 31, 2007