Jump 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.
Juggernaut

Post more than one name pairs using PostDataToURL

Featured Replies

Hello,

Is there a way to post more than one name pair using PostDataToURL? I need to post 6 values for one page. Then 11 for another. I don't think XML is an option. But I'll look into it.

Thanks,

Jeff

Hello Jeff,

The Post Data to URL module in ScriptMaster has a few lines commented out that may help you do what you are looking for. You'll basically need to append each key value pair to the string being passed into the OuputStreamWriter. If you pass in return delimited lists from FileMaker (keys and values), you should then be able to parse those lists and append them accordingly. This will require a little bit of Java/Groovy experience but is not terribly difficult. There are a lot of helpful people on the forums that can likely help with this code if necessary. However, if you are unable to get assistance in here let me know directly as we do offer custom plugin development as another option.

Jeff, and others who are looking at the modules in ScriptMaster file. The java there is VERY java. While Jesse is the master at this dark art, I personally prefer the groovy way using lots of closures. Groovy code can be very self documenting.

If you're looking to do posts with ScriptMaster and you're ok with loading in jars from containers then your code can be very simple.

Try this if you have the time to invest.

http://groovy.codeha.../doc/index.html

This is the POST specific stuff.

http://groovy.codehaus.org/modules/http-builder/doc/post.html

Create an account or sign in to comment

Important Information

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

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.