4

I need to be able to create a different item from an existing one, but still keep most of the details and only change some information. Thanks,

2

2 Answers 2

2

Your best bet is to use event receivers. The ItemAdded(Synchronous) or ItemAdding(Asynchronous) event receivers will allow you to access the data from the item that was just added.

You can use this information to create a different item, either in the same list, in a new list, or in any type of storage medium you can get too.

Custom workflows will also give you much of the same ability.

Excellent article on ER's --> http://developers.de/blogs/adis_jugo/archive/2009/03/12/develop-and-deploy-a-sharepoint-event-receiver-from-the-scratch.aspx

2

Have you tried using SPListItem.Copy( oldItemURL, newItemURL ) ?

1
  • How does this behave if properties are changed on the destination?
    – Alex Angas
    Aug 13, 2009 at 8:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.