Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

Copying form library with content and workflows attached?

$
0
0

I have used this to export and import an infopath library

 #Loop through the lists, export the list from the source, and import the list into the destination  
  foreach($list in $lists)  
  {  
  "Exporting " + $sourceWebUrl + $list 
   export-spweb $sourceWebUrl -ItemUrl ($list) -IncludeUserSecurity -IncludeVersions All -path ($path + $list + ".cmp") -nologfile
      "Exporting complete." 
   "Importing " + $destWebUrl + $list  
   import-spweb $destWebUrl -IncludeUserSecurity -path ($path + $list + ".cmp") -nologfile  
   "Importing Complete"  
   "`r`n`r`n"  
 }
 

however it did not copy my workflows with the content? How do I do that? Also, I get this message when viewing forms.

There has been an error
while processing the form.
Click OK to resume filling out the form.
You may want to check your form data for errors.
Hide error details
You do not have permissions to
access a SharePoint list that contains data required for this form to function
correctly.
An entry has been added to the Windows event log of the server.
Log ID:5566
Correlation
ID:
ccc404e0-d106-4def-b175-c231462038e7



Viewing all articles
Browse latest Browse all 17574

Trending Articles



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