function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
John Manager Training DepJohn Manager Training Dep 

taking backup and order of deleting components

Hi team,

I have identified that I should delete 4 apex class components. I have apex class, trigger, visualforce, and aura components as well.

I am planning to use Salesforce workbench for deleting the those 4 apex class components and everything related to it.

I want to take back up before deleting.

In what order should I delete the components considering the depedency betwen class, visual force and aura components?

What is the easiest way to take backup of the components I am planning to delete? I do not have any IDE installed.
Sunil RathoreSunil Rathore
Hi John,

Try this sequence to delete - Aura Component, Visualforce, Trigger, and Apex Class.

For backup options please refer the below links:
https://www.redargyle.com/blog/how-to-pull-a-metadata-backup-from-workbench/
OR
https://developer.salesforce.com/forums/?id=906F0000000BIYzIAO

Let me know if it helps you.

Many Thanks,
Sunil Rathore