8 Replies Latest reply on Aug 12, 2015 3:03 PM by leonhart1981_1

    Question about script that save a record as PDF with password and different file name

    leonhart1981_1

      Title

      Question about script that save a record as PDF with password and different file name

      Post

      How to I write a script that will save the current record that I'm viewing into PDF and will also rename the file based on a certain filed value (for example, ContactFirstNmae field); then will save to a certain location? 

       

      What I want to accomplish is to save payroll stubs for each of my employees with their first name as file name. Like Jessica salary detail. Then the file will save into each employee's folder in my computer. 

      I know it will be easy if I create a script for each single employee; but is there a way that I can just create one script and it will work for all the employees? 

      Please help~ Thank you!!!