Hi all, I need to convert the SharePoint forum (thread) to PDF document. Well the requirement is, When button is clicked inside the thread, the forum thread should be rendered as pdf document and should be able to attach to an email template inside the SharePoint.
How easy to accomplish this by developing .NET component? If any third party tool to achieve, pl. do suggest.
Hi, Let us break your complete task in three (3) part and put a solution for them: 1. To create a pdf file for the thread in forum: Make use of following article to achieve the same http://www.codeproject.com/KB/graphics/iTextSharpTutorial.aspx The best way to generate/ create pdf is to make use of iTextSharp library (this is a open source library ) 2. Sending email of the generated pdf: Either make use SharePoint OM provided SPUtility class send email method or either make use of traditional asp.net mailing i.e System.Net.Mail namespace 3. Create ECB menu for Button that triggers pdf creation and mailing mechanism: Refere this link http://msdn.microsoft.com/en-us/library/ms473643.aspx for creating ECB. Well this is upto you weither to follow this approach. If you have other option then go ahead.
Do let us know your view on this.
Manish Patil
http://patilmanishrao.wordpress.com
Posting is provided AS IS with no warranties, and confers no rights.
Proposed as answer bySohel RanaMonday, January 18, 2010 12:24 PM
Marked as answer bysanraTuesday, January 19, 2010 11:53 AM