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

I want to deploy a page to the sitepages library. When i deploy this code it does not appear.

However when i go to the url manually e.g., i get the 'save as' options with the page, which means it has been deployed fine, but i cant figure out why it does not appear in the list.

Below is my code.

Does this have anything to do with the fact that it is a html page and not a aspx page?

share|improve this question
I think your code was not posted due to some error. Can you try posting it again? – Vardhaman Deshpande Nov 5 '12 at 12:46
up vote 1 down vote accepted

First thing I can think of is to check whether you have set the Type attribute of your file as GhostableInLibrary. This should make it appear in the list.


<Elements xmlns="">
  <Module Name="Pages" Url="SitePages">
     <File Path="Pages\mytestpage.html" Url="mytestpage.html" Type="GhostableInLibrary" />
share|improve this answer

Your Answer


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.