July 1, 201114 yr Newbies I'm interested in the possibility of using RemoteScripter for PDF report generation from IWP. Does anyone have any design tips on how to setup a good system to make this work with complex reports? I will need to have a lot of different reports available, many of which will have complex scripts that need to run to get the right data showing. The example in the RemoteScripter documentation is pretty simplistic. It seems to be only passing one parameter from IWP into the FileMaker Pro client. Does anyone have a tip on how to pass multiple parameters from IWP, then run a potentially long and complex script followed by a sort, then finally generate the PDF? And then how to generalize this process so it can be reused for multiple types of reports?
July 1, 201114 yr Technically a filemaker script can only take one parameter, and so you can only pass in one parameter with remote scripter because that's all filemaker can take. Just like in filemaker, you can pass in "multiple" parameters by passing in some sort of delimited list and then parsing it once the script starts. Once you've passed in your "multiple" parameters you can parse them out and do whatever you tell your script to do with them.
November 17, 201114 yr Newbies Hi there from the Southern Hemisphere, New Zealand, I have a similar need to 'ntay28' above, wanting to create multiple complex reports via IWP, then create separate PDF's and email these from the Server back to the IWP client. But I'm stumped even at the very beginning, as I can't replicate the first script in the User Guide... Durrrrgh.... Enter find mode Set field Customer::customer ID to Get(ScriptParameter) Perform find Save as PDF RemoteScripterSetResult("Success") Please explain how the final script step is achieved, as there is no script step option of 'RemoteScriptSetResult'?? This is only available as a calculation field??? I would love to see/download a fuller example file which passes parameters from selections made via IWP back into a report generation script. Does anyone have something like this they can share? I have honestly searched HIGH & low... for any further RemoteScripter information, but it all seems very limited, and without examples. Thanks heaps,
November 17, 201114 yr You are correct. The plugin functions are all custom functions which you enter in a calculation area. I recommend using a Set Variable script step to call these functions. Set Variable [$result; RemoteScripterSetResult("Success")]
Create an account or sign in to comment