Frappe Framework comes with a rich admin interface called the Desk. It reads meta-data from DocTypes and automatically builds list views, form views, report views, etc for your DocTypes. Desk is to be used by users of the type "System User".

In this section we will discuss what views are provided by Desk and how to configure them.


When you login to the Desk, you're presented with the Desktop, it features a persistent sidebar sorted in categories. Each sidebar item links to a page called Workspace.

A workspace represents a module (for example CRM in ERPNext). A workspace includes the following:

  1. A dashboard section for that particular module by default.
  2. Shortcuts for commonly visited masters and pages
  3. A masters section where all the reports and masters are grouped and listed

All of these will be customizable by the user. ⚡️



Awesomebar helps you to navigate anywhere in the system, create new records, search in documents and even perform math operations.

Awesomebar Navigating ToDo using Awesomebar

List View

List View is generated for all DocTypes except which are Child Tables and Singles.

The List view is packed with features. Some of them are:

  1. Filters
  2. Sorting
  3. Paging
  4. Filter by tags
  5. Switch view to Report, Calendar, Gantt, Kanban, etc.

List View List View

To customize the List View you must have a {doctype}_list.js file in the doctype directory. Here are all the options that can be customized. This examples assumes the Note DocType.

frappe.listview_settings['Note'] = {
    // add fields to fetch
    add_fields: ['title', 'public'],
    // set default filters
    filters: [
        ['public', '=', 1]
    hide_name_column: true, // hide the last column which shows the `name`
    onload(listview) {
        // triggers once before the list is loaded
    before_render() {
        // triggers before every render of list records
    get_indicator(doc) {
        // customize indicator color
        if(doc.public) {
            return [__("Public"), "green", "public,=,Yes"];
        } else {
            return [__("Private"), "darkgrey", "public,=,No"];
    primary_action() {
        // triggers when the primary action is clicked
    get_form_link(doc) {
        // override the form route for this doc
    // add a custom button for each row
    button: {
        show(doc) {
            return doc.reference_name;
        get_label() {
            return 'View';
        get_description(doc) {
            return __('View {0}', [`${doc.reference_type} ${doc.reference_name}`])
        action(doc) {
            frappe.set_route('Form', doc.reference_type, doc.reference_name);
    // format how a field value is shown
    formatters: {
        title(val) {
            return val.bold();
        public(val) {
            return val ? 'Yes' : 'No';

Form View

Form view is used to view the records in a Form Layout. This view has a lot of things going on. But the primary purpose of it is to view and edit records. A document can be assigned to or shared with other users and it can have arbitrary attachments and tags, all of which can be seen in the form sidebar.

Form View Form View

When you scroll down to the bottom of the form, you will see the form timeline. The form timeline shows emails, comments, edits and other events in a reverse chronological order.

Form View Form Timeline

Report Builder

Report Builder is a generic tool to customize and build tabular data from a DocType. You can select columns to show, filters to apply, sort order and save this configuration by giving your report a name. You can also show Child Table data and also filter documents by their child records. You can also apply Group By on a column with aggregation methods like Count, Sum and Average.

Report Builder Report Builder Features

Tree View

Frappe also supports tree structured records using the Nested set model. If a doctype is configured to be a tree structure, it can be viewed in the Tree view.

Tree View Tree View

Calendar View

Calendar view can be configured for DocTypes with a start date and end date.

Calendar View Calendar View

The configuration file should be named {doctype}_calendar.js and should exist in the doctype directory. Here is an example configuration file for calendar view for Event doctype.

frappe.views.calendar['Event'] = {
    field_map: {
        start: 'starts_on',
        end: 'ends_on',
        id: 'name',
        allDay: 'all_day',
        title: 'subject',
        status: 'event_type',
        color: 'color'
    style_map: {
        Public: 'success',
        Private: 'info'
    get_events_method: 'frappe.desk.doctype.event.event.get_events'


Gantt View

Gantt view uses the same configuration file as calendar, so every DocType that has a Calendar view has a Gantt view too.

Gantt View Gantt View

Kanban View

Kanban view can be created for any DocType that has a Select field with options. These options become the column names for the Kanban Board.

Kanban View