2019.2

Table Of Contents
[1]',Value,KeepCase,NoTrim).pdf
Here, the xmlget() function grabs the invoicenum variable from the GET request, which
would be INV999999.pdf in the specified folder.
l If the file is not found, then a simple, basic HTML page is created indicating the invoice
was not found. For this, a "Create File" on page346 task will suffice, followed by the
"Delete" on page668 output task. As mentioned in "HTTP Server workflow" on page287,
deleting the data file only means you are not doing anything with it locally - it is still
returned to the client.
Tip
Instead of creating a web page from scratch, you could create a web page from a
Connect Web template; use the "Create Web Content" on page639 task.
l If, however, the file is found, then it is loaded with the "Load External File" on page445
task, and then deleted (for the same reasons).
HTTP brochure request
This workflow builds on the knowledge acquired in "HTTP PDF Invoice Request" on page291
and uses a single process, but in this case it also uses a PlanetPress Design document (see
"PlanetPress Design documents" on page44) which merges the data received from a browser
form with the document to generate a PDF brochure, which is sent via email.
Resources
l HTTPBrochureRequest.zip (PlanetPress Workflow Configuration)
l InformationBrochure.zip (PlanetPress Design Document)
Installation
l Download both files and unzip them.
l
Open InformationBrochure.pp7 and send it to PlanetPress Workflow.
Page 293