Hi everyone,
I’m trying to do something that should be very simple: adding a custom app to the Desktop in Frappe v16, but I’m having a surprisingly hard time getting it to work.
I followed the instructions from this post:
How to Add a Custom App to Desktop in Frappe v16
I tried both approaches:
-
Creating a Desktop Icon from the UI
-
Using
hooks.py
My current hooks.py configuration is:
add_to_apps_screen = [
{
"name": "perpustakaan",
"logo": "/assets/perpustakaan/logo.png",
"title": "Perpustakaan",
# "route": "/perpustakaan",
"route": "/desk/workspace-sidebar"
# "has_permission": "perpustakaan.api.permission.has_app_permission"
}
]
Initially I tried using:
"route": "/perpustakaan"
but I read that the route must exist, otherwise it won’t work. So for testing purposes I changed it to an existing route:
"route": "/desk/workspace-sidebar"
Then I ran the following commands:
bench migrate
bench sync-desktop-icons
bench clear-cache
bench restart
Unfortunately, the app icon still does not appear on the Desktop.
I also tried:
-
Browser hard refresh
-
Clearing cache
-
Incognito mode
-
Different browsers
None of them made any difference.
Am I missing a step? Is there any additional requirement in v16 (Workspace Sidebar, Desktop Icon linkage, fixtures, etc.) that is not mentioned in the documentation?
I’ve also noticed several other discussions and GitHub issues mentioning Desktop Icons not appearing in v16, so I’m wondering if this is currently a bug or if my configuration is incorrect.
Any help would be greatly appreciated.
Thanks!
