Given a site (SPWeb) with a Pages list associated with two content types (CT) A and B, and corresponding page layouts LayoutA and LayoutB. When I select "Add a Page" I'm only asked for the name of the page, and I cannot select layout/CT at this stage. Instead, the page is assigned a default CT and default page layout. And since the layouts are associated with different CTs I cannot just switch between the two using the standard "edit page" options.
Am I doing something wrong? Is there a way to allow people to pick layout/CT when creating the page via the Add a Page site action?
I'm looking for a solution in code. Currently I'm adding the CTs to the Pages list of the site, and setting the
AssociatedContentType property of the