AnsweredAssumed Answered

How to get Script Result returned in XML result

Question asked by jlisburn on Apr 16, 2014
Latest reply on Apr 22, 2014 by nickorr

I've a process whereby a website calls a Filemaker Script (via an XML URL command).


I want to calculate a value (# of spaces left on a course) and return this value to the caller without entering the data in a FM field.


My script ends with the Instruction:


Exit Script ($spaces)


I can't see my value in the XML code returned - is there anything I do to have it included in the FMPXMLRESULT?


I don't really want to have the value unstored, nor do I want to store it and keep it updated via my processes, so I figured this would be the best option, but perhaps not?