Focal Point
[CLOSED] JSON file type output

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

April 08, 2009, 03:26 PM
dhagen
[CLOSED] JSON file type output
Anyone ever try to produce JSON style output with WebFOCUS?

If yes, any suggestions on approach?

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


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
April 09, 2009, 02:14 AM
Tony A
Quick answer no, but I would think that forcing WF output into an ASP file would probably be easiest?

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 
April 09, 2009, 07:12 AM
dhagen
Thanks T. I was really trying to avoid using ASP or Java for this. I was hoping that someone might have done this using DEFINEs and DOC format. Wishful thinking?


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
April 09, 2009, 08:26 AM
Tony A
Not really Darryl, I guess that you could get the JS Object into a single field and then hold it HTMTABLE surrounding the result with HTMLFORM and the requisite include files?

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 
April 10, 2009, 07:42 AM
dhagen
I'm going to work on a java filter to convert a PCHOLD FORMAT HTMLTABLE to a JSON output. I don't really have an actual problem here, I'm just trying to build more of an auto JSON format so that I can more easily use WF as a source for RIA development instead of PHP, JSP, ASP, etc. with the larger development frameworks available out there today.

Thanks for your help T!


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
September 19, 2013, 01:40 AM
Marc97229
For anyone still looking for a way to generate JSON in a FEX: http://geekswithblogs.net/BI4f...ted-by-webfocus.aspx (which refers to another Focal Point thread).


WebFOCUS 8.0.0.8, Windows 7
September 19, 2013, 04:34 PM
Mighty Max
The original post
[SOLVED] Is there a setting for PCHOLD XML output format?


WebFOCUS 8.1.05M Unix Self-Service/MRE/Report Caster - Outputs Excel, PDF, HTML, Flat Files
September 23, 2013, 07:21 AM
Carlos Da Costa
The best we find to do that is to create a Class Fex that are able to call a fex, this fex is retruning XML and a procedure in this class convert the standard WebFOCUS XML into JSON.

Hope this help.


WebFOCUS 7.7.03
Windows 2008 srv
PMF 5.3.1 HF5
January 15, 2016, 01:35 PM
Squatch
See this thread:

[CLOSED]create JSON output from structured data


App Studio
WebFOCUS 8.1.05M
Windows, All Outputs