Metadata Menu Lookup Query Help (dvjs)

What I’m trying to do

I’m trying to create a lookup query in dvjs that only calls for notes that are linked to the current note.

Things I have tried

I have tried dv.pages(*), dv.pages(“[]”) … I am uncertain how to do it. I do not know much at all about dvjs. Thanks.

I’m no JS expert (barely a user), but I think you might need to invoke current with something like this:


That will search for that particular link, you’ll want to find a way to use that with outlinks. Maybe .outlinks.contains would work.