Dears,
When running Flexmonster using Compressor with OCSV data source type, the browser executes 3 GETs; However, if we change the parameter to CSV, the browser will only execute one GET.
For this example below, version 2.7.22 was used:
var pivot = new Flexmonster({
container: "pivotContainer",
toolbar: true,
report: {
dataSource: {
type: "ocsv", /* this way executes 3 GETs */
filename: "http://olap.flexmonster.com/compressor/demo.php"
},
var pivot = new Flexmonster({
container: "pivotContainer",
toolbar: true,
report: {
dataSource: {
type: "csv", /* this way executes 1 GETs */
filename: "http://olap.flexmonster.com/compressor/demo.php"
},
Could you check this problem please?
Best regards,
Jefferson
Hello, Jefferson,
Thank you for reaching out to us.
Starting from version 2.7.14 the Data Compressor gives data in CSV format instead of OCSV. Due to these changes, the dataSource
type is specified as CSV also.
For backward compatibility, Flexmonster can still accept OCSV data if the dataSource
type is specified as OCSV.
However, if the dataSource
type is specified as OCSV but the data is received in a different format, for example, CSV, then backward compatibility operations are made:
During the first data load, the data format is determined. If the data format is not OCSV, the required loader for the determined data format is chosen and the data is loaded a second time via the appropriate loader.
Our team plans to change this behavior so data loads only once in the 2.8 major release version of Flexmonster.
Currently, we would like to confirm that specifying the dataSource
type as CSV is the recommended way.
Please let us know if you have any further questions.
Best regards,
Vera