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.
Internally, discussion boards are standard SharePoint lists. The most likely source of confusion is that topic is a subtype of folder – as long as you maintain that folder structure you should be able to copy items between lists.