Jump to content
  • 0

PDF of Report not showing records


JayDub
 Share

Question

I have a report that I have created using the method in this video, which utilizes an embedded DataPage in an iframe to create almost a master/sub report effect. It works great when I am viewing the report in the browser, but when I turn on the option to enable a PDF download of the report, the PDF that is produced shows "No Records Found" for the subreport portion of the Report. Even though records are being displayed when viewed in the browser. Has anyone run into this issue?

 

pdf view.pdf brower view.pdf

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

You mentioned that you are using iframes in your DataPages like embedding a DataPage inside of another DataPage, right? Have you tried to check if you are passing/receiving the parameters correctly in the iframes? I encountered one issue in the past that It doesn't load the records in the PDF even if it is showing in the report, what I have done is checked the iframe deployment code if it passes/receives the parameter correctly.

 

Link to comment
Share on other sites

  • 0
2 hours ago, JayDub said:

I have a report that I have created using the method in this video, which utilizes an embedded DataPage in an iframe to create almost a master/sub report effect. It works great when I am viewing the report in the browser, but when I turn on the option to enable a PDF download of the report, the PDF that is produced shows "No Records Found" for the subreport portion of the Report. Even though records are being displayed when viewed in the browser. Has anyone run into this issue?

 

pdf view.pdf 96.74 kB · 5 downloads brower view.pdf 56.27 kB · 2 downloads

I can't replicate it, seems to be working fine for me. Have you tried other browser or device? maybe something is blocking the iframe when pdf is downloaded?

Link to comment
Share on other sites

  • 0

@NailDyanC you were correct. The issue was that I was filtering the "child" datapage by receiving a parameter when I walked through the datapage creation wizard, so it worked fine when it was on a page that was receiving the parameter, but I didn't explicitly pass the parameter value in the URL that was used in the iframe on the "parent" datapage, so it would come up empty in the PDF.

Link to comment
Share on other sites

  • 0

Hi @JayDub, that is good to know. However, one problem with it is once you will print/view it in a PDF format, it will only print the first page even if you still have another page for some records. My solution to that is to maximize the number of records that will show in your tabular report so that it will be included in one page printing of your details page.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...