Focal Point
[SOLVED] Excel Export Options on Dashboard

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/6047062786

July 17, 2017, 01:16 PM
Sandeep
[SOLVED] Excel Export Options on Dashboard
Hi All,

Hoping to get some quick insights here.
I have a Dashboard with two graphs and two tabular reports on it. I am required to have an option (may be in the form of buttons) to let users export the report/graphs in excel. I searched the forum and googled. Could not find a similar issue.
Any suggestions on implementing the above is very much appreciated!

P.S: I am using App Studio. Dashboard is built on HTML page (HTML/Document Wizard).

This message has been edited. Last edited by: FP Mod Chuck,


WebFocus 8.1 Service Pack 0.5
Build Version branch8105
Build/GEN Number 119

OS/Platform: Apache Tomcat/8.0.21
July 17, 2017, 01:36 PM
Tony A
Searched the forum on "Excel Export" and got 11 pages of hits. Some of them exactly what you are asking .... a lot of them relevant too

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 
July 17, 2017, 01:37 PM
BabakNYC
In the charts/reports you have referenced add User Selection as the output format. In App Studio that's under Output Format, Styled Report formats, User. In code you need something like this:

ON TABLE PCHOLD FORMAT &WFFMT.(<HTML,HTML>,<Active Report,AHTML>,<PDF,PDF>,<Excel 2000,EXL2K>,<Excel Formula,EXL2K FORMULA>,<Excel 2007,XLSX>).Select an output type.


Once you have this in the report or chart, then Composer will ask you if you want it to create radio button controls for them. Alternatively, you can create your own.


WebFOCUS 8206, Unix, Windows
July 17, 2017, 04:26 PM
Sandeep
Thank you BabakNYC! I tried the solution you suggest. Now I get prompt on the Dashboard to down load but clicking OK after selection does not do anything. The output refreshes back in in HTML format as before. any suggestions.


WebFocus 8.1 Service Pack 0.5
Build Version branch8105
Build/GEN Number 119

OS/Platform: Apache Tomcat/8.0.21
July 17, 2017, 04:27 PM
Sandeep
quote:
Originally posted by Tony A:
Searched the forum on "Excel Export" and got 11 pages of hits. Some of them exactly what you are asking .... a lot of them relevant too

T

Tony,
I think the words (or the sequence) I used to search were not right. Thanks for your response.


WebFocus 8.1 Service Pack 0.5
Build Version branch8105
Build/GEN Number 119

OS/Platform: Apache Tomcat/8.0.21
July 17, 2017, 04:37 PM
Sandeep
BabakNYC,

Found the solution to the above problem. Have to comment the "ON TABLE PCHOLD FORMAT HTML" in the report.


WebFocus 8.1 Service Pack 0.5
Build Version branch8105
Build/GEN Number 119

OS/Platform: Apache Tomcat/8.0.21