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

Discussion

Discussion

Forms Save to Repository Formatting (Headers, Footers, and Page Breaks)

posted on May 19

Hello, we have a project that requires Laserfiche Forms to print professional looking documents into the repository and while we've been able to make a lot of progress with custom HTML elements, we're running into issues with tables getting split between two or pages. 

I know how to add page breaks using pagination and the checkbox for enforcing page breaks for separated pages and I could foresee a potential workaround to this problem by just having multiple variations of the repository forms that we utilize under certain conditions (like line item rows exceeding 5 or something).

I'm wondering though before I go that route, is there any way to set up repeating headers and/or footers to forms saved to the repository?  I know we could probably accomplish this using MS Word Templates but as far as I know, you can only save edited MS Word Files as electronic files (either .docx OR .pdf) in the repository and we need these files as native .tiff for other processes and they don't have QuickFields agent to convert the PDF files to .tiff.

Any advise would be appreciated!!

0 0
replied two days ago

There are options PuppeteerHeaderTemplate and PuppeteerFooterTemplate in FormsConfig advanced options which can be used to define the header/footer template when generating PDFs.

The value should be valid HTML markup with following classes used to inject printing values into them:

date - formatted print date

title - document title

url - document location

pageNumber - current page number

totalPages - total pages in the document

You could reference this post for example https://github.com/puppeteer/puppeteer/issues/5345

 

0 0
replied on May 19

You can use Workflow and Update Word Document activity to push the data to Word documents. The activity has an option to save them as PDF. Then Distributed Computing Cluster (DCC) can take over and make image pages from the PDFs.

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

Sign in to reply to this post.