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.
Can I get Multiple AHTMLs in one HTMLFORM? The following only shows one report. I do get both reports when using FORMAT HTML instead of FORMAT.
TABLE FILE CAR
"REPORT 1"
SUM DCOST RCOST BY CAR BY MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON GRAPH HOLD AS REPORT1 FORMAT AHTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty,$
ENDSTYLE
END
-RUN
TABLE FILE CAR
"REPORT 2"
SUM DCOST RCOST BY CAR BY MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON GRAPH HOLD AS REPORT2 FORMAT AHTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty,$
ENDSTYLE
END
-RUN
-HTMLFORM BEGIN
<TABLE BORDER=1><TR>
<TD>!IBI.FIL.REPORT1;</TD>
<TD>!IBI.FIL.REPORT2;</TD>
-HRMLFORM END
It may get more complex with drilldowns in some reports, and I have four reports, not just two.This message has been edited. Last edited by: FP Mod Chuck,
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
That's pretty Cool Guy (no pun intended... or was there...)... But, I'm this team is new to WebFOCUS. So, I'm not sure (yet) about adding another level of 'other stuff' yet. Besides, AHTML has been an accepted/approved report format...
But, I'll keep this in mind. Thanks...
PS: Do you have an example of Muliple WebFOCUS TABLE FILE requests --> to a Muliple DataTables?
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
I am sorry to report that you will most likely never behold my Cool-ness in person. I don't see myself ever attending another IBI Summit again. Sorry man.
8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
Posts: 1113 | Location: USA | Registered: January 27, 2015
Doug, search for Active dashboard, this might be what you're looking for. You can add multiple AHTML (also with different type of charts) and add Filters to it.
It's all kind of limited in styling and amount of data, but as long as that OK it's a pretty good solution.
Try this example from the 'Developing Reporting Applications' manual...
TABLE FILE GGSALES
SUM
DOLLARS
UNITS
BY REGION
BY ST
BY CITY
HEADING
"Regional Sales Summary"
ON TABLE HOLD AS REPORT1 FORMAT AHTMLTAB
ON TABLE SET STYLE *
INCLUDE=ENDEFLT.STY,$
ENDSTYLE
END
-*
TABLE FILE GGSALES
SUM
DOLLARS
UNITS
BY CATEGORY
BY PRODUCT
HEADING
"Production Order Summary"
ON TABLE HOLD AS REPORT2 FORMAT AHTMLTAB
ON TABLE SET STYLE *
INCLUDE=ENDEFLT.STY,$
ENDSTYLE
END
-*
-HTMLFORM BEGIN
<HTML>
<HEAD>
<TITLE>Displaying HTML Active Technologies Reports on an HTML Web
Page</TITLE>
</HEAD>
<BODY>
!IBI.OBJ.ACTIVEREPORTJS;
<TABLE BORDER='1'>
<TR>
<TD valign=top>
!IBI.FIL.REPORT1;
</TD>
<TD valign=top>
!IBI.FIL.REPORT2;
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
-HTMLFORM END
This message has been edited. Last edited by: David Briars,
Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
I was so excited David that I was ready to give you a Gold Star for this. But, Sorry, You'll need to wait for the Gold Star...
It ran and View Source shows that it held the records and showed the Loading Page. But. the Loading Page page never stopped and the reports never displayed.
The following is the result of a direct copy&paste of the above code:
0 NUMBER OF RECORDS IN TABLE= 4317 LINES= 12
0 HTML FILE SAVED ...
0 NUMBER OF RECORDS IN TABLE= 4317 LINES= 10
0 HTML FILE SAVED ...
I'm hoping that this works with just a tweak of some sort...
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
I'm thinking it has to do with "ACTIVEREPORTJS", either a version or just can't find it. Where should that reside?
That seems to be part of it... Here's the final scoop: It does not work from App Stuio, defaulted to display in IE... It does work from ibi_apps in both IE and Chrome...
Now to productionize it IRL with a Real scenario...
Thanks again David BriarsThis message has been edited. Last edited by: Doug,
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
Doug, IBI told me to uncheck "Display intranet sites in Compatibility View" under Compatibility View Settings. This worked for IE and the AHTML reports produced correctly.