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.
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.
...
7
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 ...
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 ...
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
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
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
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
Why can't I add a Document Content Type to my custom list
You cannot add a document content type to a list, that is breaking the basic foundation of how SharePoint works, things are either a list item, or a file.
To achieve what you want (list based item ...
4
votes
Accepted
Update Document Properties using C# - SharePoint Online
Try Following code
foreach (var file in dropOffLibrary.RootFolder.Files)
{
context.Load(file, f => f.ListItemAllFields);
context....
4
votes
Accepted
Document Library - show a list of different one
As per your requirement you have to use Content Query WebPart. Its easy to implement as you are new to SharePoint.
You can find more detail regarding using Content Query WebPart to show data from ...
4
votes
Accepted
Can I move documents out of Folder?
You can open this library in explorer mode (works on in IE) ==> Then cut the files from the PDF_Files folder and paste it one level up , just like in normal windows folder.
4
votes
How to override a checked out document - Sharepoint Online
If you are a site admin/ sca you should be able to override the checkout. Select the item/file drop down and click Override checkout. Usually if a file is locked by a user, the lock is release after 5 ...
3
votes
Does sharepoint push the document changes?
You need to implement Event Handler on the document library. In the event handler, that fires when document is added/modified, you an do whatever required in order to push these changes outside ...
3
votes
Can I create a duplicate of a file in a second document library which is synchronized with the original?
Assuming permissions in the two subsites are identical ie. Inheriting from the patent site collection, simply use the "Link to Document" content type in both libraries. That way, no matter which ...
3
votes
Accepted
Document Library - Two documents with similar content
Unfortunately, there's no way to do so using the browser only. You can do it through code, but in browser, "save as" new document, will preserve metadata as well.
3
votes
Document Library - Two documents with similar content
The reason behind that is, that SharePoint-Metadata is also saved in the Document-properties itself (for MS-Office-file-types). This is not the case for any other types (eg. .pdf)
3
votes
SharePoint 2013 shared with "lots of people"
Based on your diagram it looks like you are inheriting permissions from the top level site. If you build out a sub site in a site collection one of the options on creation is whether or not you want ...
3
votes
Allow commenting on a document but not editing
You could make a separate list (i'd use a discussion board) that ties to the document library through a lookup column to allow users to make comments/questions on a specific document. This separates ...
3
votes
Accepted
Do doc hyperlinks not work in the Word WebApp in Chrome?
The answer I have found is that Chrome prevents hyperlinks from working in the Word web app unless you have the IETab extension installed in Chrome (and you are using it).
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
document × 698document-library × 242
sharepoint-online × 93
library × 83
2013 × 72
2010 × 53
permissions × 42
workflow × 38
sharepoint-enterprise × 30
list × 29
word × 28
document-set × 26
2007 × 22
file-upload × 22
development × 21
search × 21
folder × 20
content-type × 19
hyperlink × 19
sharepoint-server × 18
web-part × 16
versioning × 16
powershell × 15
file × 15
javascript × 14