Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

How to create a new aspx page in Pages library using Elements.xml without including any aspx page layout in my feature?

$
0
0

Is it possible to have the elements.xml file create a page in the Pages (or SitePages) library without actually including any sort of page layout or aspx artifact in the feature? I see no reason to add a mywebpartlayout.aspx to my feature just so I can deploy a Home.aspx based on the BlankWebPart.aspx page layout. 

I'm sure there is something obvious I am missing with regards to the Elements schema (which is why I've almost given up on using it completely and just gone to pure C#) but I would really like to do this kind of simple stuff with declarations if at all possible. Must less code to write, debug, test and maintain.


Viewing all articles
Browse latest Browse all 7589

Trending Articles