SpagoBI – Exporting and Importing Report Documents

Step-by-step instructions for Exporting a report document from one server and importing into others. Steps In the source SpagoBI Environment, go to Import/Export Then, select the documents you want to export. Name the export (20 character limit?) ex:  2015-12-30-scheduled-cand Then, press the export icon When the “Download” link appears, click it Now, You’ve now got a zip file (in downloads) containing the two reports and meta-data about them.  Sign out of POC / DEV This file must have the exact

Read more

SpagoBI 5.2 REST DataSets with JSON Data

Introduction SpagoBI 5.2 introduces a new dataset type :  RESTful web service datasets . This allows SpagoBI to report on data from sources other than databases with JDBC drivers. What follows is an end-to-end demonstration of creating and using a REST (JSON) Dataset in SpagoBI 5.2. External documentation Description URL SpagoBI 5.2  NGSI usage of REST Data Sets https://spagobi.readthedocs.io/en/latest/user/NGSI/README/index.html SpagoBI 5.2 Documentation https://spagobi.readthedocs.io/en/latest/index.html SpagoBI 5.2 Release Notes https://wiki.spagobi.org/xwiki/bin/view/spagobi_server/release_notes_5_2 JSON Path https://github.com/jayway/JsonPath Limitations in REST Data Sets The response of the REST service must

Read more

SpagoBI DataSet REST Webservice via Groovy

SpagoBI DataSet REST Webservice via Groovy UPDATE: THIS IS A GREAT IDEA, EXCEPT IT DOESN’T WORK IN THE FINAL STEP.  Per SpagoBI Support, Groovy cannot be used in a script-based Dataset to provide rows of data. According to the last support ticket, there is no intent to make that work. Groovy Data Set to make RESTful web service call and return IP Address related information in SpagoBI’s XML format Prerequisites : Upgrade Groovy in SpagoBI and Drop in a copy of the WSLite library

Read more

SpagoBI DataSet Webservice via Groovy

SpagoBI DataSet Webservice via Groovy UPDATE: THIS IS A GREAT IDEA, EXCEPT IT DOESN’T WORK IN THE FINAL STEP.  Per SpagoBI Support: Groovy cannot be used in a script-based Dataset to provide rows of data. According to the last support ticket, there is no intent to make that work. SpagoBI Support also states that the Web-Service Dataset is deprecated and so far refuses to document how to use it. Note: I have not yet figured out how to get a SpagoBI Data Set

Read more

Upgrading Groovy in SpagoBI

Groovy Language It is possible to create a SpagoBI Script (Groovy-based) Data Set which calls a web service and returns data in the standard XML format needed by consumers of SpagoBI Data Sets. As a proof of concept, I used Groovy-WS Lite (a Groovy SOAP/RESTful client library, which required a newer version of Groovy than that which shipped with SpagoBI 5.0 (Groovy 1.5.x). So, it was necessary to replace the Groovy-all library jar with a later version and add the

Read more