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.
I know that this is an old post, but I wanted to share this solution that I found in case anyone else is searching for an easier solution. I found out that you can just put in an HTML FORM at the end of the LAST component to be able to modify the js and CSS of the active dashboard.
The following code is an example of how it works on my end in WF 8105M:
ENGINE INT CACHE SET ON
SET PAGE-NUM=NOLEAD
SET EMPTYREPORT=ON
COMPOUND LAYOUT PCHOLD FORMAT AHTML
SECTION=Section_1, LAYOUT=ON, PAGESIZE=LETTER, ORIENTATION=PORTRAIT, SHOW_GLOBALFILTER=OFF, ACTIVE_UNITS=PTS, PAGECOLOR=RGB(255 255 255), $
PAGELAYOUT=1, NAME='Page 1', TEXT='Page 1', LEFTMARGIN=0.25, RIGHTMARGIN=0.25, TOPMARGIN=0.25, BOTTOMMARGIN=0.25, $
COMPONENT=Table_1, COMPONENT-TYPE=REPORT, POSITION=(0.21875 0.489583), DIMENSION=(4 3), $
PAGELAYOUT=2, NAME='Page 2', TEXT='Page 2', LEFTMARGIN=0.25, RIGHTMARGIN=0.25, TOPMARGIN=0.25, BOTTOMMARGIN=0.25, $
COMPONENT=Table_2, COMPONENT-TYPE=REPORT, POSITION=(0.25 0.25), DIMENSION=(5 5), $
END
SET COMPONENT=Table_1
TABLE FILE ibisamp/car
BY CAR.COMP.CAR
BY CAR.ORIGIN.COUNTRY
ON TABLE SET STYLE *
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
ENDSTYLE
END
SET COMPONENT=Table_2
TABLE FILE ibisamp/car
SUM CAR.BODY.SEATS
BY CAR.CARREC.MODEL
ON TABLE SET STYLE *
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
ENDSTYLE
END
-HTMLFORM BEGIN
<style>
.arDashboardBar {
font-family:Arial,tahoma,verdana;
font-size:12px;
font-weight: bold;
background: white;
background-color:#A9351A;
color:white;
}
.arDashboardBarButton {
padding-left:4px;
padding-right:4px;
padding-top:4px;
padding-bottom:4px;
text-align:center;
font-weight:normal;
background: white;
background-color:#A9351A;
color:white;
}
.arDashboardBarButtonSelected {
padding-left:4px;
padding-right:4px;
padding-top:4px;
padding-bottom:4px;
text-align:center;
font-weight: bold;
background: white;
background-color:white;
color:#A9351A;
}
</style>
<script>
ibiMsgStr['paglinetext'] = "Records %frcs-%lrcs of %trcs total records, Page %inds of %pgs<span id='smsg%tn'><\/span>";
ibiMsgStr['Layouts'] = "View by: &|nbsp;&|nbsp;&|nbsp; ";
</script>
-HTMLFORM END
COMPOUND END
Hallway
Prod: 8202M1
Test: 8202M4
Repository:
OS:
Outputs:
Posts: 608 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015
Thank you. This solution is perfect! Just yesterday, I spent hours looking at “arcompound.js” and could not figure out what part to change. You saved me from a lot of frustration.
I believe the documented method for removing or replacing Layout is as follows:
Create a javascript file in apps/baseapp call it irpcusf.js Put the following code in the js file:
// JScript source code
// ArApi is set to the activeReport object
var ArApi = null;
function user_init() {
if(ArApi==null) ArApi=new getAReportObj();
// ADD CUSTOM CODE HERE
}
// This overwrites the text presented prior to the panels.
ibiMsgStr['Layouts'] = "";
If you want to replace Layouts with something else just put that word between the "" in the ibimsgStr line in the bottom.