Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Copy ListItem to multiple sub-sites

  Asked By: Brain    Date: Jul 31    Category: Sharepoint    Views: 4021

I have multiple sub-sites present under a root site. In each of these
sub-sites I have a custom SharePoint List. Now, if I add a List Item to
one custom SharePoint List, in one sub-site, can I designate it, so
that it will be added to other custom SharePoint Lists present in other



9 Answers Found

Answer #1    Answered By: Allyson Burgess     Answered On: Jul 31

No, it really doesn't (and shouldn't) work that way. If you really
want/need a copy  in each site  you will need to copy it using the
SharePoint API from within something like an Event Handler, Workflow,
Application Page, or Web Part.

However, the way that WSS is designed, you would put the data in one
place and then view it from other locations. The assumption is that you
will want to see the data on one site (SPWeb) only from within that
site. However, there are several Web Part (most notably that Data Form
Web Part) that can be used to show data from one site on another site.

Answer #2    Answered By: Anila Bhuva     Answered On: Jul 31

Can you please point me to some resources where the below
functionality(copying the listitem) can be achieved via EventHandler
or WebPart?
I am kind of confused as in how will I give the user option(s) as to
which sub-site(s) he wants the listitem  to be added. Please throw
some light on this aspect...

Answer #3    Answered By: Elaine Mack     Answered On: Jul 31

With an Event Handler, you could configure a <Data></Data> element in
the Feature Elements XML that you can be retrieved when the event runs
using properties.RecieverData (if I recall correctly).

With a Web Part, you could use a public property, Editor Part, a simple
rendered textbox, or even a JavaScript Confirm dialog; totally up to

With a Workflow, you could collect the destination using any of the four
forms: Association, Initiation, Modification, or Task.

I'd have to search for examples..

Answer #4    Answered By: Baiju Hoskeri     Answered On: Jul 31

If you create the workflow with SPD you can't copy  outside of the web you're in,
can you? I tried to find a way to do this before and I could only get SPD to
list the libraries in the same web as the one I'm assigning the workflow to.

Answer #5    Answered By: Kristy Hicks     Answered On: Jul 31

Sorry, I was thinking about a VS.NET Workflow.

Answer #6    Answered By: Amanda Brown     Answered On: Jul 31

Took me a while to find it, but here is an article on porting SPD
workflows to Visual Studio.


Answer #7    Answered By: Carey Everett     Answered On: Jul 31

Oh, no need for an apology. I know you're a developer and no matter what Dustin
Miller might say I assume you developers mean VS.net. I just wanted to confirm
that I couldn't do it in SPD.

Answer #8    Answered By: Anuj Lakhe     Answered On: Jul 31

You could do it in SPD also, but you would have to write a custom  action
using VS.NET and then load it into SPD. So there is no way to get
around using VS.NET to some extent.

Answer #9    Answered By: Lee Dickerson     Answered On: Jul 31

Thank you all for your inputs.

Didn't find what you were looking for? Find more on Copy ListItem to multiple sub-sites Or get search suggestion and latest updates.