Wss3sdk: Add a column in the content type to the list

Source: Internet
Author: User
When we add a content type to the list, the column referenced by this content type will be added to the list as a list column (if it has not been added before ).
Displays the columns added to the List by content type. In the figure, the website content type specification has three website columns for reference. The website content type contains a reference for each column added (developer, milestone, status. The set of website columns contains the definitions of all available website columns under the website.
When we add the content type to the list, WSS copies the website content type to the list to form a list content type, and copies the column template to the list to form a list column. The list content type contains references to the list column copied to the list, rather than the website column in the website column set in the site. Therefore, we can modify these columns and customize their display in the list. These changes do not affect the website column itself or other lists that inherit the website column.
It shows us a more complex scenario where multiple content types are added to the same list. Two website content types, memo and spec, are created on the website set root site. It is precisely because of their location that they are available in all other websites under this website set. A list administrator adds the two content types to a list ,. In this case, WSS copies the site content type to the list content type. Check the content types of the two lists to determine which columns need to be added to the list. In this example, memo references two columns: Author and subject, and spec references three columns: Author, test, and developer. WSS will add the required columns.
Although author is referenced in each content type, it is added only once to the list. In addition, if author is required in the spec content type, but is optional in the memo content type, this field is required only for list items of spec content type in the list.

Add columns in the list to the content type

If we directly add columns to the list and the list contains multiple content types, we can specify whether the newly added columns are referenced by all these content types. If we reference it to the list content type and set this field as required, this field will also be required for each content type. However, we can overwrite the entire required setting in the specific list content type.
You can also add existing list columns to the list content type.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.