Hot answers tagged

8

stsadm -o export -includeusersecurity seems to work actually. Export site: stsadm -o export -url http://sp2010/sites/sc/subsite/ -filename subsite.cmp -includeusersecurity Export list: stsadm -o export -url http://sp2010/sites/sc/subsite/Lists/mylist/AllItems.aspx -filename mylist.cmp -includeusersecurity


4

SharePoint rich text fields support copy & paste by using an iframe dynamically inserted into the body tag. Manipulating this iframe or any of its content may cause error 800a025e thrown by SP.UI.RTE.debug.js. Searching through SP.UI.RTE.debug.js for "pasteDiv" should help you debugging this issue, as the inserted iframe contains a DIV with id "pasteDiv"...


4

For another Column in the same List (or another List on the same Site) you have to use Update Item action


3

Here is a script which copies documents across site collection http://blogs.msdn.com/b/rcormier/archive/2012/11/16/how-to-copy-sharepoint-documents-between-site-collections-using-powershell.aspx $ver = $host | select version if($Ver.version.major -gt 1) {$Host.Runspace.ThreadOptions = "ReuseThread"} if(!(Get-PSSnapin Microsoft.SharePoint.PowerShell -ea 0)) ...


3

You can't do this using out of the box workflow actions. I don't know any 3rd party workflow actions set which works with SharePoint 2013 workflows and allows to copy documents. There are only custom actions for SharePoint 2010 workflows. For now you have three options: To break your head with Call HTTP web service workflow action. You can try to call ...


3

The article referenced by Diego above includes at the bottom a PowerShell script you can download. Change the variables at the top of the script from the dummy URLs and library names included in the script to your actual web URLs and libraries and hit go. The script copies the binary contents of the files as well as the metadata from one site to another. ...


3

The content migration framework should be able to migrate document library while keeping the created/modified info. Since you are looking for a tool, have you already tried to use the Content Deployment Wizard by Chris O'Brien? It should work without particolar problem for simple migration, but be aware that the migration framework has some limitations (for ...


3

Set the DocumentSet.Folder.Item.ProgId to "SharePoint.DocumentSet". Right now it will be empty. See this for more information: http://www.sharepointnadeem.com/2011/08/sharepoint-2010-document-sets.html UPDATE Here is the sample PowerShell code. I haven't however tested it: $web = Get-SPWeb http://yoursite $list = $web.Lists["YourList"] $docSetName = "...


3

If you are using SharePoint 2013 site. And creating a workflow using SharePoint Designer 2013 you will be prompted to select the platform type either 2010 or 2013. You can choose as per your requirement as Action which we need Set Field in Current Item is available in both the platforms. So here is step. Create a workflow for Item Creating Add an action ...


2

I think using PowerShell script with windows sheduler is very usefull way. UPD. Question was interesting to me and i solved it. $web = Get-SPWeb http://sharepoint $spFile = $web.GetFile("/Documents/folder/document.docx") $target = "\\networkshare\document.docx" [System.IO.File]::WriteAllBytes($target,$spFile.OpenBinary())


2

Add *.* to the source like this: xcopy "\\networkdrive\Files and Folders\*.*" "\\sharepoint\re\KC\System Report\" /Y This will copy the files in the directory instead of the directory


2

There hasn't been an API to access the clipboard via JavaScript code until a recent W3C draft has been created. Unfortunately this W3C draft hasn't been implemented yet into any modern Web browser, AFAIK. IIRC it is only in beta testing builds of Google Chrome and Mozilla Firefox. Only Internet Explorer offers an API accessible via JavaScript/ActiveX/...


2

This generally boils down to differences between Word's way of representing a document and HTML/CSS's approximations of such. One of the big areas they differ is indentation - SharePoint does its best to migrate the formatting but it doesn't always work. There are a couple things you can do about this: Use another tool to convert the document into HTML/...


2

If you're trying to get cell data from Excel (or any other table source) into a SharePoint list's Checkbox column in Datasheet view, the values in each source field must be delimited with the semicolon and hash characters (;#). Each cell's data must also have a leading and trailing semicolon/hash pair. This last bit is counter any other delimiting style I've ...


2

Use powershell to this task, it should do very well. Maybe this article will help you.


2

Well the simplest and easiest solution would be to go to Computer > Add Network Location and copy-paste the address of the List (address can be found in the List's Settings). Reapeat for the other list as well. Now you have two folder shortcuts pointing to the contents of each list, on your SP Server. From then on it's simple cut and paste from one folder ...


2

Theres some security issues here to consider as well. Say we had the option to insert (and hence upload) images using copy/paste, where would these pictures reside? The fine grained security model of SharePoint give administrators the possibility to delegate security related tasks, such as being responsible for uploading corporate approved images. In other ...


2

SharePoint Designer (SPD) could be utilized to import/export site pages across site collections. How to copy site page from one site collection to another open SharePoint (source) site via SPD and select the page you would like to export click the Export button in SPD and save the specified file open the exported file and find the element mso:...


2

In Central administration, you can set maximum file size limits. This will prevent users from uploading large files across the web application. You can also limit who has access to upload files to your library by managing permissions on the library so that only the appropriate individuals can add documents.


2

To avoid these errors, I created a new SharePoint document folder, and named it something similar. Then use the explorer view to copy over the files and folders then delete the original one and rename the new one to the same name as the original one.


1

you cannot paste the images into sharepoint pages directly, Images cannot be rendered as HTML so cannot be pasted. You have to upload the images into SharePoint then insert it on the pages /places you want. Or you can try 3rd party tool for this. http://www.kwizcom.com/sharepoint-add-ons/SharePoint-clipboard-manager/overview/ or http://www.telerik.com/...


1

have you tried to use workflow for this? Everytime you want a new folder you would start a workflow, enter a name of the project and then workflow steps would create main folder, subfolders and set permissions?


1

Here is a link to what you are looking for: Microsoft Support explanation of how you can use templates to copy and paste libraries. http://office.microsoft.com/en-us/sharepoint-server-help/copy-or-move-a-library-by-using-a-library-template-HA101814157.aspx "Copy or move a library within a site collection Do the following steps to copy or move a library ...


1

I managed to get around this problem by creating a VBA macro in the excel speardsheet to get rid of line breaks and replace them with "br" tags. Then when I pasted over the data the list accepted how I wanted it. I hope this helps others out, here's a link to what i used for the macro. It's number 3: http://www.ablebits.com/office-addins-blog/2013/12/03/...


1

Copy does just that, does a one for one copy from the source to the destination. After the copy succeeds, I'd make another SPServices call using UpdateListItems to blank out the fields you don't need populated.


1

Switching between SharePoint Online (Plan 1) with Yammer and Office 365 Enterprise E3 made no difference. Copied formatted text from Word 2013 was pasted in a new Enterprise Wiki page. Every formatting pasts correct with formatting information. Header 1 in Word is Header 1 in the Enterprise Wiki page, bold is bold, italic is italic and so on. Everything ...


1

so you are trying to remove the tags from input field you just pasted into, correct? if so, you can use the trigger onblur or onfocus event of the input field and use jQuery to return only the text between the tags. Like so, jQuery("#input").text(); $(document).ready(function(){ $("#yourinput").blur(function() { this.value = $(this).text(); });}...


1

You will not be able to copy a file directly from disk into SP2007. Starting from SP2010 and up there are WebDav extensions that allow you to open a document library as a file folder but IIRC they do not exist in MOSS. To copy a file, you will need to use web services (copy.asmx). See for example: http://oricode.wordpress.com/2008/07/03/upload-a-file-to-...


1

I'm afraid there are only 2 options how to move folders retaining custom metadata: windows explorer powershell Why is windows explorer solution not good enough?


1

What I would recommend doing in the BAT file is to first have some commands which map the SP locations. For example: net use x: "\\url.oldSP@port\DavWWWRoot\old\path\Library1" net use y: "\\url.newSP@port\DavWWWRoot\sites\path\Library1" Then finally robocopy x: y: /mir Also if those paths that you attempt to map to give you a head ache then use the "...



Only top voted, non community-wiki answers of a minimum length are eligible