How do I add my app to this screen?
In the hooks file of ERPNext you should see a “add_to_apps_screen” hook in latest versions.
Do something similar in your custom app to make it visible in the apps page.
2 Likes
add like this
add_to_apps_screen = [{
"name": "app_name",
"logo": "/assets/app_name/logo_icon.png",
"title": "App Title",
"route": "/app/home",
}]
1 Like
add_to_apps_screen is explained in:
https://docs.frappe.io/framework/user/en/apps-page#how-can-we-show-our-custom-apps-on-apps-page
where it says:
# Each item in the list will be shown as an app in the apps page
add_to_apps_screen = [{
"name": "crm",
"logo": "/assets/crm/logo.png",
"title": "CRM",
"route": "/crm",
"has_permission": "crm.api.check_app_permission"
}]
It is supported in v15 and above
Somehow it was not included in the “list of all available hooks in Frappe.” (link on top of the hooks documentation page), which seems to be a common thing to happen.
4 Likes