7 Replies Latest reply on May 27, 2016 4:02 PM by dtcgnet

    WebDirect 14 - Export Field Contents doesn't work

    MaxBeck65

      Summary

      WebDirect 14 - Export Field Contents doesn't work

      Product

      FileMaker Server

      Version

      14

      Operating system version

      MAC OSX

      Description of the issue

      The function "Export Field Contents" returns error 3 if used in WebDirect. Normal behaviour inside FM PRO ADV 14.

      Steps to reproduce the problem

      Run "Export Field Content" via WebDirect 14

      Expected result

      The file contained in the container field that I try to export is exported in the default download directory of my browser

      Actual result

      Error 3 - Command is unavailable (for example, wrong operating system, wrong mode, etc.)

      Exact text of any error message(s) that appear

      The error doesn't apper but I have trace in on a custom dialog window.

      Workaround

      No workarounds found!

        • 1. Re: WebDirect 14 - Export Field Contents doesn't work
          TSGal

          MaxBeck65:

          Thank you for your post.

          Using FileMaker Server 14.0.2 on Mac OS X 10.10.4, I am able to launch Chrome on a Windows machine to access a hosted file and export the field contents (.txt text file).

          What version of Mac OS X is being used with FileMaker Server 14?  Are you using FileMaker Server 14.0.2?

          Which browser is being used to access the database file?  Are pop-up blockers disabled?  If not, disable pop-up blockers.

          What type of file exists in the Container field?

          Are you able to Export Field Contents from another database file?

          Let me know what steps I can take to replicate the issue.

          TSGal
          FileMaker, Inc.

          • 2. Re: WebDirect 14 - Export Field Contents doesn't work
            philmodjunk

            If you look up this script step in Help, you'll find that it's compatibility with Web Direct is "partial". You might check the documentation there as it could be that your specific options are not supported in Web Direct--which is consistent with the error code reported here.

            • 3. Re: WebDirect 14 - Export Field Contents doesn't work
              MaxBeck65
                     
              • posted Yesterday by PhilModJunk
              •      
              •      
                            
                • Actions           
                                   
                  • Report Abuse
                  •           
                            
                •      
                     
              •      
              • Permalink

              If you look up this script step in Help, you'll find that it's compatibility with Web Direct is "partial". You might check the documentation there as it could be that your specific options are not supported in Web Direct--which is consistent with the error code reported here.

              You're rigth, WebDirect "partially" allows Export Field Contents in sense that it should download the content of a Container Field inside the directory configured as default in the Browser but... it doesn't...

              What WD doesn't allow is that you say where you want to save the content.

              In any case, thanks for your answer

              • 4. Re: WebDirect 14 - Export Field Contents doesn't work
                MaxBeck65

                Hello TSGal and thanks for your answer.

                Here below the answers to your questions:

                What version of Mac OS X is being used with FileMaker Server 14?  Are you using FileMaker Server 14.0.2?

                Yes, FM Server 14.0.2

                Which browser is being used to access the database file? 

                I tried Safari, Chrome and Firefox: same behaviour

                 Are pop-up blockers disabled?  If not, disable pop-up blockers.

                pop-up enabled

                What type of file exists in the Container field?

                PDF and the Data formatting of the field is set as below:

                . Format = Reduce image to fit

                . Maintain original proportions

                . Interactive content with Start playback automatically set

                . Preserve PDF transparency

                Are you able to Export Field Contents from another database file?

                I'm not able to do it by using WD.

                 

                Thanks a lot for your support

                 

                Max

                • 5. Re: WebDirect 14 - Export Field Contents doesn't work
                  TSGal

                  MaxBeck65:

                  I have used a similar setup.  This is what I have done:

                  1. I created a database file with a Container field named "Interactive Container".

                  2. In Layout mode, I formatted the the Container field for Interactive content, Reduce image to fit, Maintain original proportions, Start playback automatically, and Preserve transparency.

                  3. In Browse mode, I inserted a PDF file.

                  4. I created a script "Export Container" with the script steps:
                       Set Variable [ $FilePath ; Value: "filemac:" & Get ( DocumentsPath ) & "TSGal.pdf" ]
                       Export Field Contents [ Table::Interactive Container ; "$FilePath" ]

                  5. I execute the script in FileMaker Pro to make sure it works.

                  6. I set the file for Network Sharing and configure for WebDirect.

                  7. I upload the file to FileMaker Server 14.0.2.

                  8. Using Chrome, I access the hosted file via WebDirect, execute the script, and I can download the PDF file.

                  Let me know what I'm doing differently than you so I can replicate the issue.

                  Make sure you have all the necessary ports open.  See Knowledge Base Article #14402:

                  http://help.filemaker.com/app/answers/detail/a_id/14402

                  TSGal
                  FileMaker, Inc.

                  • 7. Re: WebDirect 14 - Export Field Contents doesn't work
                    dtcgnet

                    Note these items from FM:

                     

                    Notes

                     

                     

                    FileMaker WebDirect does not support the Specify output file option. FileMaker WebDirect exports field contents to the web browser’s default download location.

                     

                     

                    FileMaker WebDirect does not support this script step in mobile browsers.

                     

                    Note that the browser's DEFAULT DOWNLOAD LOCATION is where files will be sent by WebDirect. If you try a different location, it won't work.