Sharepoint Application 2013 custom list new page -


i have sharepoint-hosted application , lists within app. want replace default new form own page. i've modified schema.xml list:

    <forms>       <form type="displayform" url="dispform.aspx" setuppath="pages\form.aspx" webpartzoneid="main" />       <form type="editform" url="editform.aspx" setuppath="pages\form.aspx" webpartzoneid="main" />       <form type="newform" url="newform.aspx" setuppath="features\$sharepoint.feature.deploymentpath$\pages\default.aspx" webpartzoneid="main" />     </forms> 

but there error during deployment "cannot find file specified". how can point page in sharepoint-hosted application list schema.xml?

if have form within same folder list:

    <form type="newform" url="newform.aspx" path="customnewform.aspx" webpartzoneid="main" uselegacyform="false" /> 

or if have custom form within pages folder:

    <form type="newform" url="newform.aspx" path="~site/pages/customnewform.aspx" webpartzoneid="main" uselegacyform="false" /> 


important:
don't forget right-click custom form , select properties,
set deployment type: elementfile


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -