Skip to main content

composition:remote-merge

Merges a local page with a remotely-fetched PDF.

Composition — merges multiple templates into one PDF. Browse this template in the repository →

The PDFs below are rendered live by PDF Server from the shipped examples.

minimal

Your browser can’t display this PDF inline — use the download link below.

Download PDF — composition:remote-merge / minimal

Inputs

Render data

minimal

examples/minimal.json

{
"documentUrl": "https://brendanzagaeski.appspot.com/minimal.pdf"
}

Data schema

schema.json

{
"type": "object",
"properties": {
"documentUrl": {
"type": "string"
}
},
"required": [
"documentUrl"
]
}

Template

composition.yaml

templates:
- templateName: static_template
- templateName: remote-http
if:
jq: '.documentUrl != null'