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

Inserting original picture from SC field (for archive)


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

Recommended Posts

Posted

Hello - I am taking an old database offline and need to take the referenced images in Supercontainer and insert them into a picture field, since I won't have access to SC for that database any more.  Is there a script I can use to download the full-sized images and import them into FM?

(using FM 17 which is accessing SC data on a FM 11 server running SC 2.864)

Posted

You can definitely do this with the SuperContainer Companion plugin but the script would be up to you. The way I would approach this would require that the web viewer is named. Essentially have a loop that iterates over the records and downloads the files to a container field. The loop should get the URL from the named web viewer using GetLayoutObjectAttribute, pass that into the "folderPath" parameter for SCGetDownload to download the file to a container field (you will need to strip out the baseURL from the URL in the previous step to get a valid folderPath), iterate to the next record, exit after last. 

This topic is 1887 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.