ERPNext Conference 2019* Blog

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?


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


Thanks for the learning joelios - here are lots of cases

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


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.


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