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     [CLOSED]Distribute HTML file via Report Caster

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Distribute HTML file via Report Caster
 Login/Join
 
Gold member
posted
I have an HTML file that combines several different .fex charts into one HTML page that I need to distribute via Report Caster on a daily recurring schedule.

Report Caster will only let me attach a .fex file, not an .htm file.

Is there any way to attach an HTML file to Report Caster schedule?

Thanks,

This message has been edited. Last edited by: <Emily McAllister>,



WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 67 | Registered: May 21, 2014Report This Post
Virtuoso
posted Hide Post
Create a fex that will only call the html :

-HTMLFORM yourhtml.htm

or

-HTMLFORM IBFS:/.../.../yourhtml.htm


Option according to WF version you are using


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Gold member
posted Hide Post
Well, the .fex pulls the HTML page in App Studio but when Report Caster sends out the file, I get the following error:

"JavaScript alias './ibi_html/' is not valid"

-HTMLFORM IBFS:/WFC/Repository/Executive/Dashboard/DailyEmail/cs.htm
-RUN  
 


Our installation was done with default paths so the JavaScript should be accessible in the default location.

Any suggestions?

BTW, we're using 8.1.05

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



WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 67 | Registered: May 21, 2014Report This Post
Platinum Member
posted Hide Post
I recall having a similar issue. I believe we needed to go to the ReportCaster admin - Configuration - Data Servers tab. The FOCEXURL/FOCHTMLURL - needed a tweak. I put in our DNS name used to hit the server. It defaulted with the actual server name. Verify what you have in there.


webFOCUS 8207.15
WindowsServer 2019
 
Posts: 120 | Location: Minnesota | Registered: August 26, 2013Report This Post
Gold member
posted Hide Post
Thanks for the info. I checked our configuration and the server name/port is correct. I put in the DNS name and restarted the service. Still no luck.



WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 67 | Registered: May 21, 2014Report This Post
Gold member
posted Hide Post
Should there be more to the .fex file than what I listed above?



WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 67 | Registered: May 21, 2014Report This Post
Gold member
posted Hide Post
It seems so simple. All I need to do is send a HTML file via Report Caster.

Certainly there has to be a way to work this out?



WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 67 | Registered: May 21, 2014Report This Post
Virtuoso
posted Hide Post
Is this a dashboard you created using App Studio's HTML Composer? What's the format of the output? Is it a coordinated active dashboard with format AHTML? Is this a new HTML or did it used to distribute with Report Caster but stopped?


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Gold member
posted Hide Post
Thanks for the note BabakNYC. Yes, it's a simple HTML page that I created in App Studio's HTML Composer. I've pulled in several existing .fex charts to basically make a static dashboard showing daily sales.

It's a new HTML file. The output format of the page is HTML and it isn't an active report.

Quite simply, I just need to email a .htm file with Report Caster.



WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 67 | Registered: May 21, 2014Report This Post
Virtuoso
posted Hide Post
I don't think you can schedule a composer built HTML file the way you're describing it. The scheduler looks for Server or WebFOCUS Procedure that it'll run and the output of that can be scheduled. If you create a PDF or DHTML Document using Composer, then you'll get a Fex and you should be able to schedule it to run and send the output out to the users. Below is an example of something like that:

-* Default Mode: ResourceLayout
SET HTMLARCHIVE=ON
*-HOLD_SOURCE
COMPOUND LAYOUT PCHOLD FORMAT DHTML
UNITS=IN, $
SECTION=section1, LAYOUT=ON, METADATA='prop_with_names^Margins_Left=0.5^Margins_Top=0.5^Margins_Right=0.5^Margins_Bottom=0.5^thumbnailscale=4', MERGE=OFF, ORIENTATION=PORTRAIT, PAGESIZE=Letter, SHOW_GLOBALFILTER=OFF, $
PAGELAYOUT=1, NAME='Page layout 1', text='Page layout 1', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.5, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,', $
COMPONENT='report1', TEXT='report1', TOC-LEVEL=2, POSITION=(0.719 0.771), DIMENSION=(4.094 2.563), BYTOC=0,  ARREPORTSIZE=DIMENSION, METADATA='left: 0.719in; top: 0.771in; width: 4.094in; height: 2.563in; position: absolute; z-index: 1;', $
COMPONENT='chart1', TEXT='chart1', TOC-LEVEL=2, POSITION=(0.813 3.750), DIMENSION=(3.958 2.396), COMPONENT-TYPE=GRAPH,  ARREPORTSIZE=DIMENSION, METADATA='left: 0.813in; top: 3.75in; width: 3.958in; height: 2.396in; position: absolute; z-index: 2;', $
END
SET COMPONENT='report1'
-*component_type report
TABLE FILE CAR
BY  CAR.ORIGIN.COUNTRY
BY  CAR.COMP.CAR
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
ENDSTYLE
END
SET COMPONENT='chart1'

ENGINE INT CACHE SET ON
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';
-DEFAULTH &WF_TITLE='WebFOCUS Report';
GRAPH FILE car

SUM CAR.BODY.SALES
BY CAR.ORIGIN.COUNTRY
ON GRAPH PCHOLD FORMAT HTML
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 PIEMULTI
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0); 
setCurveFitEquationDisplay(false); 
setPlace(true); 
setPieFeelerTextDisplay(1); 
*END
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
*END
ENDSTYLE
END
-RUN
 
-*IA_GRAPH_FINISH
COMPOUND END


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report 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     [CLOSED]Distribute HTML file via Report Caster

Copyright © 1996-2020 Information Builders