Skip to content
Elements.cloud Colour LogoElements.cloud Colour Logo
  • Why Elements?
  • Capabilities
        • Metadata analysis

          Org model, analytics, reports, field population

          Impact assessment

          Dependency trees & grid, impact assessment from story

          Change tracking

          Change governance; change log alerts, reporting, stories

          Access and compliance

          Permission explorer, metafields

          Agent designer

          One smart place to design, deploy and iterate AI Agents. Completely free.

          Salesforce Configuration Mining

          Generate process.maps with insights in context & Data models on demand from your current Org metadata

          Process-led design

          Capture requirements, visually map business processes and generate user stories

          Lifecycle governance

          Regulatory compliance, audit trail and version control

          Change Intelligence Platform Overview

          Enables organizations to know where they are today and realize where they want to be tomorrow. Elements.cloud gives you back control.

          Find out more
  • Solutions
        • By project

          Agentforce

          Tech debt removal

          Navigating complexity

          Salesforce documentation

          Org merge / split

          Compliance & auditing

          Salesforce Implementation

          Org healthcheck

          By cloud

          Agentforce

          Revenue Cloud / CPQ

          Data Cloud

          Sales Cloud

          Service Cloud

          Education Cloud

          Manufacturing Cloud

          Automotive Cloud

          Energy and Utilities Cloud

          Consumer Goods Cloud

          Financial Services Cloud

          Gov Cloud

          Health Cloud

          By role

          Executive

          Management

          Architecture

          Operational/Product Owner

          Consultants

  • Pricing
        • Change Intelligence Platform

          Understand and trust your metadata, your processes, your changes in Salesforce

          • Turn your blackbox of Org complexity into blueprint clarity
          • Leverage deep metadata insights to build the right things at pace
          • Visualize and mitigate the impacts of change
          See pricing

          Free Agent Designer

          The best Salesforce diagramming tool on the market, designed to provide real value and show you the power of a process-led approach.

            • Agent, process & architecture diagrams
            • Instruction & test utterance generation
            • Audit trail & change logs
          Get started

          Consultants & ISVs

          Elements are focused on providing the approach and access to robust, elegant, affordable software, delivered in the cloud at scale.

          Purchase now
  • Resources
        • Resources from elements

          Success stories

          Whitepapers & eBooks

          Blog

          Resource hubs

          Center of Excellence Data cloud

          Events

          Webinars & Videos

          Academy

          Featured content

          New

          eBook

          Ultimate guide to creating Agents

          New

          Webinar

          The #1 Way to Build Complex Agentforce Agents with Confidence

          6 minute read

          News

          Metadata Explorer: Untangle Org Complexity

  • Company
        • Elements.cloud team

          We are Elements

          We’re a dedicated team at Elements.cloud, driven by a passion for innovation and a commitment to excellence in the Salesforce ecosystem.

          Read more about us

          Meet the team

          See the people that make up Elements and talk to us to shape your dream career.

          Meet the team

          Contact us

          It is easy to schedule a call with one of our experts.

          Contact us
  • Login
        • Login

        • Login to Elements
        • Support
        • Managed Package (Prod)
        • Managed Package (Sandbox)
        • Chrome extension
        • Elements.cloud status
Talk to us
Get started free

    Deleting a Managed Package

    3 min read

    11th June 2024

    Share

    Home » Blog » Deleting a Managed Package
    Home » Blog » Deleting a Managed Package

    Often a Managed Package (MP) gets installed in an org for testing or trialing, but then it is never uninstalled. And MP is installed directly into Production. If the MP is not used, the longer it stays in the org, the more chance that some of that metadata gets used in error, and the more difficult it is to remove it. In the worst case, we’ve heard an Admin accidentally did Trailhead in Production and the “Dreamhouse” app was installed into Production. And then the objects were used in part of another app.

    It took me less than six hours to uninstall, remove all the dependencies, and really dig through 18 different packages that we had.

    Checklist

    Here is a list of items in increasing level of work. The more detailed impact analysis needs a metadata dictionary with dependency analysis, like Elements.cloud. Without this information, deleting the MP adds risk. Only you can assess that.

    So, here is the checklist to remove a MP:

    1. Try and find out who installed it and why.
    2. Look at the core objects and see if they have more than 10 records.  e.g. Project object for a project management app.  Core: because there may be other objects that store config data and my be pre-populated 10 records not 0: most MP are “tested” by adding a few records.  #cheatcode Elements metadata dictionary: MP at the bottom, select MP, open up Custom objects, select core object, right panel 3rd icon down # records
    3. Can Salesforce delete it? Try this in a sandbox. If it can be deleted, then the MP won’t (technically) break the org – e.g. Flow. But there may be other dependencies that aren’t checked which could impact the org, so you need to do more digging.
    4. Are there any descriptions/documentation against metadata items? #cheatcode Ask Elements Copilot (AI). The prompt is “Check for metadata items with namespace prefix__ that have a description or help text and provide list of metadata as a CSV file”
    5. Check dependencies outside of the MP i.e. check every MP metadata item and see if it has been used in metadata that is not in the MP – e.g Apex, Flow, Report, Page Layout, Email Template etc etc etc.  #cheatcode Ask Elements Copilot (AI). The prompt is “Can you list the dependencies on any metadata that has namespace prefix__ in the API name and the dependency that you find does not have namespace prefix__ in the API name and provide it as a CSV file.” Take the CSV file and sort by API_name. 
    6. Check for namespace prefix__  hard coded into other metadata items.  #cheatcode Ask Elements Copilot (AI). The prompt is “Check for namespace prefix__ hard coded into Apex Classes, Apex Triggers, Flows and provide list of metadata as a CSV file”
    7. Check for any namespace prefix__  fields being used or populated by external systems. 

    ElementsGPT org copilot using the prompt

    Final word

    Deleting a Managed Package doesn’t have to be a scary, high-effort job that gets put off and put off. Using a simple checklist, and a metadata dictionary powered by AI, it is possible to remove Managed Packages quickly and painlessly.

    Connect with the Elements team today, to discover the breadth of capabilities that our Change Intelligence Platform has to offer.

    Talk to us

    Post navigation

    Previous postAI can evaluate process diagrams
    Next postAI reveals a process diagram’s hidden secrets
    Back to blog
    Share
    Picture of Ian Gotts

    Ian Gotts

    Founder

    Continue reading

    Read more news and updates from Elements.

    Agentforce
    6 mins

    The Agent Lifecycle: Ideate, Build, Govern

    Agentforce
    9 mins

    Digital Labor: How AI is Shaping the Future of Business

    Agentforce
    5 mins

    Building Reliable AI Agents: From Architecture to Adoption

    Agentforce
    5 mins

    Operational Graph: Your Blueprint for the AI Era

    Join Our Newsletter for the Latest News, Updates & More

    Using Elements is like having a Swiss Army knife for Salesforce. It’s become an integral part of our Salesforce-focused methodologies.
    Daniel Keith - Tenger Ways

    Accelerate your future with Elements, a change intelligence platform that helps you continuously innovate your business

    Talk to us
    Footer logo

    Elements Headquarters

    San Francisco, USA

    Elements Offices

    USA, UK, Canada, Switzerland, The Netherlands & Ukraine

    Contact us
    • Change Intelligence Platform
      • Salesforce Metadata analysis
      • Metadata impact assessment
      • Change tracking
      • Access and compliance
      • Agent Designer
      • Salesforce Configuration Mining
      • Process-led design
      • Lifecycle governance
    • Resources
      • Success stories
      • Integrations
      • Blog
      • Events
      • Webinars
      • Academy
      • Whitepapers & eBooks
      • Support
      • Elements.cloud status
      • Brand Resources
    • Company
      • Team
      • Contact us
      • Pricing
    Salesforce logo

    Available on
    AppExchange

    © 2025  Elements.cloud
    • Trust Center
    • Data Privacy & GDPR
    • Terms of Service (Website)
    • Terms of Service (App)
    • Open Facebook in a new tab
    • Open X in a new tab
    • Open LinkedIn in a new tab
    • Open YouTube in a new tab
    Tech web agency

    Watching videos on Elements.cloud site requires the use of Performance and Advertising cookies. These cookies are associated with video playback via services such as Youtube and Vimeo. In order to watch this video, it will require the acceptance of these additional cookies

    Reject Accept