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.

Container field to variable

Featured Replies

  • Newbies

First of all thank you so much for this really awesome plugin.

I couldn't figure out, if there is a way of getting a FileMaker container field into a Groovy variable. Is this possible? (seems it's always converted to a string)

Thanks for any hint.

Ph. Cosi

Hi, this is correct, all calls to SMSetVariable are converted to a String. This is mostly because we have no way of knowing how the variable is used in a script.

You do have the option of exporting the container to file and passing the path to the file into ScriptMaster. You could also use the fmpro object to get at the container using the calculation engine, although that can get sort of convoluted.

What sort of operation are you trying to do with the container data?

  • 8 months later...

Hi,

I'm having the same issue as Cosi.

In answer to the question "what sort of operation are you trying to do with the container data?" ;)

What I'm doing : a products table has many pictures. I don't store them in the file, but on the web server. Access from FileMaker Pro to the pictures is done via the webviewer. Theses pictures are mainly used for the online shop.

On a Server 9, I've a server script that checks records of a temp table to process the pictures. I need to export the files from the container field and place them in the correct folder of the web server, create the thumbnails and different pictures quality with a watermark.

This way, no need of a FileMaker Pro running, nor a ftp connection to send the file from the client. All is done asynchronously on the server. The export Field content is not supported by FileMaker Server's scripts, so I was hoping using ScriptMaster would help me for this task...

It would be great if :

- could access to the Container without having to export, process the file with ScriptMaster, and return it directly in the Container... or write to a file... possible ?

Thank anyway for this great plugin :-) (where is the Donate button for ScriptMaster ?)

  • 2 years later...

Hi Gannon,

That's something I am looking for recently. Though, this was a three years ago topic.

Have you found out a working solution on this finally?

Cheers,

Oliver

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.