August 12, 200916 yr I am using SC to store documents related to equipment. I want to be able to delete a document record AND the SC file from a script. Can someone point me in the right direction as to the scripting steps? I am using the plugin and SCDelete seems to hold the answer, just not sure of the steps. Thanks in advance for your help - Dan
August 13, 200916 yr You're right that SCDelete is the function to be using. You will want to call SetBaseURL and assign the proper URL at some point before you run the script using SCDelete. After you have done that you can call SCDelete in a script step with your SuperContainer URL you had been using for the web viewer (after /Files/) as the parameter and it will delete the files in that location.
Create an account or sign in to comment