Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 4699 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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

Posted

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...
Posted

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...
Posted

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

This topic is 4699 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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