1 Reply Latest reply on Apr 26, 2009 11:56 PM by Yan Kliaver

    Problem in rendering pdf

    kruthis


      Hi,

      I need to render a XDP File with XML File to produce a PDF Document.
      I came to know that there are 2 Serivce's which i can make use of it..


      1.generetePDF
      2.renderPDFForm

       

      Service : generatePDF
      When i tried using this Service  i got the PDF File..but its a Static PDF File.. i can't Edit the PDF File.
      I want a PDF file which i can EDIT Manually..

      And i want to know how to use renderPDFForm Service to generate PDF from the given inputs both xdp and xml file.

       

      Please help me out to solve this problem....!

       

      Thanks,

      kruthi

        • 1. Re: Problem in rendering pdf
          Yan Kliaver Level 2

          Hi,

           

          You have to use renderPDF service if you wish  that dynamic interactive pdf form will be the output of your process.

          Set the name of your xdp template in the "Form to Render" field, name of the xml file data as a "Form Data" and enter the path to your template as "Content Root URI".

          In the output section set the name of the variable to hold the rendered document in the "Rendered Form" field.

          Note that the path should be started with: "repository:///" and then the path to your template.

          For example if the name of you tempate is form.xdp and it is located in Forms folder of your repository, you should set form.xdp as Form to Render and "repository:///Forms" as Content Root URI.

           

          Hope this helps,


          Yan.

          1 person found this helpful