The canonical template shortcode creates a PDF download link:
[entryfoundry_template id="123" entry="[id]"]
Render inline HTML:
[entryfoundry_template id="123" entry="[id]" output="html"]
Embed the PDF viewer:
[entryfoundry_template id="123" entry="[id]" output="view"]
Dedicated output shortcodes are also available:
[entryfoundry_download id="123" entry="[id]" label="Download PDF"]
[entryfoundry_view id="123" entry="[id]"]
Replace 123 with the template ID. In a Formidable View, [id] resolves to the current entry ID.
Shortcode elements inside a PDF (Pro) #
The Pro builder also has a Shortcode element for rendering another WordPress shortcode inside the document. This is separate from the output shortcodes above. Its Entry author context uses the Formidable entry submitter, or a guest context for an anonymous entry. It does not use the identity of the person downloading the PDF. A specific user can only be selected when the template editor is allowed to manage that user. Test the shortcode with both logged-in and anonymous submissions where relevant.