Hi, I’m new to using the software and I’m having a few issues that I’m hoping someone might be able to help with:
We have 2 databases containing information to track orders/build progress of the orders. I’ve linked these together and have created a report to show how the build progress for each order is going and this is where I’m stuck.
I’ve added a filter to select each order separately however we have hundreds of orders and each day I need to convert these to PDFs. At the moment to do this I need to filter each order individually, export to PDF and then change the filter to the next report etc.
Is there a way I can export all orders onto separate PDFs at the same time (possibly under the order number)?
Hopefully that makes sense and any help anyone can provide will be really appreciated.
You can set the AutomasterMode property to “AsVariables” and use the QueryFileNameForExportJob event to create individual previews and then convert them to PDF format.
Under the following contribution (german forum) you find further information to this, this should be simple for you to translate, there you find also a code example to this topic.
You can find the article under the following link:
Hi, I am replying to this topic rather than the linked one by Erdal Alacali because it is in the English forum. I need to do the same as the original poster and following the example from Erdal (thank you!), I have been able to output separate PDF files. Great! However, it doesn’t appear they are being exported in the right format because when I try to view them, I get a message that Adobe thinks the format is corrupted.
What am I missing? My code is essentially the same as provided by Erdal but in vb.net but I can post if desired.
Update: I guess I solved my own problem by using .ll as the file extension rather than .pdf as in the example. Then I used previewfile.convertto() while cycling through all the individual preview files I created. Please let me know if there is some easier way to do this without having to cycle through all the files after the fact.
I’d suggest to get in touch with our support team. We’d like to have a closer look, as splitting in multiple PDFs like Erdal described above should just work.
If possible, you could adjust one of our samples to recreate the issue you’re having and attach the repro to a new support case. We could afterwards share the outcome here then.
Sorry, my bad - I thought the “split” feature would also work for PDFs, however I was plain wrong. We thought about such an extension but haven’t implemented it yet, so your original approach of converting is correct.