Solved

SharePoint 2007 - Changing Content Type in list

Posted on 2013-06-06
3
902 Views
Last Modified: 2013-06-07
Hi experts!

I have 3 content types in a list

item
cash
cheque

I created a new "cash" and in the newform.aspx -

How do I show the 'Content Type' field to allow me to change to 'cheque' if need be
0
Comment
Question by:sharepoint2013
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 50
ID: 39228013
Hello,

The Newform.aspx does not show a content type selector, because you select the content type from the new item drop-down. You can change an existing item's content type by editing the item. The Edit form has a drop down for content type at the top of the form.

cheers, teylyn
0
 

Author Comment

by:sharepoint2013
ID: 39228033
How do I enable the content type selector in the newform.aspx
0
 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 500 total points
ID: 39228312
You don't. Because there is no need to do that. In a list with several content types, you will need to select the content type when you create a new item.

If you click the "New" button to create a new item, it will be created with the default content type for the list.

new item with default content type
But the "New" button also has a drop-down arrow, which if clicked will show a list of content types to select from:

dropdown to select new item's content type
This is how you determine the content type for a new item. The content type selector will not show in the newform.aspx, because it is already shown in the step to open the newform.aspx. Just use it.

Once you have created and saved the item, you can edit it and change the content type. The content type selector will be the first field in the form in edit mode.

edit the item to change the content type
0

Featured Post

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question