Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

How to Copy SPListItems with attachments by JavaScript (IDs passed in URL)?

$
0
0

Hi there,

For my SharePoint 2010 list - I need to copy list items (with attachments, if any) (IDs will be passed in URL e.g. http://server/lists/TestList/AllItems.aspx?CopyItems=12,18,20,22).

So as soon as above URL loads - the items with these IDs will be copied (with attachments, if any) in the SPList. I should be able to pass as many SPItemIDs in the URL as I want.

If someone can give me JavaScript that I can use on CEWP that will be really appreciated.

Thank you.


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>