How to create a menu for a workspace in frappe version 16

Hi,

Could anyone please explain to me how I can create a menu for a workspace in frappe version 16 ?

I have this workspace, but as you can see it has no menu and it doesn’t show up in the list of workspaces.

I have created a Workspace Sidebar, and it works fine, but it does not appear anywhere.
Is there a hidden way to actually attach the Workspace Sidebar to an actual Workspace ?

I would like it to appear in the main menu.

I have not been able to find any documentation that applies to version 16.

Any help is most appreciated.

BR Kresten

I’m experiencing the same issue, and it’s very frustrating due to the zero, outdated, or missing documentation. I asked the same question but received no help.

Hi @krestensb @innovay

I am not from Frappe team, but please consider that many changes was included by last weeks, even today a lot of things are being polished, based on users feedback. I suggest just wait a few days, when new desk / workspace / sidebar sytems become really stable. Then I am pretty sure that docs will come.

Be patient. :person_in_lotus_position:

2 Likes

To make your app appear in the main menu, you must add it to hooks.py with an image, description, respective route, and associated permissions. See below:

# Each item in the list will be shown as an app in the apps page
# add_to_apps_screen = [
# 	{
# 		"name": "Your App Name",
# 		"logo": "/assets/your_app/logo.png",
# 		"title": "Your App Title",
# 		"route": "/your_app",
# 		"has_permission": "your_app.api.permission.has_app_permission"
# 	}
# ]

Here is the example from ERPNext:

add_to_apps_screen = [
	{
		"name": app_name,
		"logo": "/assets/erpnext/images/erpnext-logo.svg",
		"title": app_title,
		"route": app_home,
		"has_permission": "erpnext.check_app_permission",
	}
]
1 Like

Finally find it, first you should join with Adminstration account (Not any admin user just Adminstration user As far as I can see)

For folder like this:

First Create a desktop icon with this settings (not sure why just find with trying)
1.Icon type: App
2.Link type External
3.App frappe (or erpnext)

Then create another desktop icon like this:

  1. Icon type: Link
  2. Link type: Workspace sidebar
  3. App: Frappe
  4. Most importantly Parent Icon: The first desktop icon that we created
  5. For icon you can use Logo Url for Module Logo
  6. For the last part you should create a Workspace Sidebar at Link To field

Workspace sidebar:

And thats all

6 Likes

Thanks Karaman,
I got it working with your guide.

I really hope someone rewrites that navigation interface.
BR Kresten

1 Like

hey, i tried following your steps but i encounter this problem

Try with new updates,
At 16.4 I tried duplicate Buying (for erpnext) changed

Changed name, Add my own Sidebar
Worked for me

hey, tried updating the version to 16.4
still encountering the same issue.
i created workspaces and followed the images that you’ve sent. still have no idea why it isn’t working.

v16 is so confusing with outdated docs, the latest v15 was much more easier :sweat_smile:

You made link type External, try with workspace sidebar

A little tip: Try to create duplicate of the icon you want to recreate. For example you can duplicate framework desktop icon for creating Folder space for other desktop icons

1 Like

So far what i have explore:-
Step 1 :- create a desktop icon for main view


Step 2 : -
Add a side bar in desktop icon


Step 3 : -
Add workspace and other items in workspace item