How to make the "Image View" the default view instead of "List View"

How can the “Image view” made the default view for the records of a doctype?

Instead of the list, it should be the image based view:

Hi @moroslantia,

Please apply a custom/client script for the listview.

frappe.listview_settings['Your DocType Name'].onload = function(listview) {
    window.location.href = "/app/your-doctype-name/view/image";

If the apply script then you can’t use listview.
If you are comfortable with it then use it.


Thank You!

Simpler option on v14.

Doctype/Customize form > “View settings” > Set “Default view”


Thank you for your answer. It is what i was hoping for to find. However, i don’t have it available. What i’m missing?


It was implemented on v14.13

1 Like