PDF Shortcode and Views

By: Michael Clark | Asked: 06/06/2023
ForumsCategory: General questionsPDF Shortcode and Views
Michael ClarkMichael Clark asked 1 year ago
Should the [frm-pdf] shortcode work inside Views (not publishing the shortcode to a page) to create a downloadable pdf of the view listing or detail?
Rob LeVineRob LeVine replied 1 year ago

Interesting. I can't say I've tried that. The documentation does say "You may insert the following shortcode on a page, post, email notification, or View"

Bobby Clapp replied 1 year ago

I'm using it inside a view as way to download an executed contract I've created with FF.

Dominic PottsDominic Potts replied 1 year ago

Hi!

I am trying to get this to work -however it isn't wokring. the view doesn't display a download link

[frm-pdf view="259329" entry="[id]" mode=download filename="Buyer Details - {206}" public=1]

This is the shortcode I've put in the view.

Victor Font replied 1 year ago

Other than missing the quotes around download and 1, and quotes around the [id] shortcode, the overall shortcode appears correct. Assuming the view ID is correct, I'd have formatted the line as:

frm-pdf view="259329" entry=[id] mode="download" filename="Buyer Details - {206}" public="1"

If formatting the line as the KnowlegeBase indicates doesn't work, you may have to open a ticket with Strategy 11.

Dominic PottsDominic Potts replied 1 year ago

Victor,

As always, thank you for your super quick repsonse! I must be Quotes blind!

It works like a charm.... now time to pretty up my View/PDF

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right