Gravity Forms Attachment

Bug Resolved
June 22, 2019 20:17:16
underdog
Topics: 6
Messages: 20
How do I attach a dynamically generated PDF as an attachment to a Gravity Forms notification?
June 22, 2019 20:39:31
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

Just insert [e2pdf-attachment id="1"] (where 1 is ID of E2Pdf Tempate) to mail notification message.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
June 24, 2019 09:07:15
underdog
Topics: 6
Messages: 20
Thank you, yes I thought that was how it should work. This isn't working for me but I think I understand the issue. I pushed my local website to a development server and now when I try to run an Export on the PDF I get a 'Website Url Incorrect' error. Is this because the license key was generated on my local site url so now won't work with my development site url? If so, how do I generate a new license key for the development site?
June 24, 2019 09:26:44
E2Pdf
Topics: 7
Messages: 3617
Support
If URL is different on development server and local website:

Try please to "Deactivate" (DO NOT REMOVE) plugin and "Activate" again. License Key must be dropped. You can check if url was dropped by going to "E2Pdf" -> "License". You must see there License Type: "Free".

If it will be unsuccessful let us know please the URL of your development website so we can check it on our side.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
June 24, 2019 09:42:31
underdog
Topics: 6
Messages: 20
Yes that's sorted things, thank you very much for your help.
June 24, 2019 09:54:49
underdog
Topics: 6
Messages: 20
Sorry, I have another query. How do I pass the post id of the page the form is submitted from to the shortcode? I tried [e2pdf-attachment id="1" dataset="{embed_post:ID}"] but this does not seem to work.
June 24, 2019 11:39:07
E2Pdf
Topics: 7
Messages: 3617
Support
Our apologizes, we could replicate an issue with using [e2pdf-attachment id="1" dataset="{embed_post:ID}"] - the usage of shortcode is actually correct if Template is connected to WordPress Post.

We are now investigating it so please expect update in nearest time. We will update this thread as soon as update will be released.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
June 24, 2019 14:05:49
E2Pdf
Topics: 7
Messages: 3617
Support
We just released an update (1.07.11) with current fix. Please update it and let us know if issue was resolved. Thank you.

Keep in mind please: when you are using shortcode: [e2pdf-attachment id="1" dataset="{embed_post:ID}"] , Template under ID 1 must be connected to "WordPress" extension and item must be set to "Posts".

We remain at your service.

We would really appreciate your feedback at WordPress.org!
June 24, 2019 14:14:48
underdog
Topics: 6
Messages: 20
Thank you, yes that's working now. Just to let you know the template item was actually set to my custom post type rather than 'Posts' but still worked as expected.
June 24, 2019 14:22:35
E2Pdf
Topics: 7
Messages: 3617
Support
Thank you for letting us know.

In that case yes - if form is located inside "custom" post type then E2Pdf Template must be connected to that "custom" post type, so you did all correctly. Just mentioned about "Posts" type as didn't have all info about your setup.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.