Hi, team
I need to export a new JSON file after draging the timeline.
I knew there're some php demos, but I'm not really familiar with php.
Is there any way to accomplish this without using php? (I even didn't run on the web server)
Sorry for such a rookie question .
Support Forum
Hi,
You can get JSON from a flat store by stringifying its records:
But saving that is an application problem and not within the scope of this forum. Try googling for how to download a file using JavaScript, should be plenty of pages that can show you how to do it.
Good luck!
You can get JSON from a flat store by stringifying its records:
const json = JSON.stringify(store.records);
Good luck!
Best regards,
Johan Isaksson
Johan Isaksson
Thank you so much.johan.isaksson wrote: ↑Mon Dec 10, 2018 2:50 pm Hi,
You can get JSON from a flat store by stringifying its records:
But saving that is an application problem and not within the scope of this forum. Try googling for how to download a file using JavaScript, should be plenty of pages that can show you how to do it.const json = JSON.stringify(store.records);
Good luck!
I should use CrudManager to update the store, is that right?