2 Replies Latest reply on Jul 19, 2017 5:45 PM by CarlSchwarz

    CWP/PHP API - newPerformScriptCommand and Exit Script Result


      I'm using the newPerformScriptCommand with a PHP page that runs a FileMaker script - this is all working well. As part of the FileMaker Script it has a series of If/Else If branches with Exit Script steps at various points to exit the script. I'm passing in a text string as part of the script result in the Exit Script step.


      In FileMaker Pro you would normally use the Get ( ScriptResult ) function to retrieve the value from the Exit Script step - is there a way to get this result from CWP/PHP when calling newPerformScriptCommand?