Link to home
Start Free TrialLog in
Avatar of Andrew Angell
Andrew AngellFlag for United States of America

asked on

Is there a way I can populate a web form inside a web viewer in FileMaker with data in actual FM fields?

I'd like to be able to place a web viewer in the FM layout that can be automatically filled out with data in FM.  Possible?
Avatar of Member_2_908359
Member_2_908359
Flag of France image

you need to merge fm data in an html page (script or calc.field), store it on disk (export), then read it back by specifying the filename in the web wiever propertie, using a custom type web viewer.
Avatar of Andrew Angell

ASKER

I think I'm following you, however, the web page that I'm trying to populate is not my own so I can't just re-generate it to populate the fields.  What I need is basically if you were pull up something like a registration form on a forum site I'd like to just click a button to run a script that parses data as necessary in FM and then fills out the form fields in the web viewer.  

Am I reaching for the stars here?
just to make sure you'd like to recuperate the html code of a remote web page, insert some field data in it, and send it back? according to me, the web viewer won't do it simply because it displays a web page, but the code is never available, and last thing, it is not able to "post" any data. See if the Troi url plug-in would do it...
how is the form to be sent? POST or GET? in GET mode, you can use the URL command provinded you know the parameters name to pass on the URL.
a good example of what I'm trying to do would be this...

say you have an invoice in filemaker that has the shipping information in it.  A web viewer could have ups.com open inside of it and it'd be cool to hit a button and populate the shipping information form in the ups.com page without having to fill it all in.  

Now I know there are other ways of handling that particular scenario, but that was just an example.  I'd like to be able to do this for sites that don't offer an API service or anything like that.  
ASKER CERTIFIED SOLUTION
Avatar of Member_2_908359
Member_2_908359
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial