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 8220749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T13:38:38+00:00 2026-06-07T13:38:38+00:00

Background: I have a site that I deploy my content type too and this

  • 0

Background:

I have a site that I deploy my content type too and this site has many sub-sites. The content type will be used by each sub-site.

I have a module that I want to push custom New/Edit/Display forms (Web part pages) when my feature is deployed and activated.

I want to set these forms to the content type directly (FormUrls), but I do not know how or where I should deploy my forms so that I can reference them correctly.

I know how to do this with _layouts and I also know how to use the list definition schema (setup path), but I cannot use either of these due to version requirements (We try to avoid _layouts when possible). We are required to maintain the list and form history at the time it was created. When a new version of the list/form is released, the new content type will inherit the previous and the new form will be set to the new content type.

We also cannot use Infopath (Licensing issues).

I have tried deploying the forms using a module to the Url of the content type (_cts/Content Type Name), but I cannot seem to get the content type path correct. Here is an simple example (I cannot give the actual code or I would, sorry).

Module

<Module Name="Module1" Url="_cts/Content Type" RootWebOnly="FALSE">
  <File Path="Module1\MyNewForm.aspx" Url="Module1/MyNewForm.aspx" />
</Module>

Content Type

<FormUrls xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url">
      <New>Module1/MyNewForm.aspx</New>
</FormUrls>

The above example does not work and I’ve tried removing the Module -> Url attribute so it is deployed at the root and that also did not help. Any help on this would be greatly appreciated.

  • 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-07T13:38:40+00:00Added an answer on June 7, 2026 at 1:38 pm

    You can use any sharepoint library for store forms.
    First, you need to deploy page to library/folder by ‘Module’, elements.xml:

    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
      <Module Name="Forms" Url="SiteAssets">
        <File Path="Forms\CustomDisplay.aspx"
         Url="CustomDisplay.aspx" 
         Type="GhostableInLibrary" />
      </Module>
    </Elements>
    

    Then it can be referenced as form for content type, elements.xml:

    <?xml version="1.0" encoding="utf-8"?>
    
     <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    
     <ContentType ID="0x01080100AB22BE524D7344D89DBB2A27AAF5AB3C00924B45ABBDA240DA8C5B32541E9184AE"
               Name="CTName"
               Group="CustomCTypes"
               Description="Decription"
               Inherits="FALSE"
               Hidden="FALSE"
               Version="0">
    <FieldRefs>
    </FieldRefs>
    
    <XmlDocuments>
      <XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url">
        <FormUrls  xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url">
          <Display>SiteAssets/CustomDisplay.aspx</Display>
        </FormUrls>
      </XmlDocument>
    </XmlDocuments>
    

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

Sidebar

Related Questions

I have a site that has a div with content and a navbar (looks
A little background, I have a client that has a legacy php site that
I have a site that has the following basic structure. This site should have
I have a site that uses a large centered background image, which naturally loads
I have an existing site that requires a background image on the home page.
On this site: http://walkman.pk/aserdus2/tagok.php I have two background-images on the left and right side,
I currently have a site that uses a two-tone background image that is centered
I have a few images on my site that will change over time. To
Background : I have to create a plain site that accepts incoming posted XML
I have a site that will have a column of images and divs (a

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.