You are viewing limited content. For full access, please sign in.

Question

Question

Maximum Page Limit for Downloads in WebLink 10

asked on June 15, 2018

How do you change the maximum page limit for downloads in WebLink 10?  We tried following the method for WebLink 9 but there is no <weblink:PdfDialog8 id=PdfDialog runat=server Print="true" /> in DocView.aspx.  We did find it in DocViewGesture, DocView9, and DocViewM.  Editing the string in those files and recycling the app pool did not resolve the issue.  The file only downloads 300 pages.

 

String in DocViewGesture, DocView9, and DocViewM looks like:

<weblink:PdfDialog8 id="PdfDialog" runat=server Print="true" MaximumSize=800/>

<weblink:PdfDialog8 ID="PdfDialog" runat="server" RegisterJavascriptInclude="false" Print="true" MaximumSize=800/>

 

https://support.laserfiche.com/kb/1011039/changing-the-maximum-page-limit-for-pdf-downloads

0 0

Answer

SELECTED ANSWER
replied on June 19, 2018

This works fine for me when I tested it. Please confirm that you have properly renamed DocView9.aspx to DocView.aspx. Then confirm that you have modified the line

<weblink:PdfDialog8 id="PdfDialog" runat=server Print="true" />

to

<weblink:PdfDialog8 id="PdfDialog" runat=server Print="true" MaximumSize="800" />

Finally, make sure that when testing, you clear your browser cache or perform a hard refresh (Ctrl+F5) after opening the document in docview.aspx. Then try printing as a PDF.

I was able to perform the above steps to get WebLink 10 to print more than the first 300 pages of a document as a PDF.

Regards

0 0

Replies

replied on March 13, 2019

Why a page limit at all?

3 0
replied on June 15, 2018

Hi Barry,

Backup the current docview.aspx file first. Then rename docview9.aspx to docview.aspx. Apply the suggested change in your new docview.aspx file and see if that addresses the matter.

Regards

0 0
replied on June 19, 2018

DocView9.asp does not have the weblink expression, but DocView9.aspx does.  Tried renaming both files, but neither addressed the issue.

0 0
SELECTED ANSWER
replied on June 19, 2018

This works fine for me when I tested it. Please confirm that you have properly renamed DocView9.aspx to DocView.aspx. Then confirm that you have modified the line

<weblink:PdfDialog8 id="PdfDialog" runat=server Print="true" />

to

<weblink:PdfDialog8 id="PdfDialog" runat=server Print="true" MaximumSize="800" />

Finally, make sure that when testing, you clear your browser cache or perform a hard refresh (Ctrl+F5) after opening the document in docview.aspx. Then try printing as a PDF.

I was able to perform the above steps to get WebLink 10 to print more than the first 300 pages of a document as a PDF.

Regards

0 0
replied on June 26, 2018

Renaming DocView9.aspx to DocView.aspx and clearing the browser cache worked.  User is able to download more than 300 pages.  Thank you!

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.