Skip to main content

Hi,

 

Is a List view is limited to 20 records per page (to save on Loading all records at once) and returns 4 pages for example, how can you then want to create a PDF of all 4 pages at once? The Save as PDF control only captures what is on that page...

 

Any ideas?

 

Thanks peeps

Hello @Sharpharp1 ,


 


Currently with the PDF control you can only save what is currently on the page. However, there is a workaround to this, where you can disable "Paging" to display all results on the page. This might cause the page to load a little bit slower, but it will display all the results enabling you to capture them all in a PDF.


 


1. Click the "Gear Icon" in the top menu



 


2. Uncheck "Enable Paging"



 



Hi Michael,

Thanks for your reply.
Totally get how the PDF control works.
Had an idea, could you have the regular view set to Enable Pagation, then at the post the user clicks a button to create the PDF, could you do a Rule which Unticks pagation, creates the PDF and then puts pagination back on?

I'm wondering if you could distract the user by doing an Async PDF while closing down views or giving them a "Fact of the day" to read while creating the PDF...
How do you enable/disable paging via a rule?


Hi Sharpharp1

 

If you have a long list of records perhaps the View would take a long time to return the data. To speed up the performance of the SmartObject especially when returning larger datasets. As shown on the image above:
Setting >> User Setting: you would specify the number of Items you want to return for example 10/20 per page.

 

You DONT need to make any changes to the Rules that populates this list method. Example: You DONT need to change the logic of your "LOAD USERS" button to handle paging, the List View will actually handle the paging for you.

 

Kind Regards
Luyanda

 

Please Note: K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member.
 



There isn't any way to enable/disable pagination via a rule. The only way to go about this is to not use the Save As PDF control, and just use the PDF Converter SmartObject. The PDF Converter SmartObject has a method called 'Create PDF From URL'. Create a print version of your form or view that has pagination disabled, then execute the PDF Converter SmartObject, and pass in the URL to the print version of the form.


 


Reply