Configure the Generate PDF operation

After creating the Print template entity and the Print entity generation action, we configure the Generate PDF operation.

In this example, we add the operation to the Entity operations component of the Content detail page:

  1. On the menu bar, click Manage , and then select Pages.

  2. Go to the Content detail page and edit the Entity operations component. In this example, we enable custom settings by turning the switch to the right.

  3. On the Entity operations component, click More options and select Edit .

  4. On the EntityOperations component page, click Add operation and select Generate PDF.

  5. In the Generate PDF section, link the Generate PDF operation with the CMPRecipePrint action created in the previous section.

  6. Turn the Disable button after click switch to active.

  7. If you want the downloads to be of higher quality, turn the High-resolution switch to active. In this example, we do select the High-resolution option.

  8. Click Save.


For the download in high-resolution option to work, the asset.json file in the print template package should also include:

"highRes": { "property": "Renditions", "rendition": "thumbnail" }

Can we improve this article ? Provide feedback