SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

First thing is first, I'm doing this in Sharepoint 2013.

I'm not exactly sure what the best approach is to be, so I'm explaining my problem and hopefully people can throw around some terms or ideas that I can look up.

Basically we want to have a very cliched setup where there's regions/divisions and a project structure, so ultimately there's going to be Pages that represent a Project, a Project resides under a Region/Division.

Each project would have webpart sections displaying filtered data from a shared List, i.e. that List would have a Region/Division fields so that we can filter it down to those records to show on the Project.

But the issue here is I'll need to author a custom Administration Page that lets people generate a new Project on demand, and consequently it will create a new page.

Firstly I can't find much information with generating an actual Sharepoint Page dynamically through code, is this common or even possible?

Also, is it the correct way to author this Administration Page through the Sharepoint 2013 Designer?

Thank you in advance for everyone's help.

share|improve this question

You can use SharePoint API : PublishingWeb ( with the method "AddPublishingPage"

if you need to customize this page after creation (i.e. add webparts on it), simply use SPWebPartManager (

Using those APIs assume that your Web has the publishing feature activated.

hope that helps

share|improve this answer

Your Answer


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