AnsweredAssumed Answered

cwp php api, onObjectEnter event scriptTrigger?

Question asked by hg-snf on Dec 5, 2017
Latest reply on Dec 7, 2017 by beverly


i would like to know if it is possible to trigger a script from a custom web page by an onObjectEnter event handler in a field, instead of an direct php api call?


The script that should be finally executed replace a string in a .txt file and save it on the server.

It works fine with all Filemaker clients, but



    $command = $fm->newPerformScriptCommand($layouts[0], $scripts[61]);

    $result = $command->execute();


does not execute, or runs without errors, thats why we try to go by the onObjects... event handler.


Any thoughts?