Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5347 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

For a solution I'm working on, a number of users are uploading files to Super Container via IWP. I'm scripting the process so that a record is created in a 'Documents' table with the ID generating the file path.

When files are uploaded via FMP I use the SC Plugin to grab the file name and size, so that this information can be displayed in list views etc.

However, when files are uploaded via IWP the plugin cannot be utilised. (At least I don't think so, I've tried it in both the Server plugins folder and the Web Publishing plugins folder). The Document records are left without the required info.

Is there any way of 'triggering' a calc that will be executed on the server and call the plugin from there to grab the details?

Failing that, is there another clever way that anyone can think of?

Thanks in advance.

Posted (edited)

You can use the SuperContainer Companion Plugin with IWP by putting the plugin in the FileMaker Server/Web Publising/publishing-engine/wpc/Plugins folder. The "Plugins" directory may not exist, and so you may need to create in manually. You will need to restart your web publishing engine after putting the plugin in this directory.

You cannot triger a script when a user drops a file into the SuperContainer applet for uploading, but you are able to use unstored calcs to have your fields automatically update when your users load the record. You could also put a "get info about this file" button which your users could click to populate the fields.

Edited by Guest

This topic is 5347 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.