Copying web part pages within SharePoint
        Posted  
        
            by Jasper
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Jasper
        
        
        
        Published on 2010-05-20T14:59:22Z
        Indexed on 
            2010/05/20
            15:00 UTC
        
        
        Read the original article
        Hit count: 270
        
sharepoint
|sharepoint2010
Hi,
I'm trying to copy some web part pages (aspx) from one library into another. Reason is that I've got sites which are created dynamiccally. I also want to add some content (based on several rules) to those sites, which include aspx web part pages.
The deployment works fine, but the web part pages are empty in the target site. As I've read in several blog posts, this has something to do with the ghosting of the files. Is there a way to literally copy all of the content in the ASPX to the site? The webparts aren't site or feature dependant, so the pages should work on every site. When I copy the pages with SPD, it works fine, but I don't understand how SPD does this.
© Stack Overflow or respective owner