July 27, 200817 yr 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
July 28, 200817 yr 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?
April 27, 200916 yr 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 ?)
March 20, 201213 yr 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