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.

Featured Replies

I have successfully implemented SuperContainer on a few projects.  I am now working on one where I'll actually use iterations.  In doing so, I created little Image Nav buttons under the web viewer, to browse through the existing images.

 

So if there are three images, it says, "Image 1 of 4".  As such, I need to manage the "iterations" when a file gets deleted.

 

Say I am on Image 2 of 4.  When the user clicks delete, it deletes the image, and I am left with iterations 1, 3, and 4.  For my nav to work, I need to renumber them.

 

To do this, I loop through each and basically say:

 

Set Variable [$iteration.new = $iteration.current]

Set Variable [$iteration.old = $iteration.new + 1]

SCMove ( $path & "/" & $iteration.old; $path & "/" & $iteration.new; "filename=" & filename.new)

 

(note, filename.new is reconstructed with the new iteration number prior to those steps)

 

So I successfully loop through and repeat this until I'm on the last iteration.  Works great.  They each get moved within the Files structure.  Image 2 is deleted, Image 3 becomes Image 2; Image 4 becomes Image 3.

 

However, they are NOT being moved and deleted properly in the Thumbnails structure.  My web viewer must be using the thumbnails, as it shows the same one for images 2 and 3.  However when I click on Image 3, it opens the correct one (different than what is being displayed in the web viewer).  I opened the folders in Finder and could see that the folder structures do not match.  Thumbnails shows Image 1 (correct), Image 2 (correct), Image 3 (incorrect - same as Image 2), and Image 4 (should now be Image 3).

 

Any ideas?

  • Author

Note, I the topic probably should have been worded, "SCMove Does Not Move Thumbnails As Expected".  It may just be working fine, just not the way I thought it would!

Hi Edward,

 

Are you using FileMaker 12? And which version of SuperContainer server are you running? You may be seeing a caching problem in the web viewer that we have noticed lately.

  • Author

Hi Joe:

 

I am using FileMaker 12 and the SuperContainer 2.89, build 6050 (6/21/13).  It doesn't seem to be the cache, as I can see the physical folder structure in the SuperContainer folder tree.  Should I add a step with the companion plug-in to clear cache?

 

Thanks,

 

Ed

Hi Ed,

 

Clearing the cache won't help because the FileMaker function to clear the cache does not affect the web viewer, and there is no SuperContainer Companion plugin function to clear the cache either.

 

Instead we are producing a new build of SuperContainer which should resolve these issues. I wanted to confirm you had the latest version of both FileMaker and SuperContainer to see if you would be able to use next unreleased version. Can you send me an email at the address in my signature? I can provide you with a preview of the next update to SuperContainer that should prevent this from happening. If you have success with this build, we will most likely be releasing it in the next week or so.

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.