1 of 1 people found this helpful
congratulations for a nice project ! You will put FileMaker to good use.
What you are looking for are Containers A Container is a field that contains files like PDF, audio and videos. You can play them from within FileMaker. To set the contents, you can for example drag a file to an empty container. This will copy the file either inside the database, or to a specific directory on the server.
I did not realize that , that is how the field worked. It shows as just a blank field with no file explorer box, and didn't look like I expected. In a test, I was able to put a file in it, but I am unable of taking the file to another program (even just desktop background). I can't seam to even open a file from Filemaker Pro (tested with several PDF files).
That barely helped. I added external storage. But I cannot seam to get any files out when actually dragged in. They show up in the boxes, but when I try to drag them, nothing happens- and when aimed at a file storage location (folder, desktop, file explorer), it appears as a crossed out icon.
That barely helped.
There are lots of links on the page that single link leads to.
Did you read (and understand) that entire material within 11 minutes? I'm impressed!
Kidding aside, look into the Export Field Contents script step. Container fields are a very powerful feature and, accordingly, can be complex to handle - there are many ways that lead to Rome in and out of container fields.
I have read through the supplied links within that page 2 times now, and they do not provide me with much information at all and are so over simplified that 80% is just "fluff" text with no information for taking "data"/files OUT of the container to be used elsewhere (such as dragging it into a folder). I still can't even double click the file to open it- as mentioned in almost every google page results (using "container field" in google search). I accidentally found out the right-clicking even works on FileMaker Pro 15, which is lacking from every document page i have read yet, and found the "export" option- which wasn't real useful as it leaves out the file extension, which will cause problems as the office guys would very often keep forgetting to add the proper extensions. I tried messing with the script with "export field contents" by adding it as a single-step to a button, but it still leaves out the extension.
look for "Working with PDF files in interactive containers" in the Help. If you have an active container, you can read the file right in the container. From Help:
A container field for which the Interactive content option in the Inspector is selected. Interactive containers are rendered using the web browser technologies that web viewer uses.
Look at all the parameters in the inspector.