Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ScriptMaster and Server-Side Scripting

Featured Replies

We've created a plugin using ScriptMaster Advanced. One of the functions uses the call script feature to run a script in a different file. The function works fine on the FileMaker client. However, we are trying to run it as a server-side script and it doesn't appear to be working (the plugin is installed on the server and is working). Does this function work as a server-side function?

Thanks.

Short answer: no, it won't work. I might be able to help you solve the problem, though, if I understand a bit better what you're trying to do with it. There might be a way to get around having to use that functionality server-side.

  • Author

epeeler

Thanks for the feedback. That's what I thought. Unfortunately the way the system works is that it doesn't "know" about the other file (in FileMaker terms, it's not an external data source), nor can it be with what we are doing (at least without a major rewriting in how the system works). Hence the need for a plugin to make the call to run the script. Everything works fine on a client, but we were wanting to see if the process could be done with a server-side script running as we need to automate the process for our client. Thanks again.

Could you e-mail [email protected] with a bit more detail on what you're trying to do. It sounds like it could be a very simple thing to fix, but I can't be sure without more information.

Thanks.

  • 1 month later...
  • Newbies

Similar topic/different function in question: in building a web system, I've grown to love Scriptmaster's UUID feature for snoop-proof URL building...

...but similarly, it looks like the UUID function doesn't work when run from the Server by the web user account...

I had set the field to simply be an auto-enter calculation... Any ideas/good workarounds...?

With thanks,

AB

Did you try installing the plug-in in the web publishing engine extensions? You should go to the

FileMaker Server/Web Publishing/publishing-engine/wpc/Plugins location to do that.

  • 1 year later...
  • Newbies

Running into a similar problem. We have scripts that have to run server-side. They are auto-enter calcs that use a ScriptMaster function. I've created a custom plugin but how do I register that plug-in? If I startup my FM server and then run a script that registers the plugin will that then enable the plugin for the rest of the server session. Remember, there is no client logging in so I am asking specifically about running  server-side only.

 

By the way, I have tried to the above and it is NOT working. I am just wondering whether ScriptMaster scripts, as a whole, do NOT work server-side.

 

Any assistance you can provide would be appreciated.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.