Perform Script by Script Name in FileMaker® 17

How does it work?

Perform Script and Perform Script on Server were updated to allow selecting From list or By name. 

From list allows selecting from scripts as normal. But By name allows you to specify a the script name using the Calculation Dialog so it will accept calculations for the script name as seen in the above image.

The plus symbol above the portals passes the script name as a script parameter through the button calling the script New Record – Controller.

The New Record – Controller script runs either the New Record – Company or New Record – Contact script. Both of which are simple scripts to create a record and end up back at the portal row.

Here is the New Record – Company and how the parameter is set.

This is the New Record – Contact script and button setup.

That’s how it works! Enter your info below to get the download and have a good rest of the week.

– James

James Scarpetta
The Scarpetta Group, Inc.
FileMaker 17 Certified Developer

2018-07-24T11:39:04+00:00By |

About the Author:

James Scarpetta
James’ focus is designing beautiful FileMaker layouts. He has strong skills with integrations to accounting systems and translating business requirements to a successful user experience. When not building applications you can find him behind his camera.
We use cookies to ensure we give you the best experience on our website. You consent to our cookies if you continue to use our website. Ok