AnsweredAssumed Answered

Deleting PDF files from desktop folder, after inserting into DB record

Question asked by mrosenhek on Jun 10, 2016
Latest reply on Jun 12, 2016 by electon

I have a potential new client that wants to insert documents into Filemaker records. All the documents are initially scanned and then stored in a specific folder. They do not want to have to manually delete these files after they are inserted.


The Filemaker solution will be hosted from a server. The files that are inserted will be stored internally (container folder) on the server. The company will be using the latest version of FM


After a document is inserted, they want the original  to be deleted from the folder. I am assuming this can be done with a send event command. I'm not sure at this point if they are on Mac, Win or both (forgot to ask).


I envision having an "Insert Document" script which after insertion is done, will have a send event that will delete the pdf file that was just inserted. I would think since the folder name and pathway will remain static, that we can somehow capture the filename and pathway for the specific file to be deleted from the folder.


Can somebody provide some advise on this? Thank you very much.