ERPNext Conference 2019* ERPNext.com Blog

How to use frappe.call on custom html pages


#1

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


#2

Refer this.

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


#3

Hi @Aniket_Shinde1
any updates on this issue?