# How to delete deprecated metadata

Source: https://support.storeconnect.com/articles/how-to-delete-deprecated-metadata · Last modified 21 August 2026

In our ongoing efforts to enhance existing features, we occasionally need to remove the use of an object or field from our package. When this occurs, we append a label to the field or object to show as `[Deprecated]` indicating that they are no longer in use.

Periodically, we remove deprecated metadata from our package. This ensures that any fresh installations of StoreConnect do not include these deprecated objects and fields. However, if you already have the metadata present in your org, it will not be automatically deleted, even when upgrading to the latest version.

Once you have been upgraded to a StoreConnect package version that no longer has the deleted metadata, you can manually remove it from your org.

## Download the required zip file for v21 

### [For package versions 21 and up](https://res.cloudinary.com/hzkr6fi81/raw/upload/v1781230462/media/delete-metadata-v21.zip)

API Version: 63

If you are on an earlier version than v21, see the alternative zip file below.

## Remove deleted metadata from your org

1.  Navigate to [Workbench](https://workbench.developerforce.com/).
2.  Select the API version to match the downloaded zip file you are using.
3.  Click **Login with Salesforce**. You may get logged in automatically, otherwise log in with your Salesforce username and password.
5.  Once logged in, in the menu bar, hover over **Migration** and click **Deploy**.
6.  Click **Choose File** and select the zip file you downloaded from below.
7.  Enable **Rollback On Error**.
8.  Choose a **Test Level**.
9.  Click **Next**.
10. Click **Deploy**.
11. Wait for tests and deploy to complete with a status of `Success`.

![Workbench Deploy page with Rollback On Error enabled, Test Level selected, and a successful deployment status](https://res.cloudinary.com/hzkr6fi81/image/upload/v1725790500/knowledge/delete-metadata/delete-metadata_d4exg7.png)

**What will be deleted**

From the `s_c__Store__c` object:

-   s\_c\_\_Pay\_By\_Account\_Enabled\_\_c

From the `s_c__Outlet_Stock_Location__c` object:

-   s\_c\_\_Priority\_\_c

From the `s_c__Pos_Layout__c` object:

-   s\_c\_\_Grid\_Columns\_\_c
-   s\_c\_\_Grid\_Rows\_\_c

From the `s_c__Trait_Category__c` object:

-   s\_c\_\_Display\_As\_Filter\_Top\_Level\_\_c

## Downloadable zip for pre-v21 users

[For package versions 13.3 and up](https://res.cloudinary.com/hzkr6fi81/raw/upload/v1725790500/knowledge/delete-metadata/deletemetadatav13.3_eqfrvc.zip)

API Version: 57

**What will be deleted**

From the `s_c__Promotion_Credit__c` object:

-   s\_c\_\_Code\_\_c

From the `s_c__Promotion__c` object:

-   s\_c\_\_Code\_\_c

From the `s_c__Booking_Attendee__c` object:

-   All fields
-   The object itself will also be deleted

---

## Follow StoreConnect

- [Email Newsletter](https://getstoreconnect.com/c/lp-newsletter)
- [LinkedIn Newsletter](https://www.linkedin.com/build-relation/newsletter-follow?entityUrn=7444956928444862464)
- [YouTube](https://www.youtube.com/channel/UCngKdP2x8l1wcbAKW3tvU8g)
- [LinkedIn](https://www.linkedin.com/company/storeconnect)
- [X / Twitter](https://x.com/storeconnecthq)

## Popular Links

- [Partners](https://getstoreconnect.com/partners)
- [News](https://getstoreconnect.com/articles/news)
- [Events](https://getstoreconnect.com/articles/events)
- [Feature Comparison](https://getstoreconnect.com/how-we-compare)
- [Download a free trial](https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FMkeKUAT)
- [Book a Demo](https://getstoreconnect.com/contact)

## Documentation

- [Help documentation](https://support.storeconnect.com/help-documentation)
- [AI agents](https://support.storeconnect.com/ai)
- [Videos & tutorials](https://support.storeconnect.com/videos-tutorials)
- [Developer reference](https://support.storeconnect.com/developer-reference)
- [Release notes](https://support.storeconnect.com/release-notes)
- [Troubleshooting](https://support.storeconnect.com/troubleshooting)
- [Trust Center](https://trust.getstoreconnect.com/)
- [Status Page](https://status.storeconnect.com/)

## Contact

- info@getstoreconnect.com
- US +1 415 745 3230
- AUS +61 2 8365 2308

100 S Ashley Dr, Suite 600-2461
Tampa FL 33602-600 USA

Level 22, Sydney Place
180 George Street
Sydney, NSW, 2000, AUS

---

StoreConnect Support — https://support.storeconnect.com/articles/how-to-delete-deprecated-metadata