Start a new topic

Import CSV-Files including boolean values

Hey,





i am trying to import several csv files to my data-collection. So far it's working fine. The only problem is that i have a field with boolean values (false/true, even tried 0 or 1 ) but the import wizards converts it to a string each time ...



Any idea? I really don't want to insert the data per hand and building an extra import-script ... Seems my last option - but maybe there is a way i don't see?





Best, Nico




@"Nico Barelmann"‌ - your best bet would be a JSON import. CSV data doesn't encode any type information, so we can't know if you want to upload the string "true" or the boolean value true. JSON, on the other hand, does encode that information.
That seems right :)
Login or Signup to post a comment