Try ERPNext Buy Support Partners Foundation

How to use frappe.call on custom html pages

I have created a custom app with page_1.html , page_1.py file have also defined page.js in public/js.
Added the js file to hooks as well
app_include_js = “/templates/pages/page.js”

I am trying to call a custom method on a custom page.
but getting error
Uncaught ReferenceError: frappe is not defined

Refer this.

Edit: On v11, you can use frappe.call on webpages.

Hi @Aniket_Shinde1
any updates on this issue?

I figured out the issue it is resolved now