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     [CASE-OPENEND] How to override portal title limit of 25 characters?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CASE-OPENEND] How to override portal title limit of 25 characters?
 Login/Join
 
Platinum Member
posted
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.

Rhonda

This 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, 2007Report This Post
Expert
posted Hide Post
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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Guru
posted Hide Post
Rhonda,

The following may help you out with this question as well.


In the Portal, there is a 24 character limit when you display by Title. If you
display by Name, the limit is 64 characters.

You can right click the Content Folder and change the view from "Display by
Title" to "Display by Name".

Thank you for participating in the Focal Point Forum.

Kindest regards,
Tamra Colangelo
Focal Point Moderator - Information Builders Inc.
* Summit 2016 – June 13-17 in Reno, Nevada  - http://www.informationbuilders.com/events/summit


WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
 
Posts: 487 | Location: Toronto | Registered: June 23, 2009Report This Post
Platinum Member
posted Hide Post
Hi Tamra,

Unfortunately we cannot sort by name. It goes against the standards set up for the application. Thanks for your suggestion.

Regards,
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, 2007Report This Post
Expert
posted Hide Post
Rhonda, you haven't explained...
quote:
How did you enter a title with more than 25 characters?


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Platinum Member
posted Hide Post
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, 2007Report This Post
Guru
posted Hide Post
Rhonda,

This is a known issue and is being worked on by the IBI programming department.

Your case has been added to the project.

Thank you for participating in the Focal Point Forum.

Kindest regards,
Tamra Colangelo
Focal Point Moderator - Information Builders Inc.
* Summit 2016 – June 13-17 in Reno, Nevada  - http://www.informationbuilders.com/events/summit


WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
 
Posts: 487 | Location: Toronto | Registered: June 23, 2009Report 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     [CASE-OPENEND] How to override portal title limit of 25 characters?

Copyright © 1996-2020 Information Builders