Find your content:

Search form

You are here

Unable to uninstall Beta Release managed package: recordtype being used

 
Share

This package includes a Record Type on the Task object. I am able to uninstall if I do it right after installation, but if I enable the use of the packaged Record Type on the user profiles, I am no longer able to uninstall:

Component Type   Name              Problem
Record Type      [recordtype name] This installed component is referenced by a locally
                                   created component     

There is no link to what componenent it's talking about, but I'm assuming it's all of the profiles that were enabled to use this record type. However, I have removed this recordtype from the enabled list for all Profiles, and it is deactivated for the org. I tried removing it from the Profile XML directly through the Force.com IDE, but am not able to make it stick. At this point, I don't know what else to try. I have to think this has been encountered before, though. How do managed packages generally deal with record types?


Attribution to: Jeremy Nottingham

Possible Suggestion/Solution #1

Is the record type on the Task object the only Task record type? You might need to add your own custom Task record type, use this as the default for all Profiles, and then deactivate the installed Task record type and try uninstalling.


Attribution to: zachelrath

Possible Suggestion/Solution #2

Have you checked out the Known Issues list. At this point are you still in a development org?

Is this the first time you've encountered this after including this component in you package?


Attribution to: jordan.baucke
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/1600

My Block Status

My Block Content