I have a SharePoint 2010 Site collection and I need to know how I would write the URLs to a newform.aspx associated with a SharePoint list when I have two separate content types.

Generally (for a single content type) I would do it like this:


..but this only displays the default content type.

I'm am sure there is a simple add-on to the URL to define the other content type but I simply don't know it and I cant find the answer in my resources so any assistance would be appreciated.


You can pass content type id as query string parameter ContentTypeId


You can easily find your content type id if you go to List settings, click on desired content type and find the id in URL (here it is called ctype parameter)

| improve this answer | |

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.