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.

Container Display Issue

Featured Replies

I'm running SuperContainer 2.61 on a Mac server with FMSA 10. On the workstations, we've installed the SuperContainer plug-in (2.62).

I'm using the plug-in so that documents can be displayed in a portal since one record will have several documents attached to it.

The problem I'm running into is that when I first log-on to the system, the containers display "ERROR" instead of the file. Once I upload another file, everything works fine. So, my assumption is that this is an authentication issue.

I am setting the "SCSetBaseURL" call within my opening script (in both the interface file and the data file -- this solution is using the separation model). But still, unless I upload a file, I can't see what has already been uploaded.

The container field in the portal is using this calculation:

SCGetContainer( xa_ResourceIdentifierWithRevisionNumber ; 365 ; 195)

/* where xa_ResourceIdentifierWithRevisionNumber is essentially the filename and the rev folder*/

...

It seems like I'm missing a call somewhere but I can't figure out where.

Any help is greatly appreciated.

Thanks,

Yvonne

When you call SCLastError what is the error message that you are receiving? A convenient way to check this function result is to call this function in a custom dialog after you call a plugin function which is returning an error.

If it is an authentication issue like you are suggesting you can specify your username and password for your SuperContainer Server as parameters for the SCSetBaseURL function.

Hi Yvonne,

As David mentioned, calling SCLastError would give you more information about what failed.

Our plugin functions return the word "ERROR" when something goes wrong, calling SCLastError immediately after that will give you more information. In your case it would probably work better to have an unstored calc. calling SCLastError, or use the 'data viewer'.

Additionally, you can send us the plugin log by using the 'Report a bug' button on the plugin 'Configure' panel in FileMaker preferences. We'll gladly examine the log and get back to you.

  • Author

Thanks for the SCLastError advise; I used it in data viewer and was able to track down the problem (an error on my part on the url).

Much appreciated!

Yvonne

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.