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     [SOLVED] Report Caster - tdgchart-min.js

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Report Caster - tdgchart-min.js
 Login/Join
 
Platinum Member
posted
I'm just starting to look at Report Caster. I've created a simple chart report.

-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';
-DEFAULTH &WF_TITLE='Report Caster Test';
GRAPH FILE GGSALES
SUM DOLLARS
BY CATEGORY
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET UNITS &WF_STYLE_UNITS
ON GRAPH SET HAXIS &WF_STYLE_WIDTH
ON GRAPH SET VAXIS &WF_STYLE_HEIGHT
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
*END
ENDSTYLE
END
-RUN


The *.fex works great when run on demand.
Sadly - when I get my report, via Report Caster - it appears blank.

The issue: When the report, executed via Report Caster, comes via email - I get the following Include line:

<script type='text/javascript' src='http://MY_DEV_SERVER_NAME:80/ibi_apps/tdg/jschart/distribution/tdgchart-min.js'></script>


However - we have the webserver configured to run with a DNS name. SO if I change the tdgchart-min.js include to be:

<script type='text/javascript' src='http://PRETTY_DNS_NAME/ibi_apps/tdg/jschart/distribution/tdgchart-min.js'></script>


It works.

Is there some command I can add to the *.fex - or some config setting somewhere that will tell the *.fex to use the DNS name so the path to the tdgchart-min.js is correct?


Or is this some virtual directory magic I need to do at the webserver level?

I'm close - but I'm missing something.

Thanks,

Jeremy

This message has been edited. Last edited by: stur0063,


webFOCUS 8207.15
WindowsServer 2019
 
Posts: 120 | Location: Minnesota | Registered: August 26, 2013Report This Post
Platinum Member
posted Hide Post
When I run this on-line - the include is relative:

<script type='text/javascript' src='/ibi_apps/tdg/jschart/distribution/tdgchart-min.js'></script>


Makes sense, coming via email as a self contained package, that it'd need an absolute URL to grab the include.

I've reviewed the configuration settings - and nothing jumped out at me as being a good one to tweak.


webFOCUS 8207.15
WindowsServer 2019
 
Posts: 120 | Location: Minnesota | Registered: August 26, 2013Report This Post
Platinum Member
posted Hide Post
Someone from IBI sent me an email.

I needed to go to the configuration section of Report Caster - Data Servers - then override the: FOCEXURL/FOCHTMLURL. By default - that's set up as http://SERVER:80. Once I tweaked that to my pretty DNS name - all was right with the world.


Thanks Doug - I really appreciate the email!


webFOCUS 8207.15
WindowsServer 2019
 
Posts: 120 | Location: Minnesota | Registered: August 26, 2013Report 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     [SOLVED] Report Caster - tdgchart-min.js

Copyright © 1996-2020 Information Builders