You need to sign in to do that
Don't have an account?
Delete Lightning Component
I have taken a new role and attempting to clean up the existing org. I have made progress deleting unecessary apps. However, I monster app Learn Trac and View Trac are giving me problems the vendor cannot overcome.
There is a component c:SearchCustom that I cannot remove because it is reference in 2 of the created communities. I found the component on the community page and removed it and published the change. Both communities are inactive however I keep geeting the same error message below. I know you cannot not delete communities but I have deactivate them.
Does anybody have any ideas? - Thanks!
Cannot complete this operation. The object you're trying to delete is in use on site Creators1, which is under development. : Site The object you're trying to delete is in use on site Sovrn_Community_C, which is under development. : Site The object you're trying to delete is in use on site Creators1, which is under development. : Site The object you're trying to delete is in use on site Sovrn_Community_C, which is under development. : Site Referenced by a component instance inside the Lightning Page Search : Lightning Page The object you're trying to delete is in use on site Creators1, which is published. : Site The object you're trying to delete is in use on site Sovrn_Community_C, which is published. : Site
There is a component c:SearchCustom that I cannot remove because it is reference in 2 of the created communities. I found the component on the community page and removed it and published the change. Both communities are inactive however I keep geeting the same error message below. I know you cannot not delete communities but I have deactivate them.
Does anybody have any ideas? - Thanks!
Cannot complete this operation. The object you're trying to delete is in use on site Creators1, which is under development. : Site The object you're trying to delete is in use on site Sovrn_Community_C, which is under development. : Site The object you're trying to delete is in use on site Creators1, which is under development. : Site The object you're trying to delete is in use on site Sovrn_Community_C, which is under development. : Site Referenced by a component instance inside the Lightning Page Search : Lightning Page The object you're trying to delete is in use on site Creators1, which is published. : Site The object you're trying to delete is in use on site Sovrn_Community_C, which is published. : Site
- Delete In Lightning Component may I suggest you please refer the below link for reference.
- https://webkul.com/blog/mass-delete-lightning-component/
hope it will be helpful.Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.
Thanks
Rahul Kumar
Thank you but this is not what I was asking. I am tring to delete a lightning component.
In Dev Console, open the component you want to delete. Choose File-->Delete.
Hope this helps.