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.

How to Script Buttons for Web Viewer

Featured Replies

  • Newbies

I JUST purchased SuperContainer 2.62 Enterprise version license and have read the documentation and have even searched on the FMForum for the answers to my questions but have not been very successful. Can you please help a SuperContainer Noob with a little help?

I understand how to script buttons to interact with Container fields, but for the life of me I cannot figure out HOW TO do the same thing using SuperContainer to create a script or automate a button to:

1. Email an attachment of a file stored using Supercontainer.

2. Delete, ADD or OPEN a file stored using Supercontainer.

I used the following to reference the file in SuperContainer, but I'm not sure if the STYLE syntax is correct. Is this correct?

"http://192.168.X.X/SuperContainer/Files/Sales_Orders/" & SO::ID & "/1" & "?style=nodelete"

Thanks, Bill

1. Email an attachment of a file stored using Supercontainer.

If you're using FileMaker's built-in email capabilities, you'll want to pull the SuperContainer file into a local global container field first, using the SuperContainer plugin.

First, don't forget to call SCSetBaseURL, passing in the location of your SuperContainer server.

Then, you can pull the file into a container like this:

Set Field [globals::container = SCGetContainer("files/123")]

2. Delete, ADD or OPEN a file stored using Supercontainer.

Again, you can use the SuperContainer plugin to do this:

SCDelete

SCSetContainer

SCDownload followed by Open URL script step to download & launch the file

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.