Welcome Guest Search | Active Topics | Sign In | Register

Saving PDF to the server as it is created. Options
fpullanojr
Posted: Monday, September 8, 2014 3:20:16 PM
Rank: Newbie
Groups: Member

Joined: 4/15/2013
Posts: 5
I've been trying to find a way to have the PDF saved to the server so it can be attached to emails that are also being generated by the server. I've been able to save the PDFs as files but the save action goes to the client machine, not the server. Clearly, I'm missing something. How can I accomplish this task?
eo_support
Posted: Monday, September 8, 2014 3:23:45 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

If you use ConvertUrl/ConvertHtml directly, you just pass your file name as the second argument. If you use ASPXToPDF, see here for more details:

http://www.essentialobjects.com/doc/4/web/aspxtopdf.aspx#save

If you use MVCToPDF, see here:

http://www.essentialobjects.com/doc/4/web/mvc.aspx#save

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.