Support Topics Documentation Slack YouTube Blog

Codeless logic automatically disappears


(Rohan P) #1

@staff @mark-piller Since yesterday its 3rd time, the code automatically disappears. Is there any way i can get back the logic written in codeless??


(Vladimir Upirov) #2

Hi Rohan

If you didn’t save/deploy the changes you can just clear your browser LocalStorage and refresh the browser page.

Also, could you provide steps to reproduce the issue

Thanks, VLad


(Vladimir Upirov) #3

Did you use keyboard for undo/redo changes, combination Cmd/Ctrl + Z, or context menu for that ?
image


(Rohan P) #4

Is there any way i can get my previously saved logic?


(Rohan P) #5

Ya yesterday i had used cmd+z, but today it disappeared without doing anything. Is there any way to get it back?


(Vladimir Upirov) #6

did you try to clear browser LocalStorage?


(Rohan P) #7

ya. i also logged out and logged in.


(Vladimir Upirov) #8

unfortunately if the local changes are saved there is no way to get the previously saved logic


(Rohan P) #9

okay thank you…


(Rohan P) #10

Is there any way to keep backup of the code i.e codeless logic?


(Vladimir Upirov) #11

yes, you can download the entire project, there will be all the JS and all the logic (xml) filesMonosnap%202018-12-06%2017-55-26


(Rohan P) #12

Also can i import the downloaded file?


(Vladimir Upirov) #13

there is no way to import the whole Codeless project, but you can change content (xml file) for each file what you need in Coding Section, and then deploy it.


(Vladimir Upirov) #14

or, as I understand you’ve got PRO installation, so you can replace the logic files directly in your app repository on your computer, not through Dev Console, the logic files are located by the next path YOUR_BACKENDLESS_REPO/{your_app_id}/files/servercode/CODELESS/{MODEL_NAME}/DRAFT/…

repo%202018-12-07%2008-25-06