# Note with a hierarchical list of existing notes in it

**URL:** <https://forum.obsidian.md/t/note-with-a-hierarchical-list-of-existing-notes-in-it/93011>\
**Category:** Help\
**Tags:** dataview, internal-links\
**Created:** [December 11, 2024, 1:50am UTC](https://forum.obsidian.md/t/note-with-a-hierarchical-list-of-existing-notes-in-it/93011 "2024-12-11T01:50:36Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![FsOver2](https://forum.obsidian.md/user_avatar/forum.obsidian.md/fsover2/32/73673_2.png) [@FsOver2](https://forum.obsidian.md/u/FsOver2)\
**Post date:** [December 11, 2024, 5:02am UTC](https://forum.obsidian.md/t/note-with-a-hierarchical-list-of-existing-notes-in-it/93011/5 "2024-12-11T05:02:28Z")

</div>

> [@Trel567](#):
>
> Could you tell me how can I add canvas to the list as well?

From my quick research, Dataview doesn’t support canvas files with a standard query. You can use the more powerful `dataviewjs` query.

> [@Dataview - List all canvas files in specific folder](https://forum.obsidian.md/t/dataview-list-all-canvas-files-in-specific-folder/76697):
>
> Hi Fellow Obsidian Friends, Nothing really special, just a snippet that might help other folks working on their own custom folder structures, project homepages, and Dataview queries. I found a similar topic (list all canvas files), but what I needed was specifically listing all canvas files from a specific folder. It took me an hour to make Dataview’s dataviewjs query type do what I asked: ```dataviewjs const moodFolderFiles = app.vault.getFiles() .filter( (file) =\> { return ( file.p…

> [@Trel567](#):
>
> And I wonder if there’s a way to make sub folders as a nested list, like when using tab? and make all folders names bold?

These both could also be accomplished with a `dataviewjs` query.

A `dataviewjs` query is more involved to write. In this case, I’ll leave this as an exercise for the reader 😁

---

_[View the full topic](https://forum.obsidian.md/t/note-with-a-hierarchical-list-of-existing-notes-in-it/93011)._
