Embedded note from data view

Hello

new request from a dummy … sorry but I tried with Gemini or chatgpt without success…

In a folder A, I have few notes with basic text and some outlinks.

I would like to add at the end of the current note, the notes, not just the link, referenced by current note.

Optional, I would like to create a specific note that lists and embeds all notes referenced by the note from the folder A.

Thank you

Try putting this Dataview inline query at the bottom of your note:

`=embed(this.file.outlinks)`

A con is that it in includes a comma between each embed; I don’t know how to remove that.

Hi, Thank you but that doesn’t work.

Here what I did, may be I don’t understood your proposition

TABLE length(rows) as "\#" FROM "Ontology language" 
FLATTEN file.outlinks as Outlink 
WHERE startswith(meta(Outlink).path, "Term") 
GROUP BY Outlink SORT length(rows) DESC
`=embed(this.file.outlinks)`

and now the error message

Dataview: Error:
– PARSING FAILED --------------------------------------------------

3 | WHERE startswith(meta(Outlink).path, “Term”)
4 | GROUP BY Outlink SORT length(rows) DESC

5 | =embed(this.file.outlinks)
| ^

Expected one of the following:

‘,’, /FROM/i, EOF, FLATTEN [AS ], GROUP BY [AS ], LIMIT , Not a comment, SORT field [ASC/DESC], WHERE , whitespace

Regards
Michel

What I gave you is called an “inline query”. It stands alone. So don’t put it inside a table query or inside any code block.

You said you want the embeds at the end of your note. So at the bottom (end) of your note, put two blank lines and then paste the code. On a line all by itself.