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.

export container contents of found set

Featured Replies

Hi, new to supercontainer. I have a dataset with over a 100,000 images in a Filemaker container (v16 on FMServer). I am trying to find a method that allows an individual to download images from a found set all at once. I've been able to get a script working within Webdirect but it seems to require selecting a button to download images one at a time which is not convenient to say the least if you have 100 or so in a found set. 

Does supercontainer allow this sort of download?

Thanks.

If you have Webdirect running, you might also be able to host a PHP file and have it do some work as well. I have some sample files that show how to zip container data and serve it to the end user as one file.

You can download the sample from my github repo here:

https://github.com/SoliantMike/FM-WebDirect_Zip

Mike

  • Author

Hi Mike, thanks very much. I'll give this a look.

Hi bushidobro,

While you could def do this with SuperContainer companion plugin, it would definitely take some set up as there is no functionality that would do this explicitly. The images would have to be hosted by SuperContainer first then have some kind of field for the record that uniquely identifies the image so that when you looped through the records you could change the URL where the image was hosted so SuperContainer would know what to download. For instance say you have a found set of 5 images with identifying values of 1-5 (super simple). To set this up you would upload those 5 images at http://SERVERIPORHOSTNAME/SuperContainer/Files/Images/1, http://SERVERIPORHOSTNAME/SuperContainer/Files/Images/2, http://SERVERIPORHOSTNAME/SuperContainer/Files/Images/3, http://SERVERIPORHOSTNAME/SuperContainer/Files/Images/4, http://SERVERIPORHOSTNAME/SuperContainer/Files/Images/5. In your script your loop would iterate through the found set and call the function SCDownload ("/Images/"&Images::ImageIdentifier; "LOCATIONWHEREYOUWANTTOSAVE") for each record in the found set.  Since you have 100,000 images, I would also recommend setting of a script that will automate the upload for you as well. The function SCSetContainer uploads a file from a container field to the specified URL on SuperContainer. 

Hope that helps!

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.