digitalgarden icon indicating copy to clipboard operation
digitalgarden copied to clipboard

Unable to render inline dataview query. Please update the dataview plugin to the latest version.

Open Heart4sides opened this issue 2 years ago • 4 comments

The pages containing inline dataview queries do not get published at all, and I receive this notification on obsidian each time I update publications :

"Unable to render inline dataview query. Please update the dataview plugin to the latest version."

Heart4sides avatar Apr 25 '23 08:04 Heart4sides

I've seen other people having issues when they've used inline queries that has a space in them after the eqaul sign,

i.e. = this.file.name instead of =this.file.name.

Do you have that in your queries? If so, can you try removing them and see if it works then?

oleeskild avatar May 02 '23 15:05 oleeskild

Hello, It does work ! Thank you so much ! I'll use the opportunity to say I think you've build a great plugin, I'm very grateful for your work. Best regards, Thaïs

On Tue, May 2, 2023 at 5:23 PM Ole Eskild Steensen @.***> wrote:

I've seen other people having issues when they've used inline queries that has a space in them after the eqaul sign,

i.e. = this.file.name instead of =this.file.name.

Do you have that in your queries? If so, can you try removing them and see if it works then?

— Reply to this email directly, view it on GitHub https://github.com/oleeskild/digitalgarden/issues/141#issuecomment-1531671309, or unsubscribe https://github.com/notifications/unsubscribe-auth/A46TDJ2GEFZK7OO3VWZ7YELXEERIZANCNFSM6AAAAAAXKULXDI . You are receiving this because you authored the thread.Message ID: @.***>

Heart4sides avatar May 03 '23 08:05 Heart4sides

The inline dataview query does work inside a note, but it doesn't work anymore when embedded into another note :

image image

Heart4sides avatar Jun 12 '23 07:06 Heart4sides

I am encountering the same issue, but removing the white space after = did not work for me. However, only this specific inline call failed me:

=unique(filter(this.file.inlinks+this.file.outlinks,(x)=>all([contains(meta(x).path,"z_Glossary/"),none(contains(meta(x).path,"Index"))])))

I should have removed all the white spaces already. This renders perfectly in obsidian. Admittedly this a bit weird for an inline. I have made it into a list for now, but making it in one line looks better. Curious if there's any solves here.

Thanks!

Esurielt avatar Feb 20 '24 15:02 Esurielt