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] Accordion in AHTML?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Accordion in AHTML?
 Login/Join
 
Silver Member
posted
Hello,
I tried to create an accordion report in active HTML format and it didn't work. With HTML it works. The reason why i want AHTML is because i am displaying grandtotal at the top for 3rd and 4th integer column. With HTML this top display of total does not work. I want both accordion and total display at the top, Is it possible? Any inputs on this please? Below is the sample code.

ENGINE INT CACHE SET ON
SET PAGE-NUM=NOLEAD
SET SQUEEZE=ON
-DEFAULT &WF_HTMLENCODE=ON;
SET HTMLENCODE=&WF_HTMLENCODE

SET HTMLCSS=ON
-DEFAULT &WF_EMPTYREPORT=ON;
SET EMPTYREPORT=&WF_EMPTYREPORT

-DEFAULT &WF_ARVERSION=1;
SET ARVERSION=&WF_ARVERSION

-DEFAULT &WF_SUMMARY='Summary'
-DEFAULT &WF_TITLE='WebFocus Report'
TABLE FILE CAR
SUM CAR.BODY.SALES/D12.2:C AS 'Sales'
PCT.CAR.SPECS.FUEL_CAP AS 'Fuel Cap'
BY CAR.ORIGIN.COUNTRY AS 'Country'
BY CAR.COMP.CAR AS 'Car'
ON TABLE PCHOLD FORMAT HTML
-*ON TABLE PCHOLD FORMAT AHTML
ON TABLE SET EXPANDBYROW ON
ON TABLE NOTOTAL
ON TABLE SET CACHELINES 100
ON TABLE SET GRWIDTH 1
ON TABLE SET STYLE *
TYPE=REPORT, CALC-LOCATION=TOP, COLUMN=N3, CALCULATION=SUM, JUSTIFY=RIGHT, $
TYPE=REPORT, CALC-LOCATION=TOP, COLUMN=N4, CALCULATION=SUM, JUSTIFY=RIGHT, $
TYPE=TITLE, COLUMN=N3, JUSTIFY=RIGHT, $
TYPE=TITLE, COLUMN=N4, JUSTIFY=RIGHT, $
ENDSTYLE
END

-RUN

This message has been edited. Last edited by: FP Mod Chuck,
 
Posts: 35 | Registered: July 17, 2020Report This Post
Virtuoso
posted Hide Post
WF Learner

Accordian is not a supported feature with AHTML


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Master
posted Hide Post
Here is one way to have grand totals on top of an HTML Accordion report.
DEFINE FILE CAR
 ONLYONE/A11 = 'Grand Total';
END
-*
TABLE FILE CAR
HEADING
"Sales Fuel Cap Analysis"
SUM CAR.BODY.SALES/I9C     AS 'Sales'
    PCT.CAR.SPECS.FUEL_CAP AS 'Fuel Cap'
BY  ONLYONE                AS 'Grandtotal' 
BY  CAR.ORIGIN.COUNTRY     AS 'Country'
BY  CAR.COMP.CAR           AS 'Car'
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET DROPBLNKLINE ON
ON TABLE SET EXPANDBYROW 2
ON TABLE SET STYLE *
  INCLUDE = jellybean_combo, $
ENDSTYLE
END  





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
 
Posts: 822 | Registered: April 23, 2003Report This Post
Silver Member
posted Hide Post
Thank you very much David. It works as you mentioned.
 
Posts: 35 | Registered: July 17, 2020Report This Post
Silver Member
posted Hide Post
I am running into an issue. I need to merge 2 HTML fex files, one simple text and total value file on top and a table grid with accordion at bottom. When i create a compound report which is of AHTML format the accordion is getting lost (individual fex works fine with accordion as it is of HTML format) but when added in compound report with AHTML it does not work. Any inputs on this please?-* Default Mode: ResourceLayout
SET HTMLARCHIVE=ON
*-HOLD_SOURCE
COMPOUND LAYOUT PCHOLD FORMAT AHTML
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, ARGRAPHENGINE=JSCHART, ACTIVE_UNITS=PTS, $
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.604 0.729), DIMENSION=(6.272 2.562), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 0.604in; top: 0.729in; width: 6.272in; height: 2.562in; position: absolute; z-index: 1;', $
COMPONENT='report2', TEXT='report2', TOC-LEVEL=2, POSITION=(0.708 3.646), DIMENSION=(6.250 2.604), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 0.708in; top: 3.646in; width: 6.25in; height: 2.604in; position: absolute; z-index: 2;', $
COMPONENT='report3', TEXT='report3', TOC-LEVEL=2, POSITION=(0.708 6.563), DIMENSION=(6.936 3.169), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 0.708in; top: 6.563in; width: 6.936in; height: 3.169in; position: absolute; z-index: 3;', $
END
SET COMPONENT='report1'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/Folder/AA11.fex -*which is of HTML format
SET COMPONENT='report2'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/Folder/AA22.fex -*which is of HTML format
COMPOUND END
 
Posts: 35 | Registered: July 17, 2020Report This Post
Virtuoso
posted Hide Post
As originally stated by Chuck
quote:

Originally posted by FP Mod Chuck:
WF Learner

Accordian is not a supported feature with AHTML

So you're in a similar case. AFAIK, not because your have a compound that you can have AHTML and Accordion together


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
  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] Accordion in AHTML?

Copyright © 1996-2020 Information Builders