2 Replies Latest reply on Jan 22, 2014 10:58 PM by arronlee

    Opening pdf file with Open URL in iOS

    WeeMingKoh

      Title

      Opening pdf file with Open URL in iOS

      Post

           Hi,

           How does one open a pdf file in filemaker go using the Open URL function? I can save a record as pdf in filemaker go, but I have no idea on how to open that file using the filemaker script.

           Anyone has a workaround on this?

           Thanks,

           Nick.

            

            

        • 1. Re: Opening pdf file with Open URL in iOS
          TSGal

               Wee Ming Koh:

               Thank you for your post.

               In order to open the PDF file in FileMaker Go, you will need to make sure the PDF file exists in the same work area as FileMaker Go.  Since you saved the record as PDF in FileMaker Go, and assuming the PDF file name is TEST.PDF, create the following script:

               Set Variable [ "$PDFfile" ;  Value:  "file://" & Get ( DocumentsPath ) & "TEST.PDF" ]
               Open URL [ No dialog ; $PDFfile ]

               -----

               After saving the PDF file, execute the script above.

               Let me know if you need additional clarification.

               TSGal
               FileMaker, Inc.

          • 2. Re: Opening pdf file with Open URL in iOS
            arronlee

            I wonder whether it can be accomplished by building a PDF viewer using some manual tools to help with the PDF opening and reading? I am not so sure about it. But I think FileMaker has already offered a good solution to this problem. Thanks.