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     Style sheets are not giving any effect in the eMail sent by Report caster

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Style sheets are not giving any effect in the eMail sent by Report caster
 Login/Join
 
Gold member
posted
Hi,

I have a stylesheet file stored under approot as
"/approot/frec_code/frecsty.css" (Can be viewed in explorer path as "Managed Reporting --> Web Applications ---> frec_code" )I am able to attach any properties and are taking the effect, if I use it from MRE dashboard or directly run from my EDASERVE application folders. If I use report caster to schedule any one of the reports with the mentioned stylesheet file refered , I am not getting the effect in the emails sent by report caster.

I used both LINK and SET as a try to set the stylesheet as given below.

-HTMLFORM BEGIN

LINK href="/approot/frec_code/frecsty.css" rel="stylesheet" type="text/css"

-HTMLFORM END

SET CSSURL=/approot/frec_code/frecsty.css

Any suggestions?

Thanks and regards,
Johney


Version 7.6.11
Webfocus installed in AIX 5.3,
desktop PC: Windows-XP based
Output: Excel, HTML, PDF
 
Posts: 83 | Registered: October 19, 2007Report This Post
Virtuoso
posted Hide Post
While I haven't used style sheets as such, do you have the report caster job set up to send the output as HTML or some other format?


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Gold member
posted Hide Post
Yes Leah,

I have HTML format to distribute and I selected that option only.

Regards,
Johney.


Version 7.6.11
Webfocus installed in AIX 5.3,
desktop PC: Windows-XP based
Output: Excel, HTML, PDF
 
Posts: 83 | Registered: October 19, 2007Report This Post
Expert
posted Hide Post
Johney,

Think about what you are trying to achieve in the HTML file.

It gets delivered to an email user and the URL you have for the stylesheet not fully formed - it doesn't know which server you are refering to.

So the answer (nearly always) is to use a fully formed URL in any reference that you use when the fex is run in Report Caster.

A simple test is to place the full URL in the address box of your browser and click GO. If you get offered the CSS file then you know that the URL is OK to use in your code. If not then keep trying to find the correct URL.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Gold member
posted Hide Post
Hi Tony,

I tried the full path also but still it didn't go through.It is opening the file if I put it in my browser directly as you suggested.

Thanks and regards,
Johney.


Version 7.6.11
Webfocus installed in AIX 5.3,
desktop PC: Windows-XP based
Output: Excel, HTML, PDF
 
Posts: 83 | Registered: October 19, 2007Report This Post
Expert
posted Hide Post
Johney,

The next thing is to look at the HTML that is generated by RC and determine if the CSS file is being included.

If it is then you need to interpret why it is not being used by looking at the tags for class= etc.

If it is not then you need to look at RC to see why. Check log and trace files to help determine this.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Gold member
posted Hide Post
Hi Tony,

An update . It was my mistake , I used a semicolon after the SET stylesheet command before . Now when I removed that it started working. Thanks again for the great help.

Regards,
Johney.


Version 7.6.11
Webfocus installed in AIX 5.3,
desktop PC: Windows-XP based
Output: Excel, HTML, PDF
 
Posts: 83 | Registered: October 19, 2007Report 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     Style sheets are not giving any effect in the eMail sent by Report caster

Copyright © 1996-2020 Information Builders