AnsweredAssumed Answered

CWP/PHP API - newPerformScriptCommand and Exit Script Result

Question asked by fmdataweb on Jul 19, 2017
Latest reply on Jul 19, 2017 by CarlSchwarz

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?

Outcomes