Hello!
I have not been using dynalist for a while whilst I was on holiday and I got logged out of the app. After logging back in, my locally saved files which were not saved to the cloud are gone! I have checked the settings and the offline mode is still on and I am still paying for pro. Actually, this is the main reason I keep paying for pro - because I have this unfinished work that cannot be online for privacy reasons. And itâs not been backed up because I didnât know how to do that and forgot about it.
Could someone please tell me how can I locate the local files in my computer and how do I make them re-appear in dynalist?
Iâd really appreciate any suggestions! Thank you!
Hmmm thatâs concerning. I believe the files are located in %appdata%/Dynalist/data/user_id/. Each file has a unique ID in front of it. I would suggest sorting the files by last edited time and open some of them with a text editor to identify which one is the correct one. Then, copy the unique ID and run the following code in the developer console, making sure to replace the document ID DYNALIST.app.userspace.userspace.create_document('document_id')
I think in your case, it is possible that the relogging caused a fresh workspace to be created from the server copy, which does not have references to the local files.
Ah it seems like you need to run a few more commands to make the file show up.
Try this instead (make sure to replace the document ID in there):
let us = DYNALIST.app.userspace.controller;
let file = us.userspace.create_document('<replace_document_id>');
us.push_new_file(file);
us.attach_file(file, us.userspace.get_root_file(), 0);
I have opened a console in the app using ctrl+shift+i, then pasted the following with what I think is the file ID of the correct file, and the only thing that appeared in the console is âundefinedâ. I cannot see any new file in my workspaceâŚ
let us = DYNALIST.app.userspace.controller;
let file = us.userspace.create_document(â~nndS2UWGJoEHbPZbslqpgwjzâ);
us.push_new_file(file);
us.attach_file(file, us.userspace.get_root_file(), 0);
undefined