Filemanager .data.pull

Hey there,
so I’m trying to save the current JSON structure, and restore it into the Filemanager.
$$(‘filemanager’).data.pull contains all records, i’d like to save them doing
JSON.stringify, and load them doing JSON.parse

Doing $$(‘filemanager’).data.pull = JSON.parse(jsontext);
$$(‘filemanager’).refresh();
$$(‘filemanager’)._refreshActiveFolder();

won’t work (No entries in filemanager). Is there a way to make this work?

Regards

Hi @davidc

You can try to use filemanager.serialize() method

Example: https://snippet.webix.com/we8jamcd

Great, thanks alot!

Best Regards