Newbies cp_ent Posted September 22, 2009 Newbies Posted September 22, 2009 I JUST purchased SuperContainer 2.62 Enterprise version license and have read the documentation and have even searched on the FMForum for the answers to my questions but have not been very successful. Can you please help a SuperContainer Noob with a little help? I understand how to script buttons to interact with Container fields, but for the life of me I cannot figure out HOW TO do the same thing using SuperContainer to create a script or automate a button to: 1. Email an attachment of a file stored using Supercontainer. 2. Delete, ADD or OPEN a file stored using Supercontainer. I used the following to reference the file in SuperContainer, but I'm not sure if the STYLE syntax is correct. Is this correct? "http://192.168.X.X/SuperContainer/Files/Sales_Orders/" & SO::ID & "/1" & "?style=nodelete" Thanks, Bill
shmert Posted September 22, 2009 Posted September 22, 2009 1. Email an attachment of a file stored using Supercontainer. If you're using FileMaker's built-in email capabilities, you'll want to pull the SuperContainer file into a local global container field first, using the SuperContainer plugin. First, don't forget to call SCSetBaseURL, passing in the location of your SuperContainer server. Then, you can pull the file into a container like this: Set Field [globals::container = SCGetContainer("files/123")] 2. Delete, ADD or OPEN a file stored using Supercontainer. Again, you can use the SuperContainer plugin to do this: SCDelete SCSetContainer SCDownload followed by Open URL script step to download & launch the file
Recommended Posts
This topic is 5539 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 accountSign in
Already have an account? Sign in here.
Sign In Now