0

I am creating a hosted app in Visual Studio 2017 for use in SharePoint 2016 On-Premises. I have added a list to this project and would like to change the new item form for this list. I am attempting to follow this tutorial, but when I select Add -> New Item, I don't have any item called Page. Is this something I'm missing or is there a different way to do this?

enter image description here

2 Answers 2

0

.aspx page include in your sharepoint add in

enter image description here

Thanks

2
  • Not sure why, but I don't have that.
    – DrewB
    Commented Jun 28, 2018 at 14:55
  • Add Application page it work same. Commented Jun 29, 2018 at 4:12
0

As mentioned by @Utkarsh Dubey, Application Page works, but only with some changes. In the aspx page, DynameMasterPageFile has to be changed to MasterPageFile and in the code behind, you have to inherit from WebPartPage rather than LayoutsPageBase.

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.