When is SPFile.Properties != to SPFile.Item.Properties in SharePoint?

前端 未结 4 499
逝去的感伤
逝去的感伤 2021-01-18 01:29

One of our customers has a problem that we cannot reproduce. We programmatically copy a document\'s properties to a destination file using SPFile.Properties. However, for so

4条回答
  •  花落未央
    2021-01-18 01:49

    Trying to find the "official documented" anything for sharepoint is pretty much undoable. :-D. The online docs suck, you are better of using blog entries etc.

    P.S. I agree with Alex here. Although an SPFile never exists in a list without an accompanying SPListItem, the connection between the 2 can get corrupted (i.e. being able to edit the list item but the file is not openable). This to me indicates information about the 2 is stored in different locations in the content db. I have had this happen before.

提交回复
热议问题