How to programmatically migrate Sharepoint Team Discussion Item

Posted by BeraCim on Stack Overflow See other posts from Stack Overflow or by BeraCim
Published on 2010-04-16T00:13:41Z Indexed on 2010/04/16 0:23 UTC
Read the original article Hit count: 640

Filed under:
|

Hi all:

I was wondering how can I programmatically copy all the discussion items from one Sharepoint team discussion to another?

I have tried retrieving the team discussion items from an existing site as SPListItem. Although I could find the Team Discussion list, but I could not red the retrieved items by assigning them as SPListItems. Moreover, team discussion looked like it has a lot of fields that requires a lot of other information to be available e.g. users, threads, topics, etc. It certainly looks different than other ordinary lists. Would a simple copying of all the fields be sufficient, or there is more to it?

Thanks.

© Stack Overflow or respective owner

Related posts about sharepoint

Related posts about sharepoint2007