Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

RemoteScripter Design Tips for IWP

Featured Replies

  • 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?

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.

  • 4 months later...
  • Newbies

Hi there from the Southern Hemisphere, New Zealand, :smile:

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.... :huh:

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,

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

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.