The action "Save PDF to file" doesn't work with included views. When I look the view at the browser, it's working fine. But when I try to save the pdf to a file, the included view (PDF View) isn't generated. I try to create a PDF for invoices and need the included view for the order items.

Comments

I have been experiencing a similar problem. I have setup rules to save the PDF to the server using the specified view, the PDF is generated using the specified template but contains none of the fields. I am using Global Views field to include another view within the PDF When going directly to pdf link using the views display path it works beautifully.

About to test it on my local server to see if it is a permissions problem. Also going to remove the global views field to see if that is the issue.

Testing on Localhost resulted in:

Views Global View field removed - no change.
I removed the views argument [node:nid] from the save pdf rule - resulted in blank pdf as expected.
placed [node:nid] argument back in and I am recieving only 2 fields in the PDF.

Note I am also using the Relationships filter for some field collections fields within the view.

Is it possible that the Save to PDF rule is picking up the relationship? If so how would I reference this in the Save to PDF rule?

Status:Needs work» Active

No patch => setting the correct status.

Priority:Major» Normal
Status:Active» Postponed (maintainer needs more info)
Issue tags:+Needs steps to reproduce

Dear fellow Drupal enthusiasts,

I have set this issue to "Postponed (Maintainer needs more information)".

If not already done please add an issue summary and steps how to reproduce the problem.
And please read again, "Making an issue report".

Help about how to do this can be found on IRC and in the user groups.

After there is new information, please re-open the issue by changing the status to active.

--
This issue was edited with the help of Issue Helper

i have 2 included views in the last dev and they work on a saved pdf by rules.

Issue summary:View changes
Status:Postponed (maintainer needs more info)» Closed (works as designed)

Please open a new issue if you still have this problem.