Need a special offer?Find out if your project fits.
+

OCSV Data format is deprecated

Answered
Renier Lewis asked on January 31, 2022

Hi team
 
We got an error  "OCSV data format is deprecated. Please contact the support team for more information." when we open a flexmonster view.
 
We have to use below flexmonster configuration

  1. We have to generate csv and then give that csv URL in report - filename of flexmonster config.
  2. Please see below flexmonster config.
  1. var flexmonsterConfig = {
        'container': 'fmContainer',
        report: {
            dataSourceType: 'ocsv',
            filename: https://testing.com/csv/sample_tr.csv,
            global: {
                 localization: {
                      "grid": {
                             blankMember: "N/A"
                      }
                 }
            }
        }
    };

I think why it happens is:

     1. Turkish text available in the columns and cell data of csv.
 

Please see attached csv file which we need to display with flexmonster.

Attachments:
sample_tr.csv

3 answers

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster February 1, 2022

Hello, Renier,
 
Thank you for reaching out to us.
 
If you have already generated CSV file, the data source type should be defined as "csv". It means that your code should look similar to the following example:

var pivot = new Flexmonster({
    container: "pivotContainer",
    report: {
        dataSource: {
type: "csv",
filename: "https://testing.com/csv/sample_tr.csv", } } });

 
Please let us know if it works for you. Feel free to contact us if other questions arise.
 
Kind regards,
Nadia

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster February 8, 2022

Hello,
 
Hope you are doing well.
 
We were wondering if you had some time to test the suggested approach.
 
Looking forward to hearing your feedback.
 
Kind regards,
Nadia

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster February 15, 2022

Hello, Renier,
 
Hope you are doing well.
 
Just checking in to ask if you managed to load your data set.
 
We will be glad to hear your feedback.
 
Kind regards,
Nadia

Please login or Register to Submit Answer