Posts

Showing posts with the label ContentType

Content Type Hub in SharePoint Online

Standards are good and sometimes you want some standards in SharePoint Online. A useful tool is the Content Type Hub. You should know it from SharePoint 2010 and 2013. Whenever you need it, you can create one, by activating the Site Collection Feature "Content Type Syndication Hub". This feature allows you to publish your Site Columns and Site Content Types to every other site Collection. So you might thing you can build your hub in SharePoint Online by activating the feature on a new Site Collection. If you do so you will get an error. It tells your proxy is not working correctly, but this is not true. In fact there is already an hub and you cannot build a second one. The hub is hidden so you cannot see it in the Site Collection Overview in your admin center. You need to know the URL: https://yourprefix.sharepoint.com /sites/contenttypehub  

SharePoint get field by GUID with PowerShell

Once I was looking for a problem in SharePoint, I've spent some time digging the ULS Logs. There was an error with the message " Failed caching field with id '{GUID}' ". The first problem I had was the question: which field? So I decided to build a script that returns the name of the field. After I knew the name, I wanted to know where the field is used, so I extended the script. Now it returns the Lists and Content Types where the field is in use.

How to create custom Page Layouts in SharePoint 2013

Before you create a Page Layout there are two questions: - What is a Page Layout? and - What do you need to create a Page Layout? What is a Page Layout? A Page Layout is a way to design content on sites. You can create content areas and place them with CSS. Simplified: it is like a form for list items. A site is nothing else than an item in a library, so you can see the layout, that you build, as the display form, the edit form and the new form. What do you need to create a Page Layout? You will need to download and install the SharePoint Designer 2013 , but the most important thing, to make you the less work as possible, is that you know what you want to design and what content you want to display. I recommend you to create a custom Content Type for your Page Layout. It will make it a lot easier to add all the columns you need. It is also recommended to got some knowledge in HTML, ASPX, JavaScript and CSS.