Add Custom Page to Workspace(Desk)

Hello everyone, I am currently working on a custom application that only needs to contain a single page under the desk icon I have created. I have created a page and linked it to the desk so I can click on it in the sidebar and go to my blank page.

I was under the impression that I could simply add an html file here and structure the .js to use it to display. However when I add an html file to the folder below, it throws an error like it doesn’t recognize the html file.


Added html

Going to this site in desk gives this in console

Should I have altered the .js file to recognize the html file added? It seems to load without errors if I remove the html file.

Instead of adding a new html page directly to the folder, go to the “Page” doctype and create a new Page (you need to be logged in as administrator to do this). ERPNext will create a template (find the directory by the name you gave your Page) which you can then edit however you’d like. To include it in your app, you will need to assign it to a module that is owned by your app.