I'm trying to export and print a records within a layout as as PDF. But, I want the exported PDFs to be dynamically named after each 'Campus' and 'Teacher'.
I also want the script to run and export a new PDF for each teacher (there's 82).
I've found a script online (see below) and it works ok; but, the problem is that it will generate one PDF with all of the found records and their layouts inside.
What I need to do is have Filemaker generate a PDF for each found record and name it dynamically.