Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
I’ve made a Meeting workspace and of course it has tasks. I also have a main site for tasks which in Parent site of this workspace. How can I Copy the task which create in this work space to my task list in parent site? Is there any workflow? I couldn’t find connections between sites in SPD. If anyone has any solution regarding JQuery I also appreciate.
Posted
Updated 30-Nov-15 21:08pm
v2

1 solution

There is a couple of options using different paths to do what you want.

The first option I would suggest having a look at, is using Content Types and the Content Query Web Part to show you all tasks which are assigned to you ([Me]) within the current site collection. (This would not copy the item, but rather show all tasks within the site collection and this can then be filtered based on who is assigned to the task).

Display data from multiple lists with the Content Query Web Part - https://support.office.com/en-in/article/Display-data-from-multiple-lists-with-the-Content-Query-Web-Part-d560f477-8fc1-4258-aeb2-70aa932e07da[^]

The other options which could be used:

1. Have an Event Receiver which, when a new task is created, a copy is placed in the parent list. (C# / WSP option)
- How to: Create an Event Handler Feature - https://msdn.microsoft.com/en-us/library/ms453149(v=office.12).aspx[^]
- copy list items from one list to another in sharepoint - http://stackoverflow.com/questions/1075323/copy-list-items-from-one-list-to-another-in-sharepoint[^]

2. Create a custom workflow action (C#/WSP option), which takes the task and copies it to the parent list
- How to: Build and deploy workflow custom actions - https://msdn.microsoft.com/en-us/library/office/jj163911.aspx[^]


3. jQuery/SPServices to copy the task from child to parent site
- Create New List item by Copy Existing List Item and then edit the newly created List Item
- http://sharepointx-men.com/2013/03/13/part-i-create-new-list-item-by-copy-existing-list-item-and-then-edit-the-newly-created-list-item/[^]

Hope this helps!

-DB
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900