Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Heart4sides opened this issue Apr 25, 2023 · 4 comments

Comments

@Heart4sides
Copy link

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."

@oleeskild
Copy link
Owner

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?

@Heart4sides
Copy link
Author

Heart4sides commented May 3, 2023 via email

@Heart4sides
Copy link
Author

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

image
image

@Esurielt
Copy link

Esurielt commented Feb 20, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants