AnsweredAssumed Answered

Script that Inserts PDF into a container field

Question asked by MattGarrity on Jul 16, 2012
Latest reply on Jul 16, 2012 by philmodjunk

Title

Script that Inserts PDF into a container field

Post

Hello FM Users!

 

I'm having difficulty taking PDFs that are currently orgainized in individual serial number-named folders (was using SuperContainer) and moving them to into the new FM12 container fields as reference only files.

I've been trying to create a looping script that finds the PDF based on the name of the folder that it's contained in on my desktop (folder name is the records serial number) but then how do I tell FileMaker to grab that PDF file and place it into the container field? I can only get as far as setting up the file path to the folder but not the file. There are thousands of PDFs and doing this manually is not an option for me. I feel like I'm missing something simple.

Your help is greatly appreciated.

Outcomes