Table of Content
Still need help?
Request support
Request Support
Help
 / 
 / 
App Configuration
 / 

Print Settings - Configure PDFs

Clappia helps you create custom apps for any business process. If your process involves printing or creating a PDF document of your app submissions, Clappia supports dynamic printing where a template document is merged with dynamic values captured in the app/forms.

Here are some of the use cases where people use dynamic printing -

  • Invoices
  • Work orders
  • Offer letters or any similar letters
  • Report cards
  • Compiled reports
  • Agreements
  • Proposal documents
  • Quotations
  • and many more...

Help video

Configuring PDFs

Select the app you need to have a PDF for from your dashboard.

Then go to Design App > Configuration > Print Settings.

Print Settings - Configure PDFs

A right panel will appear where you can add PDFs. Click on Add Print Template. Then give a name to the PDF. You can have multiple PDFs configured for an app by clicking on ‘Add Print Template’ again.

Print Settings - Configure PDFs

Click on the edit icon and a pop-up window will appear where you can design the template for the PDF.

You can configure your template with the built-in text editor in Clappia which is similar to Doc/Word with all the text, header, footer, images, and the variables that need to be merged from the app submissions. Here is an example document:

Print Settings - Configure PDFs

‍In the above image, there are certain words in {} brackets. These are variables taken from the app. You can get these variables from the app that you have designed in the Design App section. In the print settings editor window, simply type in ‘@’ followed by the field name and you will see the desired field whose value you need to pull dynamically from your app’s submission.

Print Settings - Configure PDFs
Print Settings - Configure PDFs

HTML Editor

The HTML editor is used to provide rich text formatting to your PDF. 

Print Settings - Configure PDFs
Print Settings - Configure PDFs

In case you are not familiar with HTML to generate the desired format for your PDF, you can always use AI assistance online to help you generate the code and paste it into the HTML editor.
While editing on the HTML editor, you can also make use of variables to pull values from your app submissions dynamically by typing '@'.

Enabling Headers and Footers
Print Settings - Configure PDFs

The PDF editor allows you to enable headers and footers to include additional context such as logos, titles, page numbers, or disclaimers in your PDFs.

At the top of the editor, toggle the Enable Header and/or Enable Footer options.

Add your desired text, variables (using @), or images in these sections.

Click Save to apply the changes.

Inserting Images Externally

You can add external images to your PDF template by clicking on the Insert/Edit Image icon in the toolbar. A pop-up window will appear, allowing you to specify the image source URL, alternative description, width, and height. Once configured, the image will be embedded into your PDF template.

In the below image, the image is inserted into the header to add the company logo.

Print Settings - Configure PDFs
Print Settings - Configure PDFs
Print Settings - Configure PDFs
Inserting Images from Submissions

You can add images uploaded through app submissions to your PDF template by clicking on the Insert Images from Submissions icon in the toolbar. A pop-up window will appear, allowing you to select the desired field containing the image, adjust padding, and configure the width. Once configured, the image will be dynamically pulled into your PDF template based on the submission data.

Print Settings - Configure PDFs

With this option you can insert images (from the Camera, images & Files block) and signatures (from the Signature block) from your app.

Click here to know more about inserting Images from submissions.

Inserting GPS Location from Submissions

You can add GPS locations captured through app submissions to your PDF template by clicking on the Insert Map from Submissions icon in the toolbar. A pop-up window will appear, allowing you to select the GPS field, adjust the map's height and width, and configure the display. Once configured, the GPS location will be dynamically added to your PDF template. The map will be displayed as a static image with a location pin at the GPS coordinates captured in the app submission.

Print Settings - Configure PDFs

Click here to know more about inserting GPS Location from submissions

Generating QR Codes

You can dynamically generate QR codes in your PDF template by clicking on the Insert QR Code from Submissions icon in the toolbar. A pop-up window will appear, allowing you to select the field whose data you want encoded, configure the padding, width, and optionally specify the section index for copied sections. Once configured, the QR code will be dynamically generated in your PDF template based on submission data.

Print Settings - Configure PDFs

Click here to know more about generating QR Codes within Clappia.

Locating PDF

Make submissions in your app:

When a user opens the app, they will be taken to App Home, where the app is live and ready to be used. Once they fill in the fields and click on ‘Submit’, the submission is made.

To locate app submissions go to the Submissions tab and click on a particular submission. Submissions can be viewed only by admins or to those users who have been given permissions.

Once a submission is selected, a right panel will appear showing all the details submitted.

Print Settings - Configure PDFs

To locate the PDF, click on the PDF icon at the top of the right panel. A print preview of the PDF will appear, with the exact template as configured.

Print Settings - Configure PDFs

You can save the PDF to your system or print it.

Print from the mobile app

You can also print or save PDFs to your mobile device from the mobile app. If you have not downloaded the Clappia mobile app, you can do so either on PlayStore or AppStore.

Print Settings - Configure PDFs

Open the Clappia mobile app, and all your apps should be visible to you. Select the app where Print Settings was configured. Click on the submissions icon at the bottom. Select a submission. Click on the print icon. You will see the print preview of that submission. You can either print it or save it to your mobile device by changing the option at the top.

Print Settings - Configure PDFs

Deleting a PDF Template

If a PDF template is no longer required, you can delete it to keep your app organized.

Navigate to Design App > Configuration > Print Settings.

Click the Trash Bin icon next to the template's name.

Print Settings - Configure PDFs

Copying a PDF Template

You can create a copy of an existing PDF template for reuse or to make modifications without affecting the original.

Navigate to Design App > Configuration > Print Settings.

Locate the PDF template you want to copy.

Print Settings - Configure PDFs

Click the Clone icon (represented by two sheets of paper) next to the template's name.

Print Settings - Configure PDFs

The copied template will appear in the list with a default name like "[Original Name] (Copy)."

Print Settings - Configure PDFs

Click the Edit icon to rename or make edits to the copied template as needed.

Handling Copyable Sections in PDFs

Print Settings - Configure PDFs
Print Settings - Configure PDFs

If there are copyable sections in the app and you want to print the data for all copies of that section, you can use variable names with suffixes like #1, #2, and so on. For example, if the variable name is {payment}, and the copyable section is configured for 3 copies in the app, you will see {payment#1}, {payment#2}, {payment#3} available for selection in the Print Settings.

Print Settings - Configure PDFs

Simply type @ in the print template editor, and all the variables, including those with suffixes for the copyable sections, will appear for you to select. These fields dynamically pull data from the respective copies created in the app submissions.

Print Settings - Configure PDFs

Managing Blank Rows in Tables

Print Settings - Configure PDFs

If you have added a table to the print template and included variable fields in the cells, blank submissions for these fields will result in the respective cells being left empty. 

Print Settings - Configure PDFs

However, if an entire row in the table is blank, you can configure the table to automatically delete those rows.

In the print template, select the table whose rows need to be dynamically deleted.

Click on Table in the toolbar.

Select Table Properties from the dropdown menu.

Print Settings - Configure PDFs

In the pop-up window, navigate to the Class dropdown and select Delete empty rows.

Print Settings - Configure PDFs

Save the settings.

Print Settings - Configure PDFs

This will ensure that rows with entirely blank cells are removed from the generated PDF.

Print Settings - Configure PDFs

Getting a Clickable Link to the Print Template

Once a print template is configured in Clappia, users can view and download the PDF document by clicking the PDF icon within each submission. However, if users prefer a direct link in the submissions table or need the link to appear in Google Drive (when integration is enabled), they can do so by leveraging workflow configurations.

This ensures that each submission automatically updates to include a print preview URL as a clickable link.

To make the print template link accessible as a clickable URL directly in the submissions list, follow the steps below:

  1. Ensure the "Camera, Images & Files" Block is Added to the app:
Print Settings - Configure PDFs
  • Go to the Design App and add a Camera, Images & Files block to your app.
  • This block will act as a placeholder to store the print template link.
  1. Add an "Edit Submission" Workflow Node:some text
    • Go to Design App > Workflows tab.
    • Add an Edit Submission workflow node (or modify an existing one if possible). 

Note: It would be better to have the Edit Submission node under the ‘New Submission flow’ so that whenever a submission is made, the submission is edited immediately (unless you have a different requirement).

  1. Configure the "Edit Submission" Node:
Print Settings - Configure PDFs

In the right configuration panel:

  • Step Name: Provide a descriptive name (e.g., "PDF Link").
  • Select App: Choose the app you are working on. It could be the same app that you want to add the link to or a different app.
  • Filters: Select a unique identifier between the apps, if it is the same app then you can select submission ID as the filter.
  • In the Set Field Values section:some text
    1. Select Field: Choose the Camera, Images & Files block you added in the app.
    2. Insert Print Template Variable:some text
      • Type @ in the input field.
      • A list of variables related to the Camera, Images & Files block will appear, including the print template variables.
      • If there are too many options, narrow it down by typing @pdf or @print to quickly locate the print template link variable.
  • After selecting the print template variable, click Save.
  • The workflow will now automatically update the submission by adding the print template URL in the Camera, Images & Files block column.
Print Settings - Configure PDFs
Results
  • In the Submissions tab, users will now see a direct link in the relevant column. Clicking on this link will open the print preview of the PDF for download or printing.
  • If Google Drive integration is enabled, this link will also be available in the corresponding Google Drive submissions, making it convenient for external users to access the configured print template.
FAQs
Try our free plan
It will answer many more questions within just 15 minutes.