Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Most people would likely answer a question like this by saying to look at Page Layouts but they are no good to me. I already have custom Page Layouts for use in a publishing page but what I want to do is to set a Text Layout using code.

When I create a new team site with the wiki homepage feature enabled I can view a page and edit a page at SitePages/Home.aspx. In the ribbon there is an option called 'Text Layouts'. I can select something such as "3 columns with header". I have searched everywhere for how I can set this in code but have found nothing.

Can anyone help with this or even help with creating custom Text Layouts?

share|improve this question

1 Answer 1

It's not really supported but seems someone has made a solution at Create web part pages with custom layouts in SharePoint 2010

share|improve this answer
    
Thanks - I will have a look. It doesn't sound like it is possible to programmatically add webparts via code to wiki pages as well as changing the Text Layout. –  ringo747 May 17 '12 at 8:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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