This week we had an issue where we had some differences in the Content Types that where pushed from the Content Type hub. We wanted to make sure all Content Types where updated in the next push. After some digging around on the internet I found that there is a property in the SPWeb.Properties called “MetadataTimeStamp”. This property contains the date of the last sync with this site collection. If you clear the value of this property, the Content Type synchronization Job will update this sitecollection.

I wrote a script to clear this property for every site collection in an web application or for a single site collection.

3 Responses

  • Akhilesh Gehlot

    Does this work for office 365 sharepoint online site as well, or just on premise? I need to force updates from the content type hub to the sites subscribed to this content type hub. Also what should be the url supplied incase of sharepoint online to go through all sites for updating. Need your inputs urgently.

    Thanks in Advance.

    Reply

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.