How I can Create dashboard to new custom doctype

How I can Create dashboard veiw to new custom doctype

Have you tried this, with what result? Not Found

edit: update link

Thanks @clarkej

I mean dashboard like this in doctype

I wonder what Duplicate does to an existing DocType - that would be worth digging into - search here for pointers and do some trial and error learning?

You have to create a .py file named “your_doctype” in your doctype folder on the server. With this file you can define how your dashboard should look like

1 Like

Thanks for the learning joelios - here are lots of cases

frappe@ubuntu:~/frappe-bench$ find . -name '*'
1 Like

Youre welcome.

Don’t forget, if you want to include a heatmap in the dashboard; the makes only the heatmap visible, to feed it with data you need a get_timeline_data() function within the “doctype”.py file.

1 Like

thanks Mr @joelios
I did it before asking here but there were no changes
So after that commited my changes and excuted bench update that solved my Issue

Best Regards

I have created dashboard according to detail in your given link.
But Now i want this dashboard name to be shown in the sidebar or it will open directly when i logged in. Is there anyway to do that?