Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runScript #6

Closed
rockycastaneda opened this issue Sep 18, 2019 · 1 comment
Closed

runScript #6

rockycastaneda opened this issue Sep 18, 2019 · 1 comment

Comments

@rockycastaneda
Copy link

will version 17 ever support runScript? is there an alternative to running scripts on v17 of Filemaker?

@filip24u
Copy link
Collaborator

Hello,

function runScript in fmRESTor is supported only for FileMaker 18, but you can run FileMaker script in FileMaker 17 for example via function createRecord.

You can create record for example in some "log" table, where you insert only timestamp into your custom field and in call you can set optional parameters for running a FileMaker Script.

Example:

$newRecord = array(
    "fieldData" => array(
    "yourNameField" => date(),
),
"script" => "Log request - Script Name",
"script.param" => "String parameters for script"
);

$response = $fm->createRecord($newRecord);

@filip24u filip24u closed this as completed Oct 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants