-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
Problem
Currently, frappe.call() and window.frappe are not available in page components, especially within the run_script method. This limits the ability to make server-side calls or access boot information directly from component events.
Suggestion
Please expose frappe.call() and frappe.boot to the frontend environment within page components. Making these available inside component event scripts (like run_script) would allow:
- Direct backend API calls
- Access to session, user, and system context (
frappe.boot) - Easier integration of dynamic data
Benefit
This enhancement would make it easier for developers to build dynamic, data-driven components without extra workarounds. It aligns better with the standard Frappe development experience.
Thanks for considering this!
szufisher, esitehoster, git-avc, dvdl16, Omar-Abdullah-Shaikh-Al-Zoor and 1 more
Metadata
Metadata
Assignees
Labels
No labels