Contact your carfax web site and see if they have a API like Google API´s. Maybe they have something that is just showing what you need instead of the entire home page. It could look something like this
The API connection is not a viable option for this solution. We simply want to see the basic information from the free site.
If they do not have a API, then you have to use the web page as it is. FileMaker Web Viewer can not just take out a part of a web page.
You could leverage the ID built into their site design to at least scroll automatically to the element. Make the webviewer only as big as it needs to be, and this will end up at the top.
That is a helpful suggestion. I will implement that URL immediately.
How do I figure out the URL ID on the return page?
Is there any way to keep it centered and shorten the margins?
Not sure if you can call that after the form is submitted. You can jump to any <div> on a page that has an id specified like:Blah blah blah
by just inserting the hashtag in your URL and the IDhttp://www.mysite.com/index.html#thissection
Your only other bet that *might* work is to try hacking their page. If your database stores the VIN, you might be able to fake out their input page by rebuilding their form and pre-sending the correct information to it and just calling for the response with the right location... seriously though, no idea if that would work. Here's what I'm thinking:
1) Build a PHP page that leverages filemaker custom publishing on your own server where you pre-populate the form with the VIN
2) With a FM script, automatically (maybe with some java) submit the form with the correct post data to their server at the specified page
3) Go to the webviewer to show the response.
I feel like there would be a way to make it work... just not 100% sure of the engineering of that, or what walls you might hit.
Again, very helpful.
Actually we were headed don the direction of building a screen scrape tool to perform the task automatically but the info we need is so simple and just a visual confirmation (we don't have to capture the data, just confirm it exists).
I made the call not to waste the time and money to do so, Just figured we could use a small web viewer, and write a script to copy the VIN from our records then manually paste it in, get the return, close the window and move on. My purpose for isolating this one area is simply for aesthetics and ease of navigation for the user.