[[Dataview (Obsidian plugin)|Dataview]] query to list all open checkboxes in vault along with filename where open checkbox was found. # Quick facts - Supports shutdown complete process. ```dataviewjs // 1. Get all pages, sorted by creation date (newest first) // You can change 'ctime' to 'mtime' if you prefer "Last Modified" let pages = dv.pages().sort(p => p.file.ctime, "desc"); // 2. Iterate through each page for (let page of pages) { // 3. Get the open tasks for this specific page let tasks = page.file.tasks.where(t => !t.completed); // 4. If the page has open tasks, render the header and list if (tasks.length > 0) { // Render an H1 Header (#) with the clickable file link dv.header(1, page.file.link); // Render the tasks. 'false' prevents Dataview from adding its own default header. dv.taskList(tasks, false); } } ``` # See also - # External links -