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.

Base64 to Binary Serverside Script

Featured Replies

We're testing the signature capture on iOS devices here at work and I was trying to set up the script on the server to periodically convert the Base64 data to a .png

When I run it on the server I get a "Filemaker script error" and a "?" in my container fields. What I've done so far:

  • Scriptmaster plugin installed in the extensions folder for server and the client (residing on the server)
  • Startup script registering the function in the file where the script is run from
  • Checked that all my script steps are server compatible
  • Script works properly on my client machine

Now, I will say that I have not restarted the server or the server software since I copied the plugin to the server extensions folder. This is currently my best bet as to why it's not working. We have a large staff so it's inconvenient to randomly restart the server so I'm putting that off as the last resort. Any other thoughts?

(Running FM11 client/server)

I would suggest trying to run a ridiculously simple script from the server (that uses the plug-in), then have a look at the log files.

example of ridiculously simple script:

Set Field[somefield, Better Random()]

If that doesn't work, then FM Server must not be recognizing your plug-in.

If I remember correctly, you do need to restart FileMaker server for it to recognize new plug-in's (but don't quote me on that).

Yes, You will need to stop and start the filemaker database server before you can use plugins which you have installed for scheduled scripts. You will also need to go into Database Server -> Server Plug-Ins in your server admin console and activate the individual plugins and also check the "Enable FileMaker server to use plugins" box.

  • Author

Thanks! We got the server restarted this morning and it's working as it should :)

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.