Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7825469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T08:59:47+00:00 2026-06-02T08:59:47+00:00

I Created a list definition & list instance for Sharepoint2010 in Visual Studio (C#).

  • 0

I Created a list definition & list instance for Sharepoint2010 in Visual Studio (C#). Also created Application page, that by default stores in layouts folder. My goal is to make that page as new form of my list.
As I understood, It should be done in that part of list schema:

<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="pages\form.aspx" WebPartZoneID="Main" />
</Forms>

I Tryed:

1) Add <New>_layouts/PIUVS/ProjectsNew.aspx</New> in <forms> tag. => then nothing happends

2) Change SetupPath to “_layouts/PIUVS/ProjectsNew.aspx” => while deploying appears error: Error occurred in deployment step ‘Activate Features’: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

P.S. I don’t use SP Designer or programs like that.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T09:00:00+00:00Added an answer on June 2, 2026 at 9:00 am

    Found a solution.

    This should be done not exactly in schema file.

    To add custom form to list in Sharepoint2010 you should modify a content type. In <ContentType> tag add following:

    <XmlDocuments>
      <XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url">
        <FormsUrls xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url">
          <New>_layouts/PIUVS/ProjectsNew.aspx</New>
        </FormsUrls>
      </XmlDocument>
    </XmlDocuments>
    

    Also copy this in ContentType reference in list’s schema.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a custom list definition created via visual studio 2010. I would like
I have a VB.NET project in Visual Studio 2008 that I created a specialized
I created the list that have device detected, and I want to send data
I have created a list view that displays the names and dates of items
I have created a list form that gets attached to a main form in
I have a gridview and in that gridview i created a list of imagebuttons
I created an Archive list ( also this is my archive.php codes ) on
I have created a subclass of a generic list so that I could implement
I am creating a list definition that includes three columns that are look-ups off
We have created a new List View Style that shows thumbnails from a picture

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.