Include Views field data in filename of PDF?

Created on 27 October 2023, 8 months ago

I am using Entity Print to provide a PDF version of Commerce order data to use as a packing slip. Currently, it provides the PDF file with filename document.pdf. I would like to use the order ID and other data to give it a more useful name, perhaps something like "SITENAME-Order-1234.pdf", where the "1234" value would be the order number.

Is this possible? If so, how can I accomplish this?

πŸ’¬ Support request
Status

Active

Version

2.13

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States hockey2112

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024