I Want to add a Kanban board view directly in the workspace as a shortcut how can I do that.?
Because I have an only list, doctype, dashboard, Report options in the view type
OR
I want to set the Kanban board view by default view
Thanks in Advance,
Bhushan
2 Likes
same question, if you managed to do it, please share the solution
avc
October 16, 2022, 5:36pm
3
I think is doable now using set_route on form or list loading, via script.
https://frappeframework.com/docs/v14/user/en/api/js-utils#frappeset_route
Anyway, there is a PR on Github related to this. After this, you will can configure default view on each doctype. I think this feature will be avaliable soon.
frappe:develop
← shariquerik:default_view
opened 07:40AM - 13 Oct 22 UTC
Copy of https://github.com/frappe/frappe/pull/16851
- The views for a doctype… are not configurable by the user, ie if I want the framework to always route the user to the kanban view by default, the framework doesn't allow that.
- This PR tries to address that by adding a configurable selector for the view to be displayed.
- The doctype won't default to ListView but route to the default view from meta.
- This will remove the need for maintaining `treeviews` and `calendars` in the boot, and will be handled directly from doctype meta.
- ![image](https://user-images.githubusercontent.com/7310479/174721419-bc10c443-edfd-48cf-b854-7fcf2f104ea4.png)
- ![image](https://user-images.githubusercontent.com/7310479/174721793-de9c9292-9e80-4c36-856e-a16a1a39cbd4.png)
https://docs.erpnext.com/docs/v13/user/manual/en/customize-erpnext/customize-form/edit?wiki_page_patch=194596b062
Hope this helps.
1 Like