12
votes
How can you move a document with its version history to a new library?
The Content and Structure worked fine for me. Moving individual documents from one library to another captures all versions. Assuming, of course, versioning is configured the same on both libraries. ...
9
votes
Accepted
sharepoint rest api, serverRelativeUrl, extended properties on all files
You probably want this query: /_api/web/getfolderbyserverrelativeurl('<url>')/Files?$expand=ListItemAllFields
It will return files properties along with associated list item properties.
8
votes
SP2010: Use Workflow to move library item into folder
I know this is an old thread, but after spending a good while looking about I found an OOTB SharePoint Designer 2010 solution for this problem.
To move a document to a different folder
create an ...
8
votes
Accepted
Is it possible to wait until my file is uploaded in document library?
As far as I understand your question, i think there is problem when your are uploading file through a mapped drive. If you copy & paste a file over windows explorer (WebDAV) to the Library the ...
8
votes
Accepted
Opening a document in a SharePoint 2013 document library in a new tab (using code)
A little JavaScript employing jQuery does the job just perfectly.
$(document).ready(
function ()
{
// has to be on an interval for grouped doc libraries
// where the actual links are ...
7
votes
Accepted
Allow commenting on a document but not editing
You could require content approval and turn on track changes. (In Word 2013, you can require a password to turn off track changes.) Then the person who has to approve the document can accept or reject ...
7
votes
Custom Document Preview on anchor tag hover
Sharepoint 2013 introduced the Callout framework similar to the Dialog framework they introduced in Sharepoint 2010. The good news is the callout framework can be extended and customized as you need.
...
6
votes
Difference b/w Read and View Only
If John has “Read” permission level to a document named sales.docx, John is able to search and find this document and view it either in Office Web App on the server (in the browser), or in Office ...
6
votes
How can you move a document with its version history to a new library?
For future reference: there's a legacy API used by SharePoint Designer, called FrontPage RPC, and there's a bunch of methods, including move document that accepts a put_option parameter with ...
6
votes
How can you move a document with its version history to a new library?
I always employ the drag and drop method suggested by Tom. Easiest enough for my end users to do themselves and I still have the version history.
6
votes
Document Level Permission
You have to break permission inheritance on each document that you want to protect. Go to the document library, select the options menu (...) and the additional options (...) and select Advanced > ...
6
votes
Remove download option for document library
If you want to disable the download-option for your users, they should have View Only permission level. Permission levels Read and any greater include the permission for downloading a file.
View Only ...
6
votes
Accepted
Copy files from one site collection to another - CSOM
public void CopyDocuments(string srcUrl, string destUrl, string destLibrary)
{
ClientContext srcContext = new ClientContext(srcUrl);
ClientContext destContext = new ...
5
votes
How can you move a document with its version history to a new library?
Our method was uploading the infopath form to the destination libary and deselecting "Enable this form to be filled out by using a browser". This way the content types in the from library matched the ...
5
votes
How can you move a document with its version history to a new library?
There's a new solution in Office 365.
You can now select a file or group of files in the modern experience in OneDrive or SharePoint and select Move to. A file or group of files moved this way will ...
5
votes
Accepted
Best way to migrate Document Library files to file system
Their are couple of ways to download the documents from SharePoint Document library.
Using the Explorer view, you can drag and drop the documents to local directory.
UNC mapping to the SharePoint ...
5
votes
Duplication of documents in library
Both your documents don't have the same icon. I suspect they don't have the same format: one may be .doc, and the other .docx.
Maybe you uploaded a .doc, and Word Online saved it back as .docx. Hence ...
5
votes
Is there a way to route a record/policy to all employees to sign
You can create a library on root site which contains all the Policy documents. Than after you need to create a webpart to show policies to users like below.
On the acceptance of any document, You ...
5
votes
Accepted
What type of files/documents we can edit in SharePoint standard 2013?
It depends where you want to Open & edit documents, in the browser using the Office Online server or you want to edit them on the local machine.
Office Online Server is not configured by default, ...
5
votes
Why can't I add a Document Content Type to my custom list
Document Content Types can not be added to custom lists.
Documents and Folders both can have Item-Level permissions within Document Libraries.
In SharePoint 2013, item-level permissions are managed ...
5
votes
Accepted
Remove download option for document library
You can set "Download to Offline clients" as No at your library level settings.
Go to Library Settings --> Advanced settings --> select NO To download
Refer my answer in similar thread
5
votes
Remove download option for document library
Information Rights Management is the only way to protect the documents and don't allow user save the document in his/her system. You need to setup IRM on your network and the enable it in Central ...
5
votes
Is it possible to set the version number of SharePoint document?
No, it's not possible to set the document version number manually in all SharePoint versions,
As a workaround solution
In case the current document version number in the test site is higher than ...
5
votes
Accepted
Document not displaying latest changes in Sharepoint library
I've seen this happen quite often.
I don't know if you are aware, or tried this already, but Office caches documents in the 'Upload Center'.
As soon as you open a document, it will store a copy in ...
4
votes
How can you move a document with its version history to a new library?
//To move file from source library to destination through Event handler
SPFile sourceFile = properties.ListItem.File;
SPFile destFile = null;
SPUser userCreatedBy = sourceFile.Author;
DateTime ...
4
votes
Accepted
Hyperlink to create a new document.
This was not as easy as i first expected but here is my solution:
This block opens the new document with the designated libray as default savelocation:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 ...
4
votes
Accepted
Is there any way to merge documents together?
SharePoint has the Word Automation Services that can do this with custom code. There is a good example of how to use the services in this MSDN Magazine article: http://msdn.microsoft.com/en-us/...
4
votes
Open docx file in Word (client) from hosted app (SP 2013)
<script type="text/javascript" language="javascript">
window.location.href = "ms-word:ofe|u|https://website.sharepoint.com/sites/sitename/Shared%20Documents/1.docx";
</script>
Try this.
4
votes
Accepted
Moving Document set from a Documet library to another with Document-ID
You can move document sets either by using "Manage Content and Structure". Make sure use "Move To" actions in that, don't use copy, it will move document sets to another library without changing its ...
4
votes
Difference Between Content Approval and Document Approval Workflow?
The Document Approval workflow routes a document to a group of people for approval. The approval stage can be serial or parallel meaning approvers can do review in serial order (one at a time) or in a ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
document × 685document-library × 232
library × 83
sharepoint-online × 80
2013 × 72
2010 × 53
permissions × 40
workflow × 38
sharepoint-enterprise × 30
list × 29
word × 29
document-set × 25
2007 × 22
file-upload × 22
development × 21
search × 21
hyperlink × 20
sharepoint-server × 19
content-type × 19
folder × 18
web-part × 16
versioning × 16
powershell × 15
javascript × 14
metadata × 14