Backend file is not displaying in editor tree view

Hi all,

I created a data.jsw backend file to be run off a DB hook on the afterInsert event.

I had been debugging my code (without saving - school boy error!) when I accidentally hit F5. This of course reloaded the entire Wix IDE.

The strange result is that my code still seems to execute but the data.jsw file does not appear in my list of backend files so I can’t edit it.

Does anyone have any advice on locating the file and have it added back to the tree?

Thanks

Vince

Hi,
If it still happens, please send me the site URL and the name of the jsw file so that we can check it on our end.

Thanks,
Tal.

Hi Tal,

Yes this is still happening. As requested:

site URL: https://www.shenmenacu.com/
jsw file name: data.jsw

thanks

Vince

Hi Vince,

we will look into the issue and keep you posted

Shlomi

Hi Vince,
Could you please specify what behavior was implemented in the ‘data.jsw’ file that you still see happening?

Hi Moshe,

I had implemented some initial code triggered on the afterInsert DB event that would send an email (via EmailJS) containing data from the newly inserted row.

The code tested successfully using just 1 or 2 DB fields so I was then in the process of adding all the fields I needed.

The code is not published and is only available in preview.

If you submit the form “Form - Stress, Pain & Detox Clinic” you will see some of the testcode output in the console log.