Tag Info

Hot answers tagged

10

Firstly, you need to know that Managed Metadata Service can be responsible as a Content Type Hub. Content Type Hub is a location where you can manage and publish content type across site collection, web application and farm. One more terminology you need to know is Content Type Subscriber, which will subscribe to Content Type Hub. Once you publish Content ...


5

You don't need a content type hub with a single site collection. The benefit of the hub comes into play when you have multiple site collections in the same Web Application that share content types and you want to manage all of the content type updates in a single place (the hub).


4

This has to do with how SharePoint "builds" content types I think. It needs to know where to find the parent, or more specifically, the parent's original schema (XML). If Inherits is set to true, it will include the parent's fields directly in its own schema, when this is not the case. it will always require a schema to be based on, which can be found in the ...


3

Yes, you create a site collection for the hub and activate the Content Type Syndication Hub feature at the site collection level. There is a timer job that runs which will essentially copy the content types from the hub to the subscribing site collections. If you need a content type change immediately then you can start the timer job manually. Note that ...


3

I had changed a field definition's property and found that the new definition was synced to the subscribing site after also republishing a content type that was using the customized site column. I did this on SharePoint 2010, and only had one content type that was using the customized site column. In this case I had changed a Date/Time field's default value ...


3

I fixed my issue by creating a new site collection to serve as the content type hub, then changing the metadata service to point to that new site collection for the hub property http://www.sharepointanalysthq.com/2010/11/how-to-change-the-content-type-hub-url/ I believe my original issue was due to me not waiting for the "content type hub" timer job to ...


2

Hi Here is a example how to create a custom content type and add it to 365 ClientContext clientContext = new ClientContext("http://anmol-pc"); Web web = clientContext.Web; ContentTypeCollection contentTypes = web.ContentTypes; clientContext.Load(contentTypes); clientContext.ExecuteQuery(); ContentTypeCreationInformation newConInfo = new ...


2

I know this really should not be an answer, and should be a comment on the accepted answer, but apparently I cannot add a comment. In any case, I have a potential solution to the problem of the Inherits attribute, and needing to set it to True so you can publish content types correctly vs. needing to set it to False so that you can preserve your declarative ...


2

A site collection subscribes to the hub. So in your scenario, the three subscribe and the seven do not. http://blogs.msdn.com/b/chaks/archive/tags/cthub/


2

I just ran into this issue. While watching the SharePoint logs I found that the field in question was added locally to the site columns instead of added using the content type hub. So when trying to update the content type there was an error due to two columns with the same name (the one at the content type hub and the one local). The fix was to delete the ...


2

So if this is happening to you you should first publish your content type, at your content type hub. From there you should click "Manage publishing for this content type" and you will see 3 options: Publish Make this content type available for download for all Web Applications (and Site Collections) consuming content types from this location. Unpublish ...


2

The Content Type Hub will not be visible in the sitecollection listing. But however you can access it from https://mydomain.sharepoint.com/sites/contentTypeHub


2

Couple of things to check: Make sure that MMS proxy associated with the web app.( Central admin > Application management > web app and from ribbon select service connection) Also check if MMS services is running on at least one server in the farm.( Central admin > Managed Services on server.) Also browse the MMS from central admin and see if it working ...


2

You would need to create a site collection scoped feature that would create them and add them to the content type gallery if you are not going to use a content type hub. This makes upkeep much more complex, so I'd encourage the use of a hub if possible.


1

Resolution I sent a support ticket to Microsoft and after a few days of phone calls, we found a resolution. Below is the closing transcript of the issue from Microsoft: Issue Statement: Unable to publish Content Types through Content Type Hubs Scope Agreement: High as customer is not able to use the feature of content types on his production sites ...


1

This looks to me like when you deleted the content type you didn't actually delete the columns related to the content type. Now you are trying to publish a content type from the root with that 'DataObject' column in it but there already exists a 'DataObject' column in your site collection. Have you searched your site columns to ensure that you don't ...


1

I don't know if you still face this problem, but I just had the same problem and the solution might be of use to others as well. It appears to be due to the content type being created in an Enlish site (/sites/contenttypehub), and being succesfully published to (and showing up in) our English team site (/), but not to the Dutch subsite /vaktechniek. After I ...


1

Your sub sites will have the content types. Make sure that you have created the content types, and the hub, on the root site. You know that you are on the root site because if you go to site settings, you will see the "Site Collection Administration". Really the only possibility is that the hub is not coming from the root site of the site collection (I ...


1

When a timer job instance is created, it is persisted to the farm configuration database. Accessing this database for write purposes is a privileged operation; as a rule of thumb, only the farm service account (that is, the account under which OWSTIMER.EXE executes) or accounts that explicitly have the rights required to carry out such an ...


1

It's not enough to add TaxKeyword to your content type/list, you have to add TaxKeywordTaxHTField as well. This one is a hidden field but neccessary to get the keyword-field working. But it doesn't stay persistent within the item. After saving, it's gone again. Except when done the following: ...


1

The Document ID Service feature is enabled at the site collection level. Whether or not that site collection consumes content types from a hub is irrelevant. The document ID will get a prefix unique to the site collection (which can be changed). When the Document ID Service feature is enabled, the document ID column will be added to all documents created ...


1

It's recommended to create a unique site collection to act as your content type hub. This allows for separation from your normal users and day-to-day activities. When working on a content type, there is an option to publish it, and then republish it after an update. Updates do not automatically go out if a CT is updated. Also keep in mind the Content Type ...


1

I have this little powershell function you can try it out... function SetManagedMetadaService { Param( [parameter(Mandatory=$true)][string]$ServiceName, [parameter(Mandatory=$true)][string]$HubSiteUrl ) Write-Host "Setting contenttype hub Url" #Get-SPServiceApplication | ForEach-Object { # if ...


1

You can change it via PowerShell. See this article: http://www.sharepointanalysthq.com/2010/11/how-to-change-the-content-type-hub-url/ They basically show how to use this cmdlet: Set-SPMetadataServiceApplication -Identity "<ServiceApplication>" -HubURI "<HubURI>"


1

Deleting content types from the hub orphans them in the spokes. The technique I use is to delete the content types from the spokes first (you'll have to set ReadOnly = false before deleting) then un-publish the content type in the hub and then delete the content type from the hub.


1

Irrelevant of the Content Type hub, working with look-up columns can be tricky. You either create them declaratively (at the time of Content Type deployment) - which also assumes the list you are targeting is already there (or self-referencing -the same way the Tasks or Issues list work) or use code, say during a FeatureActivated handler where you could ...


1

One reason to beware of many content types is the impact it has on general site collection creation times. Each time a new site collection is created, all syndicated content types in connected hubs are copied down to it. So the more content types you have the slower it becomes to create site collections. In our staging environment, we found that once we ...


1

There is no documented limits on number of contenttypes. SharePoint limits are documented in SharePoint Server 2010 capacity management: Software boundaries and limits. But be aware that it'll take some time for all of the content types to be available when you create new site collections. But another question is what you expect to get as benefit from ...


1

There is an Content Type Hub FAQ which addresses the CT Hub construct but the limitation would be based on the list that uses the content type and the number of list columns - SharePoint 2010 Column Limit (based on column type).


1

Since you are effectively changing the list schema, you may have to do an oSPList.Update() as well.



Only top voted, non community-wiki answers of a minimum length are eligible