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

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

Recommended Posts

Posted

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

Posted

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.

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