Replies: 4 comments 5 replies
-
Someone on the Discord channel suggested querying a CSV using the csv() function instead of a markdown file in the From. This works for me, so I'm noting it here. |
Beta Was this translation helpful? Give feedback.
-
I am working on this functionality for the next major update (0.5.0), though I haven't completely settled on the syntax for "embedded objects" yet. |
Beta Was this translation helpful? Give feedback.
-
I tried using .csv files, but it doesn't really work, hard to work with etc. try this: ---
data:
projects:
- name: foo
client: Joe
status: active
- name: bar
client: Jane
status: done
---
```dataview
TABLE WITHOUT ID p.name as Name, p.client as Client, p.status as Status
WHERE data.projects
FLATTEN data.projects as p
``` |
Beta Was this translation helpful? Give feedback.
-
It would still be nice to have embedded objects. I have a long-running notes page and want my objects to be defined in the context of the notes, not all in the front-matter. The utility of dataview is that it can collect all of these objects, otherwise I would just put them directly into a table. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi - Dataview is wonderful!
I have a use case for collecting a bunch of reference documents that don't need their own individual page, but I would like to give them metadata and be able to query for them. My idea is to create a document library on a single page, with each row being a separate "document" with inline fields. When querying dynamically from another page, it would only return the line with a tag that matches the name of the querying page. Is this possible? If not (as the documentation seems to suggest), are inline objects on the roadmap?
Thanks!
Here are some more specifics -
Document Library page:
Page for tag5:
TABLE Title, Link, Tags
FROM "Document Library"
WHERE contains(Tags, this.page.name)
Dataview would then return only the second line
Beta Was this translation helpful? Give feedback.
All reactions