Error The Content Type Is Part Of An Application Feature
Contents |
for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more the content type is part of an application feature sharepoint 2013 about Stack Overflow the company Business Learn more about hiring developers or posting
The Content Type Is Part Of An Application Feature 2010
ads with us SharePoint Questions Tags Users Badges Unanswered Ask Question _ SharePoint Stack Exchange is a question and answer delete content type using powershell site for SharePoint enthusiasts. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to
Delete Orphaned Content Type Sharepoint 2013
the top How to delete a content type part of an application feature? up vote 28 down vote favorite 6 I'm developing a solution in SharePoint 2010 that deploys a content type. I've now made a change to the content type and want to delete all its old references, remove it, and redeploy. Unfortunately when I try to delete the content type, either from the UI or delete content type sharepoint 2013 code, I get the error: SPException: The content type "XYZ" is part of an application feature. I've tried the following steps: deleted all lists referencing the content type emptied the site level and site collection level recycle bin deactivated the feature from the UI and command-line using -force uninstalled the feature from the command-line using -force uninstalled the solution reinstalled the solution and performed all of the above again Still it will not be moved! Any ideas? content-type share|improve this question asked Apr 13 '11 at 0:55 Alex Angas 4,75363885 does the content type have a list definition and list instance associated with it in your feature, or is it only a content type? –djeeg Apr 13 '11 at 5:35 Not a production solution, but glad you were able to clear up your issue! –Tom Resing Apr 13 '11 at 22:11 3 Abandoning the problem because it happened in dev is not a solution for the original question –Jorge Carvalho May 6 '13 at 6:45 add a comment| 8 Answers 8 active oldest votes up vote 23 down vote Content Types deployed via a Feature get a flag IsFromFeature in the DB. I
(עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語) Home20132010Other VersionsLibraryForumsGallery Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Answered
Could Not Delete Content Type From Server.
by: Delete a content type part of an application
Spcontenttypeusage Powershell
feature SharePoint > SharePoint 2010 - Setup, Upgrade, Administration and Operations Question 0 Sign in the content type is in use. to vote Hi, What are the options to delete the content type, which was deployed as part of the feature. is there a http://sharepoint.stackexchange.com/questions/11114/how-to-delete-a-content-type-part-of-an-application-feature way to forcefully delete itusing the Power shell. Thanks and Regards, Manjunath manjunath Thursday, September 06, 2012 5:39 PM Reply | Quote Answers 0 Sign in to vote Did you use the Content Type in a document centre or via a routing centre? If so, you'll need to https://social.technet.microsoft.com/Forums/office/en-US/09436dbc-621a-4f4f-8c84-fdd8db9c116b/delete-a-content-type-part-of-an-application-feature?forum=sharepointadminprevious remove it from the Drop Off Library. You can also download the SPSManager from Codeplex and inspect the content type properties within it to see where it is still deployed.Steven Andrews | SharePoint Professional | http://www.twitter.com/backpackerd00d | https://baron72.wordpress.com/ Marked as answer by Kelly Chen 2012Microsoft contingent staff, Moderator Friday, September 14, 2012 7:49 AM Friday, September 07, 2012 3:54 PM Reply | Quote Answerer All replies 0 Sign in to vote As long as the content type is not being used anywhere, deactivating the feature will remove the content type as well. Once the content type is in use the feature deactivation process will not take delete action, although you might observe other side effects. 1.) Make sure the content type is not being used anywhere. 2.) Then you can delete the content type through powershell or the UI. Anand Proposed a
of my customers has a SharePoint 2013 farm with content migrated from SharePoint 2010. In the past on SharePoint 2010 they have had the Microsoft SQL Server 2008 R2 Reporting Services-Add-In for SharePoint enabled on some sites. Because they did not need https://blog.kenaro.com/2014/03/24/get-rid-of-orphaned-content-types-in-sharepoint-2013/ it any more they removed it from SharePoint but without deactivating the Report Server feature on each site collection. Now on SharePoint 2013 this lead to problems with 3 orphaned content types: Report Builder Model https://lifeofaprogrammergirl.wordpress.com/2014/08/28/listen-sharepoint-the-content-type-isnt-part-of-an-application-feature/ Report Builder Report Report Data Source First I tried to remove the corresponding feature "ReportServer" with ID e8389ec7-70fd-4179-a1c4-6fcb4342d7a0 from the site: Get-SPFeature : Cannot find an Enabled Feature object with Id: e8389ec7-70fd-4179-a1c4-6fcb4342d7a0 in scope content type Site Url: https://sp2013.kc-dev.com/sites/reportingservices. Than I tried to remove the content types manually using the web GUI and PowerShell. I got this errors: and Same message: "The content type "Report Builder Model" is part of an application feature." After reading some articles I found two propesed ways: Waldek Mastykarz: http://blog.mastykarz.nl/content-type-part-application-feature-error/ The solution there is to prevent this problem. - RIGHT!!!! - But for me it is too late. The the content type second (that I will not link here) said: The only way is to modify the content database directory. - NEVER EVER. At last I found another way to get rid of the orphaned site collections. In the following demo I use the content types of the Microsoft SQL Server 2008 R2 Reporting Services SharePoint Addon. I installed it on a SharePoint 2010 platform and created a site collection "https://sp2010.kc-dev.com/sites/reportingservices" in a seperate content database. Than I migrated this content database to SharePoint 2013 including site collection upgrade. - New URL: https://sp2013.kc-dev.com/sites/reportingservices Than I checked the usage of the content types using the static method GetUsage of Microsoft.SharePoint.SPContentTypeUsage. In my case all 3 content types are used in a single list. It is necessary to remove each usage of each content type!! - In my case I deleted the list. After deletation it need to be removed from the recycle bin too! … and also from the site collection recycle bin! Now my site collection is clean. No results when checking the usage again: After that I created a new folder in the FEATURES sub folder in the SharePoint hive: Than I created the following script to create a dummy feature inside this folder. The dummy feature uses EXAC
have been having another couple of days of head-bashing. (If that had been head-banging, and had involved a particularly good concert, I would have been over the moon.) But no. It was "bashing" - as in brick wall - and again it involved my current frenemy, SharePoint. After a not-so-good period when a new virus managed to run riot over the network servers, resulting in me rebuilding my SharePoint development environment (and getting it all best practice-y - yay me!), I started again with my library solution. I deployed the solution to a test site via Visual Studio 2013, did a bit of testing, retracted the solution, made some changes, and tried to deploy it again. I say "try", because there was an error during deployment about how VS couldn't delete the content type. Cue Google search mania. The majority of people recommend the following if you receive this error: Ensure the content type is no longer related to a list / library If you have deleted the list / library, make sure you have also removed it from the site recycle bin and the site collection recycle bin (Site Settings | Site Collection Administration > Recycle bin) I tried all of that, and still I got stuck with a Content Type that wouldn't delete. When trying to delete through the UI, SharePoint gave me the error: The content type [insert content type name here] is part of an application feature. Well, clearly it wasn't as I'd already retracted the solution and its features. More Googling. Someone recommended the incredibly helpful tool SharePoint Manager, which allows a user to see what might be using their tenacious content type. However, upon checking the usage count, it was - you guessed it - a bit fat zero. Nothing was using it. Which should mean it could be deleted, but it just wouldn't go! Back to the drawing board. Some people had the helpful suggestion of deleting the entire site and recreating. I get that you might get away with that in a development environment, but how does that help if you get this issue in production? I needed a better solution. But, in order to try to find it, I d