6 Replies Latest reply on Apr 14, 2017 1:56 PM by philmodjunk

    Combining multiple report layouts into single PDF via script

    stephcourdin

      We want to use the "save to PDF" with the Append option to combine multiple report layouts into a single document

       

      We have a layout which will allow the user the option to pick/choose which of the report layouts they want to include

       

      We have created all the individual reports

       

      The final step we have a challenge with is this final script which will (based on select)

       

           1 - run each layout in sequence

       

           2- append (have tested within the individual layout manually)

       

           3 - send PDF via email (already have the script step for this)

       

      when i attempted to have a single script as follows the reports were blank (but when run manually each report works)

       

           Go to layout ["report1"]

              save records as PDF ....

           Go to layout ["report2"]

              save record as PDF { with append }

           Go to layout ["report3"]

              save record as PDF { with append }

           Go to layout ["report4"]

              save record as PDF { with append }

           send mail ..... attach PDF