API Questions on Kentico API.
Version 6.x > API > Submit and Email PDF View modes: 
User avatar
Member
Member
JasonT - 7/27/2012 4:35:53 PM
   
Submit and Email PDF
Hello,

We have PDF's that users can be filled out online. Does Kentico have a way to handle the submission and emailing of those PDF's?

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 7/28/2012 6:20:52 AM
   
RE:Submit and Email PDF
Hello,


I am not sure whether I get it.

Do you want to allow users to upload a PDF file and submit it to Kentico? Where should it send the e-mail to?

For example: the Forms module allows uploading PDF files and sending them to the users (autoresponder) or to administrators (notification e-mail). See here: Forms module overview.


Best regards,
Helena Grulichova

User avatar
Member
Member
JasonT - 7/30/2012 8:43:19 AM
   
RE:Submit and Email PDF
Hi Helena,

The PDF already resides on the server. A user simply clicks the link to open the PDF up, fills it out and hits the submit button. At that point it would be up to Kentico to handle emailing the information, adding the PDF as an attachment and to allow for any additional processing. All of this would need to be server-side since the client may not have an email client set up and configured.

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 7/31/2012 4:02:23 AM
   
RE:Submit and Email PDF
Hi,


thank you for your explanation. I got it know.

Kentico does not have a native support for this. You would need to develop a custom module. You can use our API to send e-mails:

Sending e-mails using API

or standard ASP.NET methods or 3rd party components for ASP.NET.

Our Forms module does not allow this approach but you can use custom functionality to display the PDF form, process it and then create a new record to Forms module: BizForms API classes.


Best regards,
Helena Grulichova

User avatar
Member
Member
JasonT - 8/1/2012 8:19:18 AM
   
RE:Submit and Email PDF
Thanks Helena, I'll take a look at the BizForms API.