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

0

.aspx page include in your sharepoint add in

enter image description here

Thanks

  • Not sure why, but I don't have that. – DrewB Jun 28 '18 at 14:55
  • Add Application page it work same. – Utkarsh Dubey Jun 29 '18 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, privacy policy and cookie policy

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