"frappe is not defined" in Frappe Studio

I was working with Frappe Studio and wrote a script to submit a doc triggered by “click” event.
I used frappe.call. It did not work.

How can I submit a doc from Frappe Studio ?

You can use studio.call for direct API calls now:

1 Like