Newbies Ph. Cosi Posted July 27, 2008 Newbies Posted July 27, 2008 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
shmert Posted July 28, 2008 Posted July 28, 2008 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?
gannon Posted April 27, 2009 Posted April 27, 2009 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 ?)
owkleung Posted March 20, 2012 Posted March 20, 2012 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now