Any updates about the sample .CSV report file generation please? We are currently working on a project that requires this functionality.
Thank you so much, this was very helpful.
Is there any documention available for the data structure accessible through the JSON code (ex: ItemManager.readDirect)? I would like to build more functions through the code tool.
the websocket api for accessing the server here:
Many helpful "How-tos" in the Documentation area of our Website (after registration):
When it comes to PDF generation it's around 99% effort for using the PDF generation Node.js package and 1% code to retrieve data from WebIQ usually.
As a "PDF Report" is not standardized in any way because what shall be shown is completely up to you and differs from customer to customer and project to project you definitely have to create your own PDF report code.
To create a PDF you have to write code that defines which text/image/... to write where on which page. That's where most of the effort is required - retrieving the data is the same as for CSV and you should be able to use the code posted before to retrieve the data.
We've used the pdfmake library before - you can use any other PDF library as well, of course. Documentation is readily available:
Please understand that we cannot offer support for third-party libraries. You have to familiarize yourself with the library you wish to use to find out how to generate the report you desire.
How to generate PDF within WebIQ is on my list. I plan to create a How To article. When do you need it?
As said, it's just webiq-sk like: