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
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'