-- sent from my iPhone4 --
Thanks for answering.
What I need to do it´s 'quick' integration of one web application which has been delevoped using php+xajax and another one which is in FM.
First of all you should know some enviroment conditions that makes quite hard to plan another way to integrate both applications.
1 - For now I have a Filemaker Server (not advanced), so I cannot use no server strategies like using PHP wrapper pages to get no parameters from web application, and have no possibility to use a ODBC/JDBC connection to web application database from FileMaker pro clients.
Well ... finally I´ve meet a solution using a little bit different approach.
What I´ve done to show on FileMaker a determinated record which profile was selected with a click on a webpage was that:
1 - Modify the web page in which the customers list are shown and adding a onclick event which launch an activex object which calls a FileMaker called 'web_customer_browse'.
3 - Finally I´ve retrieved the webviewer object content using GetLayoutObjectAttribute("WebViewerObjectName" ; "content"). Obviously the content of this web page is as easy as <mark>customer_id</mark>.
I´m sure that must be over there an easier way to solve that issue, but that´s what I´ve found, and it works!. I hope it could help to some one else.
I'm not entirely clear what you are trying to do here... but using FM Server as a host, you could have done it all in PHP..
... so rather than using GetLayoutObjectAttribute("WebViewerObjectName" ; "content") and parsing it... you could have searched and updated the FM database using PHP... and integrated with the Ajax stuff too.
The PHP API for FileMaker allows you to create popups from valuelists in FM.... find a customer by id or generate a new one as required... etc etc. You can also use it to populate the js onclick events etc etc.
Thank you for your answer,
Yes, you are right, my explanation about the origin of the problem was awful by my side
The intranet web application is the users main application, but sometimes they need to view some customer information in their FileMaker Pro application (which is being used for a very different propouses than the other application), and is the 'click event' on a very specific part of th web application on the browser what should launch the FileMaker Pro actions on user side. The problem was not to create-update-shearch some information which is placed on web application databases or environment and synchronize it with filemaker database contents, the real issue on here was to 'trigger' the click acction on the web application that the users has on their screen, in order to launch a FileMaker script on client-side letting the user see some adittional information on their FileMaker Pro application when they do a click on their browser.
May be there is an easy way to integrate under this conditions, but anyway, using the above steeps I´ve did it in just one hour, and now the users are working fine. However any ideas/suggestions are very wellcome.
Once again thank you for answering.