![]() ![]() ![]() Best part about the custom page layout is you can choose to show/hide the fields you want for the document. ![]() ![]() You can keep them because they are optional. You will notice a few extra columns in the default content type this time, because our content type is inheriting from “Page” Content Type. These two settings are important else you won’t be able to use the content type in a custom the page layout (created through SharePoint Designer).Ĭlick OK and add the required columns to the content type as defined in Step 6 in my previous article. “Select Parent content type from:” is set to ‘Publishing Content Type’ī. In Step 5 where we’ve to make sure of the following under “Parent Content Type:”Ī. This is quick recap of my previous article with one change as detailed belowĢ. Creating a Custom Publishing Content Type This time we’ll use a Publishing Content Type as the parent type and the site will be using a ‘Publishing’ site template. We will quickly recap the creation of a new Content Type. In this article we’ll see how we can define custom page layouts for Custom Content Types in SharePoint. We had to go to List->Edit Properties to edit/update or view the values. However we left one piece open where we couldn’t see the data that was entered in the list through the default content type. To make a custom document property behave like the built-in ones (with the exception of the Insert > Quick Parts > Document Property list), you have to "map" a content control to the property.In my previous article Custom Content Types in SharePoint, I demonstrated how we can create custom content types in SharePoint. However, you can't change the value of the property by editing the field result, the way you can change the built-in properties' values by editing the corresponding content control. You can display the property's value in the document by inserting a DOCPROPERTY field (Insert > Field, then select DocProperty in the field name list and choose the property's name in the Field Properties list). It also won't enable you to insert a contentĬontrol in the document to display the value of the property. Using the Advanced Document Properties dialog will enable you to define a custom document property such as Company Address 2, but it won't add that property to the list at Insert > Quick Parts > Document Property. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |