February 19, 201015 yr Once again I am back to this esteemed FileMaker forum for a bit of help. Any assistance will be greatly appreciated. I am using the -script and -script.param query parameters to run a FileMaker script and pass parameters to that script. My question is how do I access these parameters in my script??.........Ray
February 19, 201015 yr Do you mean when you select Button setup, and select Perform script from the list, press Specify; and from the dialog box choose the script you want to use; then add your optional script parameter in the space below? Or do you mean something completely different?
February 19, 201015 yr Author efen, thanks for your reply, I will try to clarify. In my XSLT page I use a form that creates a new registration and executes a script after the (-new) query command completes. The form has a (-script.param) that passes a parameter to the script in the FileMaker table. My question is how do I access/use this parameter......Ray
February 19, 201015 yr Author That was the "comment" I was looking for!! Many thanks..............Ray
February 24, 201015 yr Author Finally had a chance to try the -script and -script.param parameters with the get(scriptparameter) function and have not been able to retrieve the passed parameter. Here is the form I am using in my XSLT page that executes the FileMaker script: ========================================= event_added.xsl [color:red] ======================================= Here is the FileMaker script that is executed: =============================== Allow User Abort [On] Set Field [Web_TA-Registration_DB::EventIDVar; Get ( ScriptParameter ) =============================== I have placed the EventIDVar field in the specified layout and the passed parameter does not display after the script executes. Any assistance will be greatly appreciated....Ray Edited February 24, 201015 yr by Guest
March 4, 201015 yr Author Update: This [color:orange][color:blue]xsl page coding works with the script below. The parameter is passed correctly. ======================================= [color:red] ======================================= Here is the [color:orange][color:blue]FileMaker script that executes correctly: =============================== [color:red]Allow User Abort [On] [color:red]Set Variable [$VarTest; Value: Get( ScriptParameter )] =============================== The problem that I am having now is I want to pass a parameter with delimited fields and parse the parameter in the script. What do I use for the delimiter designation and what do I use to parse this parameter in the script. Any assistance will be greatly appreciated…….
Create an account or sign in to comment