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
Li LeeLi Lee 

No Error show when uninstall unmanaged package when a lightning component use in Lightning Tab

Hi All,

I install an unmanged package with lightning component in it. 
I create a Lightning Component Tab in Salesforce Setup Tabs. And this Tab's component is the lightning component in unmanaged package.
I uninstall this unmanaged package, there is no error show and I success uninstall it.
May I ask is this behaivor correct? I remeber when a package compenent used in Salesforce tab, we need delete this tab frist then can uninstall it.
 
Best Answer chosen by Li Lee
AnudeepAnudeep (Salesforce Developers) 
As long as you don't see any dependency errors, it is safe to uninstall the unmanaged package

I recommend reviewing Best practices when uninstalling an app or package to learn more

Let me know if this helps, if it does, please mark this answer as best so that others facing the same issue will find this information useful. Thank you

All Answers

AnudeepAnudeep (Salesforce Developers) 
As long as you don't see any dependency errors, it is safe to uninstall the unmanaged package

I recommend reviewing Best practices when uninstalling an app or package to learn more

Let me know if this helps, if it does, please mark this answer as best so that others facing the same issue will find this information useful. Thank you
This was selected as the best answer
Li LeeLi Lee

Hi Anudeep, 

Thanks your reply. I still have a question about it.

As above question, I create a Lightning Component Tab in Salesforce Setup Tabs. And this Tab's component is the lightning component in unmanaged package.

After this unmanaged package uninstalled. This Lightning Component Tab still existed. When I navigation to this Tab it show empty page.

May I ask is this phenomenon correct? Is here anyway can deleted this tab during uninstall this unmanaged package?