6 Replies Latest reply on Jul 18, 2013 10:52 AM by TomPingel

    web viewer issue

    TomPingel

      Title

      web viewer issue

      Post

           My application uses web viewer to update a 3rd party web-site. The action is 'Go to Url'.

           My application constructs the url and then 'sets' the web viewer to the url.

           The indication from the 3rd party site is that the update was successful. However only part of the url in fact gets processed.

           When I copy the url from the application into a browser (FireFox), I get the same indication that the update was successful, and the entire url in fact gets processed.

           The length of the url that is constructed is 16243 characters.

           I don't think it's a 3rd party issue since using the constructed url directly in a browser works.

           I'm using FM12 advanced.

           Any ideas?

        • 1. Re: web viewer issue
          philmodjunk

               It's hard to say without examing the syntax of that actual URL.

          • 2. Re: web viewer issue
            TomPingel

                 I don't want to post the entire url since it contains credentials for the 3rd party web-site access.

                 I will provide the start of the url and everything that follows the credentials and maybe something will pop out:

                 start:

            https://api   etc.

                 data that follows the credentials:

            ,"11","11","7/17/2013","360"&line2="Cabins","1","Cabin 1","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","1","1","1","1","1","0","0","0","1","1","1","1","1","1","0","0","0","0","0","0","0","1","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1"&line3="Cabins","2","Cabin 2","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","1","1","1","1","1","0","0","0","1","1","1","1","1","1","1","1","1","1","1","1","1","1","0","0","0","0","0","1","0","0","0","1","1","1","1","0","0","0","0","0","0","0","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1"&line4="Cabins","3","Cabin 3","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","1","1","1","1","1","1","1","1","1","1" etc.

                 this continues through '&line12'.

            • 3. Re: web viewer issue
              TomPingel

                   What I failed to mention in the previous post is that when accessed through web-viewer, processing on the 3rd part host stops just before '&line3='

                   All  '12' lines are processed when copied into a browser.

              • 4. Re: web viewer issue
                schamblee

                     Have you tried using "Open URL" which will open a web browser,  instead of using the web viewer?

                      

                     Link about using Oper URL

                http://help.filemaker.com/app/answers/detail/a_id/2982/~/opening-a-web-page-url-from-filemaker-pro

                • 5. Re: web viewer issue
                  TomPingel

                       Just tried open url and it worked.

                       The only problem is that I believe that will leave the browser open on my user's desktop. Is that correct?  That is undesrireable. Web viewer would not open any unnecessary clutter on the users desktop (the process just displays 'Done' or an error message after processing the url - the user does not need to see the data that were posted).

                       Wonder why web viewer objects to the url. Would like to get that to work.

                  • 6. Re: web viewer issue
                    TomPingel

                         I have a web viewer solution, though not so elegant.

                         I loop through a series of 'set web viewer' script steps posting one line of data each time. That works.

                          

                         My question now: If one 'set web viewer' script step has not completed processing, and another is executed to the same site before it's done, what happens? !st is interrupted? or is it 'allowed' to complete before the 2nd is executed? or is there an error on the 2nd because the site is 'busy'?

                         I would hate to have to pause a few seconds before each 'set web viewer' script step - especially when the number of 'lines' of data is large.