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

Move files between diff web with metadata

$
0
0

SiteCollection1-->web1 --> SourceLib1 --> file1

SiteCollection1-->web2 --> DestinationLib1 --> <want to move file 'file1' here programatically>

1. Can I use CopyTo() or MoveTo() ? It seems these methods are working while moving/copying files between document library within same web.

2. If #1 is not possible then byte can be retrieved and add to DestinationLib1  but then how do retain metadata and modified by ?

any suggestion, please?


thanksArup MCTS - SharePoint

Play Sudoku Online



Viewing all articles
Browse latest Browse all 11571

Trending Articles



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