Sorry I am new to custom page content type and not sure what I have missed.

I created a custom content type XPages by inherit of Pages content type. The only difference is I added a new column PageType (a choices field). I didn't created a custom page layout because I only need a new metadata field PageType. User can use the default page layout.

Then I bind the XPages with the Pages library (I have activated publishing infrastructure). Users click into Pages library can click New File -> XPages to create a new page. However, the new file created, by default, have a content type Pages. Users have to change the content type to XPages manually. After change to XPages users see the new field "PageType" show up.

Why users create a new page with custom content type XPages but a normal page was created?

  • You need to modify the pages library to enable management of content types, then modify the order of content types and select XPages as primary (you can even hide the other one). This will default to new content type. – Roman Oct 29 '14 at 17:57

You need an associated PageLayout. The moment you create a page and selects a page layout the associated content type will change.

On the other hand if you upload a page then it automatically picks the default content type XPages.

  • If you want to take advantage of the columns inside the page, you would need a page layout that understands XPages content type. – Roman Oct 29 '14 at 17:57
  • I created a page layout by copying existing page layout files. But how can I bind this layout with my XPages? Also the Design Manager not working because XPages is under subsite... – Mark L Oct 31 '14 at 7:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.