Hi,
We have a bunch of content types syndicated from a Content Type hub. The columns in the content types were created using a feature on the content type hub and published from there.
On one of our site collections, somehow, some of the columns used in our content types have been created with different Id's. The result of this is that the Content Type hub can't publish to this site due to the conflict.
The columns on the problem site collection do not have the "Delete" button visible. If I query the column in PowerShell it has the AllowDeletion property set to "False". If I try and change this to "True" using the following commands:
$site = Get-SPSite http://siteurl $web = $site.RootWeb $field = $web.Fields["Field Name"] $field.AllowDeletion = "True" $field.Update()
When I query the column again it hasn't saved and AllowDeletion is set back to false.
I did actually manage to delete the columns in a dev environment by following the instructions in this blog. And this actually fixed my issue and I was able to get the content types syndicating again. However as this involves running a SQL query against a SharePoint database, I'm obviously not going to try that in production.
Anyone able to help? Obivously needs to be a supported PowerShell method rather than using SQL. I've had a ticket open with Microsoft for about a month and they haven't been able to solve it yet...









