Server calls using

How can I call from a custom JavaScript file in my app’s public folder? I’m getting frappe is not defined error. Any tips regarding this is appreciated since I am a beginner to Frappe.

Hi @Aysha_Hakeem,

because you not added import frappe.

import frappe

Please add it and reload and check it.

Thank You!

I’m getting the same error still