question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Data loss when generating PDF using Data View JS query

See original GitHub issue

What happened?

I heavily use inline properties (like point::Important stuff to remember ) to mark important points when taking notes for a topic. I have ~100 such notes with multiple inline properties. I use dataview to generate a quick revision sheet from these important points. Pasting a sample query below.

The query output in Reading mode is correct - I see all points listed correctly. However, when I try to generate PDF for this query, the output pdf is missing many inline property instances.

RENDERED OUTPUT

image

GENERATED PDF OUTPUT

image

DQL

No response

JS

var pg = dv.pages("#science").where(pg => pg.point != null)

pg.forEach((page, idx) => {
    dv.header(5, page.file.link)
    dv.list(dv.array(page.point))
})

Dataview Version

0.4.26

Obsidian Version

0.14.6 (latest installer)

OS

MacOS

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
blacksmithgucommented, Apr 27, 2022

I wasn’t aware PDF generation even worked! Is this core obsidian functionality, or a plugin?

1reaction
AB1908commented, Apr 26, 2022

Can you highlight what’s missing? I’m blind apparently.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Data loss in Export to PDF output - Obsidian Forum
Issue: Rendered reading mode output from Dataview query is showing correctly. However, when using Export to PDF option, the output file ...
Read more >
rendering a pdf file using a base64 file source instead of url ...
The Problem with this is that XMLHttpRequests do not support data: uris (eg. data:application/pdf;base64,JVBERi0xLjUK...). But there is the possibility of ...
Read more >
Inspecting storage and databases for sensitive data
Cloud Data Loss Prevention can detect and classify sensitive data stored in a Cloud Storage location, Datastore kind, or BigQuery table.
Read more >
Importing data from a PDF file in Power BI Desktop - SQLShack
It removes Null values from the table, and you can see data in the tabular format now. You can match this data with...
Read more >
Generate PDFs of your reports and dashboards
You can view the PDF in your internet browser or with a separate PDF ... For more information see "Generate dashboard PDFs" in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found