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

OK- I'm a relatively accomplished FM developer, but just implementing my first SuperContainer solution. I am pretty embarrassed to say, that I'm a little stumped as to how I can have SC remove files from its structure.

I have been able to set up unique paths for each solution, add, update images, get files names (SCGetInfo) etc. But I'd like to make sure that SC is cleaning up after itself nicely as records are deleted (via FM scripts), but for the life of me, I can't figure out how to make SCDelete work. I haven't done a lot with External Functions - I'm good with making them be a part of calculations, but this one in particular, feels like it wants to be an actual function, not a part of a calculation, and because of that, I'm stumped. Can someone please lend a little guidance to a confused developer?

Similarly, our main FMServer is a Windows box. So, I know that without the CoreImage technology (of the Mac OS) PDFs and other file formats are left out. I set up a developing environment that is a Mac-based FMServer, hoping I could find a way to have a FMServer that would generate SuperContainer previews of PDFs that everyone could use. Any time I try to use SC in either mode (server or standalone app), I haven't been able to make it work.

Ultimately, I'd love to have a FMServer served solution, that can catalog PDFs and other formats (EPS, AI, TIF, etc.) and allow both Windows and Mac client users to see the previews.

Am I missing something in the setup? The documentation is relatively confusing as to what works in which setup. The docs I think rely on some level of understanding, that even as an experienced developer, I'm clearly not grasping. I understand that there are two ways to deploy SuperContainer on a server, but can't make them work (one at a time, I know they don't run together) or in any setup that would allow Filemaker Server to host a file that can make advanced previews of PDF files for any client user. Any help is greatly appreciated.

eric

Call SCDelete with the same path you are using for SCGetInfo. A good way to make sure a SuperContainer Document is deleted when a record is deleted is to make your own Delete script step which performs the delete function before deleting the record (so you still have the correct path when you call SCDelete). If you want to continue to use the menu bar delete button you can use a custom menu to change the functionality of that button to perform your custom delete script.

  • 10 months later...

Sorry to resurrect an old thread. We're trying to not use the SC plugin. Is there any way to delete a SC file when the corresponding FM record is deleted -- without the plugin?

BCooney--

This is not possible without using our SuperContainer plugin unless the user manually navigates to the file on the machine/server that is hosting the files and deletes them.

Hope this answers your question. If you have any additional questions do not hesitate to contact me.

I ended up not allowing the deletion of the record unless my parsed filename field is empty. I parse the filename out of the webviewer content.

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.