You need to sign in to do that
Don't have an account?
![Mr. H Mr. H](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
How can I delete a Lightning Community Template?
Hi folks. How can I delete a Lightning Community Template? I went to setup > customize > communities > Lightning Community Templates. I can see them there, 2 of them but I cannot delete them. I wouldn't want for anyone to use these templates in newer communities. Everytime I try to delete either I receive the following:
-The object you're trying to delete is in use on site name_of_community, which is published.
-The object you're trying to delete is in use on site name_of_community, which is under development.
However, none of my communities are using these templates any longer. I went to my community workpaces 1 by 1 and under administration I see all of them using the "customer service" template. Yet, it keeps telling me that the 2 custom templates are in use. It shouldn't be this hard to delete a template. Can anyone please point me in the right direction?
-The object you're trying to delete is in use on site name_of_community, which is published.
-The object you're trying to delete is in use on site name_of_community, which is under development.
However, none of my communities are using these templates any longer. I went to my community workpaces 1 by 1 and under administration I see all of them using the "customer service" template. Yet, it keeps telling me that the 2 custom templates are in use. It shouldn't be this hard to delete a template. Can anyone please point me in the right direction?
You can delete only inactive community pages. To see inactive pages, scroll to the bottom of the Pages menu.
You can’t delete a Data Detail page if it’s the only page associated with a given Salesforce object. If you have more than one Data Detail page for the same object, you can delete the inactive one.
Check below link.
https://releasenotes.docs.salesforce.com/en-us/winter16/release-notes/rn_networks_commbuilder_delete_pages.htm
https://releasenotes.docs.salesforce.com/en-us/winter16/release-notes/rn_networks_commbuilder_page_management.htm
Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
Best Regards
Sandhya