Web Viewer Archive Delete

Version 2

     

    Script

     

    Compatibility
    Creator
    Mac OS X, Windows
    Todd Duell
    FMP 8.5, 9, 10, 11
    Formulations Pro
    Web: No
    File Type: FP7
    Server: Yes
    FileSize: ~ 5.07 megabytes
    http://www.formulationspro.com

    Description

    This is a followup to the Web Viewer Archive article. Previously you learned how to send stored files from a container field to a user's desktop and view them using the web viewer. The next step in the process is learning how to remove the file from the user's computer without the use of a plugin. This process uses an undocumented technique from FileMaker. I stumbled across the technique by making a scripting mistake. I took me a while to figure out why my files kept disappearing from the web viewer until I realized that I was actually removing them with the script. I'm now passing this on as a documented technique that's easy to understand and to implement.

     


    Code
    See sample file

     

    Sample Input

    Sample Output


    Developer's Notes

    See sample file for full demo and technical article.

     


    FileMaker Inc. provides this content on an “As Is” basis, without any warranty, and subject to the terms of the FileMaker Technical Network Agreement. FileMaker makes no representations and is not liable for any content or related information. You may use the content as part of your own solutions and for your customers, but you may not otherwise publicly distribute any content that you did not submit. ©2009-2011 FileMaker, Inc. All Rights Reserved. FileMaker is a trademark of FileMaker, Inc. registered in the U.S. and other countries.