September 23, 20196 yr 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)
September 23, 20196 yr 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.
Create an account or sign in to comment