Matthew R White Posted February 17, 2016 Posted February 17, 2016 Hi all im trying to use FileMaker to: open an https website navigate to username field enter username, navigate to password field Enter password then click the go button on the website what is the best way to approach this?
webko Posted February 17, 2016 Posted February 17, 2016 There is no way for this sort of interaction to be done in this way... _If_ the website will accept GET or POST statements (which is what happens after a form is submitted), then there are ways of achieving this. So - do you have the actual website you're trying to access? Should be able to determine the above fairly quickly... Cheers Webko
Matthew R White Posted February 17, 2016 Author Posted February 17, 2016 Webko, thanks for the reply the website is: https://elad.aigaviation.com/Account/Login?ReturnUrl=%2f
webko Posted February 17, 2016 Posted February 17, 2016 They use the POST method, which makes things a bit more difficult than the GET method I don't believe there is a native FileMaker way to POST a request to a browser - there are certainly a number of plugins that will let you do this. Google "FileMaker cURL Request" to get an idea of what may be involved.
comment Posted February 17, 2016 Posted February 17, 2016 36 minutes ago, Matthew R White said: then click the go button on the website What is the ultimate purpose of this exercise?
Matthew R White Posted February 17, 2016 Author Posted February 17, 2016 Thank you webko and comment the purpose is: We have an aviation insurance business, all of our customers data is within our filemaker database, we have 11 companies that we shop the market with, all have separate websites, username and log ins, we currently have to log in to each website, inout all the pilot and aircraft date into forms and clicking buttons, this returns a quote which we put into filemaker. I'm looking to automate this within filemaker if possible. I would be willing to pay for this development as its a bit out of my comfort zone. Thanks
Mike Duncan Posted February 17, 2016 Posted February 17, 2016 You might be able to make your own html form that uses javascript to automatically submit. If you have the same form and the action of the form is the absolute path to where the form normally submits, it should take you right in. I've used this in the past on difficult-to-work-with sites where we have gotten permission to access them, but it was quicker for us to workaround than ask them to fix their end.
comment Posted February 17, 2016 Posted February 17, 2016 I too would suggest you skip the web viewer and try using cURL - either through a plugin or through OS-level scripting. 3 minutes ago, Mike Duncan said: You might be able to make your own html form In my (limited) experience, some sites allow this, some don't.
Matthew R White Posted February 17, 2016 Author Posted February 17, 2016 Some of the websites that I'd like to automate entry are as follows http://elad.aigaviation.com https://us.aeroinsure.com/aus/servlet/EventHandler http://www.aero.hallselect.com/producer/login https://qbus.ussic.com/Qbus/QuoteRequest/Search https://fly.myqbe.com/portal/login.jsp http://londonaviation.net
Jim Gill Posted February 17, 2016 Posted February 17, 2016 (edited) 1 hour ago, webko said: I don't believe there is a native FileMaker way to POST a request to a browser - there are certainly a number of plugins that will let you do this. You can POST data by the "Insert from URL" script step: http://help.filemaker.com/app/answers/detail/a_id/11626/kw/About%20importing%20data%20using%20an%20HTTP%20request Edited February 17, 2016 by Jim Gill typo
webko Posted February 17, 2016 Posted February 17, 2016 However, the OP wants to actually auto-login to a specified website...
Recommended Posts
This topic is 3292 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now