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.
This is what I used: HYPERLINK-COLOR=RGB(3 1 5) ... I like that number.
I Want The Drilldown Link Text To Be: COLOR=BLACK, SIZE=8, STYLE=-UNDERLINE+BOLD.
What am I missing?
TABLE FILE CAR
"I Want The Drilldown Link Text To Be COLOR=BLACK, SIZE=8, STYLE=-UNDERLINE+BOLD"
SUM DCOST RCOST
BY COUNTRY BY CAR BY MODEL BY TYPE BY SEATS
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/enwarm.sty,$
GRID=OFF, BORDER=OFF, FONT=ARIAL, SIZE=9, STYLE=NORMAL,$
TYPE=HEADING, FONT=ARIAL, SIZE=10, STYLE=ITALIC+BOLD,$
TYPE=DATA, COLUMN=COUNTRY, ALT='I Want Black Text Here.', TARGET='_blank',
COLOR=BLACK, SIZE=8, STYLE=-UNDERLINE+BOLD,
FOCEXEC=IBFS:/WFC/Repository/Vendor/Doug/ScrathPad.fex(ThisNumber=9 ThisValue='Doug'), $
END
This message has been edited. Last edited by: Doug,
In FOCUS Since 1983 ~ from FOCUS to WebFOCUS. Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
You're styling the text that the drilldown is on, not the drilldown itself.
I don't think you can do that with FOCUS styling, but you can with CSS by applying a style to the 'a'-tag.
If you want to limit the styling to only drilldown styles on the COUNTRY column, then it's possible to add CLASS=COUNTRY to the FOCUS style and use that as a class in the CSS stylesheet.
ON TABLE SET CSSURL='IBFS:/WFC/Repository/Vendor/Doug/doug.css'
...
TYPE=DATA, COLUMN=COUNTRY, CLASS=COUNTRY, , ALT='I Want Black Text Here.', TARGET='_blank', FOCEXEC=IBFS:/WFC/Repository/Vendor/Doug/ScrathPad.fex(ThisNumber=9 ThisValue='Doug'), $
END
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
TABLE FILE CAR
"I Want The Drilldown Link Text To Be COLOR=BLACK, SIZE=8, STYLE=-UNDERLINE+BOLD"
SUM DCOST RCOST
BY COUNTRY BY CAR BY MODEL BY TYPE BY SEATS
ON TABLE SET CSSURL='IBFS:/WFC/Repository/Vendor/Doug/html_dd.css'
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/enwarm.sty,$
GRID=OFF, BORDER=OFF, FONT=ARIAL, SIZE=9, STYLE=NORMAL,$
TYPE=HEADING, FONT=ARIAL, SIZE=10, STYLE=ITALIC+BOLD,$
TYPE=DATA, COLUMN=COUNTRY, ALT='I Want Black Text Here.', TARGET='_blank',
COLOR=BLACK, SIZE=8, STYLE=-UNDERLINE+BOLD,
FOCEXEC=IBFS:/WFC/Repository/Vendor/Doug/ScrathPad.fex(ThisNumber=9 ThisValue='Doug'), $
END
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
Sorry, I should have mentioned I live in the old world: my CSS files are located where they logically should be - on the web server, in one of the approot folders.
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
I'll move it there.And try again. How would I address it down there?
PS: Ne need to apologize for living in the old world. We all started someplace... PS: Ne need to apologize for living in the old world. We all started someplace...
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
ON TABLE SET CSSURL='IBFS:/WFC/Repository/Vendor/Doug/html_dd.css'
It should read (without the equals sign):
ON TABLE SET CSSURL 'IBFS:/WFC/Repository/Vendor/Doug/html_dd.css'
Francis may be right that the CSS file needs to live on the webserver. We don't use the content repository, so all our code is on the reporting server without those IBFS paths, so I had to take a guess there
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
Thanks Guys, Sorry for the delayed reply, this post got chopped and they fixed it.
So, Here's what I have now
TABLE FILE CAR
"I Want The Drilldown Link Text To Be COLOR=BLACK, SIZE=8, STYLE=-UNDERLINE+BOLD"
SUM DCOST RCOST
BY COUNTRY BY CAR BY MODEL BY TYPE BY SEATS
-* NG ON TABLE SET CSSURL=IBFS:/WFC/Repository/Vendor/Doug/html_dd.css
ON TABLE SET CSSURL IBFS:/WFC/Repository/Vendor/Doug/html_dd.css
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/enwarm.sty,$
-* NG INCLUDE = IBFS:/EDA/EDASERVE/Vendor/html_dd.css,$
GRID=OFF, BORDER=OFF, FONT=ARIAL, SIZE=9, STYLE=NORMAL,$
TYPE=HEADING, FONT=ARIAL, SIZE=10, STYLE=ITALIC+BOLD,$
TYPE=DATA, COLUMN=COUNTRY, ALT='I Want Black Text Here.', TARGET='_blank',
COLOR=BLACK, SIZE=8, STYLE=-UNDERLINE+BOLD,
FOCEXEC=IBFS:/WFC/Repository/Vendor/Doug/ScrathPad.fex(ThisNumber=9 ThisValue='Doug'), $
END
I have the css in the associated app, MRE domain, and web apps folders. Where SHOULD it reside and what addressing should I use?
Tony, BT I renoved that STYLE Much which I just added as another attempt to get it to work...>
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
TABLE FILE CAR
SUM
CAR.BODY.DEALER_COST
CAR.BODY.RETAIL_COST
BY CAR.ORIGIN.COUNTRY
BY CAR.COMP.CAR
BY CAR.CARREC.MODEL
BY CAR.BODY.BODYTYPE
BY CAR.BODY.SEATS
HEADING
"I Want The Drilldown Link Text To Be COLOR=BLACK, SIZE=8, STYLE=-UNDERLINE+BOLD"
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
-*ON TABLE HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/enwarm.sty,
$
TYPE=REPORT,
BORDER-TOP=OFF,
BORDER-BOTTOM=OFF,
BORDER-LEFT=OFF,
BORDER-RIGHT=OFF,
FONT='IBIDEFAULT',
SIZE=9,
STYLE=NORMAL,
$
TYPE=DATA,
COLUMN=N1,
SIZE=8,
FOCEXEC=IBFS:/WFC/Repository/Vendor/Doug/ScrathPad.fex( \
ThisNumber='9' \
ThisValue='Doug' \
),
ALT='I Want Black Text Here.',
TARGET='_blank',
$
TYPE=HEADING,
SIZE=10,
STYLE=BOLD+ITALIC,
$
ENDSTYLE
END
-HTMLFORM BEGIN
<STYLE>
a {
text-decoration: none !important;
color: black !important;
font-weight: bold !important;
}
</STYLE>
-HTMLFORM END
This message has been edited. Last edited by: Chaudhary,
TABLE FILE CAR
"I Want The Drilldown Link Text To Be COLOR=BLACK, SIZE=8, STYLE=-UNDERLINE+BOLD"
SUM DCOST RCOST
BY COUNTRY BY CAR BY MODEL BY TYPE BY SEATS
ON TABLE SET CSSURL IBFS:/WFC/Repository/Vendor/Doug/html_dd.css
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/enwarm.sty,$
GRID=OFF, BORDER=OFF, FONT=ARIAL, SIZE=9, STYLE=NORMAL,$
TYPE=HEADING, FONT=ARIAL, SIZE=10, STYLE=ITALIC+BOLD,$
TYPE=DATA, COLUMN=COUNTRY, ALT='I Want Black Text Here.', TARGET='_blank',
COLOR=BLACK, SIZE=8, STYLE=-UNDERLINE+BOLD,
CLASS=COUNTRY,
FOCEXEC=IBFS:/WFC/Repository/Vendor/Doug/ScrathPad.fex(ThisNumber=9 ThisValue='Doug'), $
END
Assuming that you're using the CSS snippet from my original reply, you are missing the reference to the CSS-class in the CSS file; I added that in the above snippet.
If you used the general snippet that applies styling to EVERY anchor tag in the report, then you don't need that.
If you used ChaudHary's styles, he implemented it as +UNDERLINE+BOLD, not -UNDERLINE+BOLD.
If the HTTP request for the CSS file does not return an error, then it should apply the styling. You can verify that in your browser using the console (F12) in the Network tab - most browsers these days have that. If all is well, the request for the CSS file returns a HTTP 200, but if the web-server can't find it you will see a HTTP 404, or a HTTP 401 if you don't have access to that particular file.
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
Originally posted by Doug: I'll move it there.And try again. How would I address it down there?
I'm not sure where your apps directory starts in that path, but on the webserver that's usually referred to as /approot. If Doug is a directory directly in your approot, then the reference would be: /approot/Doug/html_dd.css
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
setting HYPERLINK-COLOR=RGB(6 0 0) instead of color works - this is also being set in the enwarm.sty file to the blue color.
TABLE FILE CAR "I Want The Drilldown Link Text To Be COLOR=BLACK, SIZE=8, STYLE=-UNDERLINE+BOLD" SUM DCOST RCOST BY COUNTRY BY CAR BY MODEL BY TYPE BY SEATS ON TABLE SET STYLE * INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/enwarm.sty,$ GRID=OFF, BORDER=OFF, FONT=ARIAL, SIZE=9, STYLE=NORMAL,$ TYPE=HEADING, FONT=ARIAL, SIZE=10, STYLE=ITALIC+BOLD,$ TYPE=DATA, COLUMN=COUNTRY, ALT='I Want Black Text Here.', TARGET='_blank', SIZE=8, HYPERLINK-COLOR=RGB(6 0 0),STYLE=-UNDERLINE+BOLD, FOCEXEC=IBFS:/WFC/Repository/Vendor/Doug/ScrathPad.fex(ThisNumber=9 ThisValue='Doug'), $