-1

I want to convert inforpath to pdf.

I have the url and have an access to the hosted place like :

http://hostserver/PWA/_layouts/15/FormServer.aspx?XmlLocation=/PWA/InfoPath%20Title.xml

Is there a way to read the InfoPath form as xml and converting it to pdf ?

Mounir
  • 281
  • 3
  • 10
  • 25

2 Answers2

0

You have to download and parse content of the URL to an object via: XElement, HtmlAgilityPack then create PDF file e.g. using TextWriter.

0

Depends on how and where you want to deal with it, ABCPdf,ItextSharp along with many other third party tools available let you handle the conversion on server side.

You can use jspdf or equivalent to do it on client side, analyse what you need and choose your tool.

Vinay Pandey
  • 8,589
  • 9
  • 36
  • 54