Console.log() MAPPED data after mapping in Editor (CSV Import)

Console.log() MAPPED data after mapping in Editor (CSV Import)

BigDataWarehouseBigDataWarehouse Posts: 23Questions: 10Answers: 0

I'm trying to view the data that I have mapped in Datatable Editor (csv import)
as json object.

Can you please help?

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,598

    I don't quite follow, but you can use postSubmit or submitComplete - the data sent to and from the server is contained in the parameter lists.

    Colin

  • BigDataWarehouseBigDataWarehouse Posts: 23Questions: 10Answers: 0

    Hi Colin,

    Thanks for your message!

    I'm using the csv import and now I want to store data (to a variable) right after it is mapped before it is submitted.

    my hope is to store a json object to a variable after mapping the csv file import

  • colincolin Posts: 15,237Questions: 1Answers: 2,598

    If you look at the code around line 36 in this example, that's where it's getting the data - so you could gather it there too.

    Colin

  • BigDataWarehouseBigDataWarehouse Posts: 23Questions: 10Answers: 0

    Hi Collin,

    I did! but thought there could be another way because var field and var mapped returned data that weren't in the format i wanted..

    I guess i'll have to work with those two variables to build a json object

    Thanks again for your help Collin!

This discussion has been closed.