Setup is simple. You will need to perform the following:
- Move a Web Viewer onto the layout.
- Assign a name to the Web Viewer.
Other than that, you’re all set!
Let’s take a look at how we can use this script step.
- Accepts three parameters.
- Concatenates the three parameters to one text string.
- Modifies the H1 HTML text with the concatenated string.
Let’s see this script in action.
You can see that once the script is executed, the script that was referenced in the Perform Script function is then called and the parameter is passed to the script as a script parameter.
One of the largest benefits that this script step will provide is increased performance for calculations via FileMaker scripts.
For example, the FileMaker script that you see above appends 100,000 numbers to a FileMaker List. These numbers are generated using the Random and Ceiling FileMaker functions. The numbers are then counted using the ValueCount function and displayed using a custom dialog along with how long it took to complete the operation.
When running the script, you can see it took me around 11 seconds for it to be completed.
Let’s run it.
It was instantaneous! It only took less than a second to complete.
Expands FileMaker Capabilities
Drag and Drop
If you are familiar with FileMaker scripting, you probably know that error trapping is a very important tool used to troubleshoot scripting errors. By using FileMaker’s script debugger, we can step through a script to find where an error might have occurred. Once the scripting error is found, we can take the necessary steps to trap the error and avert the user from running the remaining script steps that are dependent on a non-error situation.
When using the FileMaker script debugger, we are able to view the context of where the script step is running, variables that are set in the script, calculations that are performed, etc. We have total visibility on the executed workflow.
About Skeleton Key
Skeleton Key develops apps on the FileMaker platform making them easy-to-integrate, easy-to-use, and quick to build and deploy. Our team of experts takes a comprehensive consulting approach to focus on learning how your organization operates. With deeper insights into the way your team works, we’re able to create an ideal solution built around your operations while forming a partnership founded on trust and transparency. We hope you found this content useful and we would love to hear from you if we can be of any further assistance.