SharePoint is a strange Bug.

Source: Internet
Author: User

This is not a Microsoft sharepoint bug. It is a bug for the time being.

This problem occurs currently when the list is of the "document library" type and is not displayed in the normal list;

Create a document library, DocLib, and add a test data;

Test: Description field. If the prompt does not exist, add a column named "Description" to the document library.

Add the column "Description". The strange thing is that field = Description0. If you don't read it here, you will struggle later.

Here you will find a very strange problem; the Description field has been updated () successfully, but you cannot obtain it by item ["Description"]. (is it read-only ?) Use item. Fields. ContainsFieldWithStaticName ("Description") to detect

Whether this field is included, and the result is false. Why do I replace the newly created Description with Description0? It cannot be understood. Is it true that Description and Description0 are both female and female?

 

How can we get it? All of them are obtained using Description0. If I knew this, it would be better to write Chinese. This problem will never occur to compiled fields.

 

 

Others: The reason field used previously has this problem. If no error is thrown, the value cannot be obtained. The problem is the same as above, but the field is not tested on your own machine; description.

When creating a new column, pay attention to the two English words. It is best to discard them and keep them in the system? This problem is hard to troubleshoot. It is difficult to use SPSiteDataQuery. If you ViewFields = "<FieldRef Name = \" Description \ "/> instead

ViewFields = "<FieldRef Name = \" Description0 \ "/> the data cannot be queried. sometimes it is found that the field is empty, but it is certainly not empty when you view it in the list. if you are interested, you can test and do not know the words.

Mine. Although Title is a system field, I created a Title with Title0, but they are two independent fields.

Do not.

Technorati label: sp2010Technorati label: spquery, spsitequery

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.