Codeus Posted January 17, 2013 Posted January 17, 2013 Is it possible to export from an externally stored FM12 container to Supercontainer using SCSetContainer? In my tests I just get a file exported called 'Remote File:Image.jpg' with no content.
dansmith65 Posted January 17, 2013 Posted January 17, 2013 I didn't check the documentation, but I think that function is for setting a FileMaker container from a file stored in SuperContainer. If you did not encrypt your externally stored FM12 container files, SuperContainer should be able to access all the files in the same structure they are currently stored in. I'm not saying you should have SuperContainer access them from where they are at, but if you are converting from FM Container to SuperContainer, you could move the files to a new directory and let SuperContainer access them from there.
dtremmel Posted January 17, 2013 Posted January 17, 2013 It is possible - SCSetContainer is the right function - I just created a test DB today that does this for a project I'm working on. Can't come up with a reason why this wouldn't be working, unless perhaps you're using encrypted storage in FM...
Codeus Posted January 19, 2013 Author Posted January 19, 2013 I got it working in the end, SCSetContainer seems to work fine via client but from a Scheduled FM Server script we have found we must specify a filename using something like:- SCSetContainer( <SuperContainerURL>; <FMContainerField>; "filename="<some filename>" ) This was then complicated by the extra data returned as a filename by external containers. The simple work around was to copy the container content to an internally stored container field to carry out the operation we needed ( reduced the resolution of an image ). I guess you could also just pick the filename out using a calc depending on your requirements.
Recommended Posts
This topic is 4669 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