0

I have an html page.I want to make a new application page in SharePoint with the contents of my html page.I don't need master page because i don't want the look and feel of SharePoint.My page is anonymous page.How can i create an application page without master page in SharePoint?

3
  • use SharePoint Designer to create a new aspx page. By default it will be without a masterpage.
    – Mike
    May 14, 2014 at 17:45
  • @Mike I am using VS
    – anish
    May 14, 2014 at 17:47
  • how to create application pages in designer?
    – anish
    May 15, 2014 at 6:11

2 Answers 2

1

If you are creating a custom application page, your page must inherit from the LayoutsPageBase base class and must use one of the dynamic tokens listed below. Dynamic tokens:

~masterurl/default.master – The application page references the master page file that is stored in the MasterUrl property.

~masterurl/custom.master – The application page references the master page file that is stored in the CustomMasterUrl property.

http://msdn.microsoft.com/en-us/library/office/ee537530(v=office.14).aspx

0

I don't really understand your question or requirements, but:

  1. Deploy your HTML file to _layouts folder
  2. Deploy your file to any document library

no?

Or your page is not a simple HTMl markup and needs to inherit from ApplicationPage?

1
  • I want to add my html contents to my custom aspx page in layouts.I want to know whether master page is mandatory for application pages?
    – anish
    May 14, 2014 at 17:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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