Pdf generation with grid

Hi Experts,

Is it possible to generate pdf file with data in in tabular form.

I have a requirement where I need to generate the pdf having tables which contains rows defined dynamically.

  Discussion posts and replies are publicly visible

Parents
  • Hi Ankitas ,

    We implemented this recently in our project. Below are the steps followed

    1)query the data and convert to the xml format.(output should be with in XML tags)

    2)create one empty document as template and also inside the document just provide the ##variable name) .

    3)Using the smart service(Create Document from Template) call the above rule and write the output to the document (Map the above rule  output to the ###variable.

    4)create XML  XSLfile.  Please look into XML XSL templates(XML stylesheets)

    5)Using the  smart service (PDF from XSL FO Transformation), provide the source input file as output from step3 and also place the XML XSL 

    template.

    By executing the steps , we can create dynamic pdf. 

    Also please refer the below link for  sample template

    https://community.appian.com/discussions/f/plug-ins/17891/pdf-from-xsl-fo-smart-service

    Hope this helps!  please let me know if this works for you

    Have a good day!

Reply
  • Hi Ankitas ,

    We implemented this recently in our project. Below are the steps followed

    1)query the data and convert to the xml format.(output should be with in XML tags)

    2)create one empty document as template and also inside the document just provide the ##variable name) .

    3)Using the smart service(Create Document from Template) call the above rule and write the output to the document (Map the above rule  output to the ###variable.

    4)create XML  XSLfile.  Please look into XML XSL templates(XML stylesheets)

    5)Using the  smart service (PDF from XSL FO Transformation), provide the source input file as output from step3 and also place the XML XSL 

    template.

    By executing the steps , we can create dynamic pdf. 

    Also please refer the below link for  sample template

    https://community.appian.com/discussions/f/plug-ins/17891/pdf-from-xsl-fo-smart-service

    Hope this helps!  please let me know if this works for you

    Have a good day!

Children