Ben Langhinrichs

Photograph of Ben Langhinrichs

E-mail address - Ben Langhinrichs







Recent posts

Mon 16 Sep 2019

About that email in Notes



Mon 9 Sep 2019

Perils of PDF 4: Missing and obscured data



Fri 6 Sep 2019

Perils of PDF 3: Wide Tables and data loss


September, 2019
SMTWTFS
01 02 03 04 05 06 07
08 09 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30

Search the weblog





























Genii Weblog

Choices in your on-the-fly data retrieval

Wed 13 Feb 2019, 11:08 AM



by Ben Langhinrichs
While it is fun to write about proof-of-concept features, let's talk for a moment about what you can do with the Midas LSX right now, because that is pretty awesome as well. To be clear, the XML option here will be Version 5.60 which is due out any day now, while the JSON and CSV are there now.
 
Scenario: Collect custom-specified data on-the-fly and return it in various formats
 
We may want the data returned as a file or as a stream. If we wanted to import the data into some other application, we might use CSV. If we wanted to stream it in a REST API for some other processing, we might return it as JSON. If we want to use it with a webpage generated using XSLT, we might return it as XML.
 
For this example, let's say we want a few selected fields from every SPR in the FixList db, but only the fixes in Version 9.0.1 FP10. We pass that information in, and in about five lines of LotusScript code, we return the following. I told Midas to sort by SPR to make it easier to read, but usually order doesn't matter in actual applications. Of course, you can try this yourself by requesting a Midas LSX evaluation and using the data-driven sample dbs to avoid coding altogether..
 
 
 
JSON for apps that retrieve and process in JavaScript (e.g., roll-your-own REST API)
 
Inline JPEG image
 
 
 
 
XML for apps that use XML for processing (e.g.,with XSLT transformations)
 
Inline JPEG image
 
 
 
CSV for apps that load data in for processing (e.g., business intelligence visualizations)
 
Inline JPEG image
 
Try this and other data retrieval by requesting a Midas LSX evaluation and letting us know what you would like to accomplish.
 
 

Copyright © 2019 Genii Software Ltd.

What has been said:

No documents found