Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [document]

In the context of SharePoint a document refers to a computer file, usually stored in a SharePoint library.

117
votes
15answers
96k views

How can you move a document with its version history to a new library?

Here's the scenario: 2 document libraries Both contain multiple documents The documents have multiple versions When I copy a document from library A to Library B using the Content and Structure tool ...
35
votes
4answers
107k views

How do I check in a LOT of files all at once?

I put a lot of documentation on our SharePoint site, and it all lists as being Checked Out To me. How do I check all of those files in, in one shot?
20
votes
5answers
20k views

How to restrict a document library to a specific file type (extension)?

I have a SharePoint intranet site where I need to allow users to upload certain documents. These documents need to be only PDF files for example. What is the simplest way to restrict the document ...
13
votes
9answers
46k views

How can I move a document from one directory to another?

How can I move a document into a sub-folder and still maintain its version history from the old location in the new location?
10
votes
4answers
8k views

Deleting Old Versions in a Document Library

I have a Very Large List (~5000 documents) which has been chugging along for about a year. It has had versioning turned on, with major versions, keeping 2 old versions. We're totally restructuring ...
10
votes
4answers
2k views

Cannot upload to a permissions-enabled document library even with RunWithElevatedPrivileges

In our WSS 3.0 application, we have a document library that has an elevated folder called "Approved". It has different permissions from the rest of the Document Library in order to prevent people from ...
8
votes
6answers
35k views

What is slowing the opening of Office documents?

When opening an Office document the splashscreen gets stuck for about 30 seconds with the message "Contacting the server for information". How can I get more information about which information it is ...
8
votes
3answers
1k views

Duplication of documents in library

We are implementing SharePoint Online (Office 365). We are finding that changes made to a document (open in Word Online) save as a new document by the same name rather than updating the existing ...
8
votes
2answers
1k views

SharePoint Document Library version restore not behaving as expected

I have some code which I am attempting to use to "rollback" a SharePoint document and it's metadata properties to a previous version using ootb version control and the SharePoint API. Here is a ...
7
votes
1answer
3k views

SharePoint 2010 Document ID Link Opens to Search Page [duplicate]

Possible Duplicate: DocIdRedir.aspx sometimes redirects to search results instead of document preview I have set up my document libraries (2 of them) to utilize the DocID attribute. I have then ...
7
votes
2answers
3k views

Unable to convert the document to pdf using word automation service

I have created custom action in which the document is converted to .pdf file. To do so, I am using Word Automation Services to convert document from .docx to .pdf. My code is as per below. using (...
6
votes
5answers
29k views

Difference b/w Read and View Only

I have a requirement to setup a permission level, where user can only see the document and see the associated metadata columns but cannot download or open the document. We have a permission level "...
6
votes
2answers
110 views

Document Library - show a list of different one

I need you advise regarding Document Library in SharePoint 2013. Setting up a Doc Library is straight forward but here is where I am stuck: I have 2 departments IT and HR. Each of the department have ...
6
votes
3answers
12k views

“Document could not be checked out” permission problem?

I am facing problem with document check out in a SharePoint document library. This is the message I am getting: alt text http://img11.imageshack.us/img11/1575/libraryerror.jpg I'm using the out of ...
6
votes
3answers
4k views

I can no longer live edit a Word document, it just downloads a copy?

I'm a SharePoint designer and I work in SharePoint Server 2013. I work in a test environment, I do not have OWA configured (but it will be on the production environment). I uploaded a document to a ...
6
votes
2answers
3k views

How can I tell if a document is 'being published'?

I need to use the relevant event receiver to tell if a document is being published, is this possible? I will settle for has 'just been published' - i.e. I have no preference between itemupdating and ...
6
votes
2answers
519 views

Identifying duplicate documents

The search results webpart has a boolean property which can be used to configure whether "duplicate" results should be returned. Looking at documents, when is a document A considered to be a ...
6
votes
2answers
87 views

make a document visible but not readable

I have a SharePoint library that uses major and minor versions and has draft item security turned on so that Drafts are only visible to those with the Edit permission level. What I want to do is ...
6
votes
0answers
508 views

SharePoint 2010 DocId for Non-Office Documents redirects to DispForm.aspx instead of Document [closed]

Right now we have a site collection with Document ID service enabled. In a document library, we add a PDF or BMP files. Initially, the DocID column in the view links directly to the file. A few ...
5
votes
3answers
10k views

Where are uploaded files stored?

Very naive question here: when you upload to SharePoint, are the files stored in the file system or in SQL Server?
5
votes
2answers
949 views

Why can't I add a Document Content Type to my custom list

I am working on a SharePoint Enterprise Server 2013, and I have created a custom list. Then I try modifying the default content type for the custom list, so I try adding the built-in Document content ...
5
votes
2answers
198 views

How do You Navigate Back to Search Results from an Open Document?

Problem: User searches for documents in a Document Library and gets a list of search results back. User opens a document, which opens in the browser, not in the client app. After viewing the document,...
5
votes
2answers
3k views

Restrict Folder Creation on a Document Library

We have SharePoint Owners group who will need to create folders on a particular document library and SharePoint Members group who should not be allowed to create folders. Is there a way to accomplish ...
5
votes
4answers
8k views

Best way to migrate Document Library files to file system

We are looking to migrate all of the files in a SharePoint Site Collection to the local file system. This site collection has multiple sub sites and document libraries, which we would want to migrate ...
5
votes
2answers
3k views

Open docx file in Word (client) from hosted app (SP 2013)

I have a client hosted app (written in Javascript) which includes links to documents in a document library on the tenant. If I point the url's straight to the documents, they simply download. What I ...
5
votes
5answers
941 views

Is there a way to refire a retention policy after a document has been updated.

Scenario: Retention policy set on "Expiry Date" column. Starts a workflow that notifies a user. User updates the document (and expiry date) Retention policy no longer fires when the new expiry date ...
5
votes
2answers
6k views

This document is locked for editing by another user

I am using sharepoint 2010 for my company. The endusers are working on there desktop which is OS "Windows 7". The browser version is IE8. The office tools like Word, Excel, PowerPoint are version "...
5
votes
2answers
2k views

Stop page refreshing when closing documents in SharePoint 2010

We had previously used the following to stop the page refreshing when closing a document. This works fine in Sharepoint 2007 but doesn't work in 2010. Does anyone know the SP 2010 equivalent ...
5
votes
1answer
2k views

Extract text from document in a SharePoint 2013 library

I would like to extract the text from documents stored in a SharePoint 2013 online Document Library. I have the document loaded using: ClientResult<Stream> data = file.OpenBinaryStream(); ...
5
votes
4answers
14k views

Users unable to edit document properties

I have a document library on SP 2010 in which all users, including myself as the admin/owner, are unable to update properties of certain documents. Documents were moved to this folder from another ...
4
votes
3answers
14k views

Remove download option for document library

I have a requirement for my document library. I want to hide or disable the download option for all users. They should only be able to view the documents.
4
votes
4answers
719 views

Simple SQL Query Problem

When performing a FullTextSQLQuery against my SharePoint site's document library and retrieving field 'Path', I occasionally get the likes of "Forms/DispForm.aspx?ID=45" returned at the end of a ...
4
votes
3answers
17k views

SP2010: Use Workflow to move library item into folder

I need my workflow to move library documents into a folder in the same document library. I can copy items, then delete the original item. I'm not seeing how to specify a folder or sub-folder, just the ...
4
votes
2answers
8k views

How can I upload a file to a SharePoint Document Library using Silverlight and client web-services?

I'm using C# in Visual Studio with a Silverlight app. I want to upload a file to a document library, but none of the web-services here http://msdn.microsoft.com/en-us/library/ms479390.aspx seem to ...
4
votes
2answers
520 views

Custom Document Preview on anchor tag hover

We have listed custom document links in our custom page. Our users want document preview, just like search document preview, on our custom link when hovering a tag. How can this be done?
4
votes
2answers
2k views

How to document an entire sharepoint site?

I have been given the task of documenting my MOSS 2007 site. What is the best way to go about documenting an entire sharepoint site?
4
votes
1answer
67 views

AE and Æ in document names

We've got a small problem with file names in SP 2013. It's probably some SQL collation thing, but would like to hear if there's a way to solve it. Example: We have a document with the name TestAE....
4
votes
3answers
474 views

Can't open document in library with ''é'', ''à'' and other character with accent SharePoint 2016

I just finished the installation of SharePoint 2016 using AutoSPInstaller. Everything works fine except when I want to open any document in a document library which contains the character ''é'', ''à'' ...
4
votes
1answer
895 views

Do doc hyperlinks not work in the Word WebApp in Chrome?

I have been adding Word documents to my document library in SharePoint and I only recently became aware that hyperlinks don't seem to work when I preview documents in the Word WebApp using Chrome. Is ...
4
votes
1answer
3k views

Programmatically create a new document based on a content type template

As in the title, I need to programmatically create a new document based on a content type template. Does anyone know the best way to do this? Normally, to add files you use Web.Files.Add(), but all ...
4
votes
3answers
7k views

Automatically fill in metadata on new document created from template

I have a custom button on my application page to open a new document from a document template, like you would do directly on a list. The code is similar to: <a href="http://Site/test/documents" ...
4
votes
6answers
31k views

File name “not valid or too long” when copying a file?

I have a document library which contains some Word documents that I'm trying to copy down to my local disk. I've opened the document library using Windows Explorer, and am dragging the individual ...
4
votes
1answer
1k views

SP2010 possible to create a text file in document library and fill with data from list using JSOM JavaScript/jquery

Is it possible to create a new item in a library and default that to a txt file or XML and using JavaScript or jquery insert data from a list into that file? For example from a page click a button ...
4
votes
1answer
369 views

Create and Edit non-Office documents in SharePoint 2010

This is something I've been looking into for a while. We use sharepoint here as well as our own bespoke bit of software that lets you create and edit our own type of documents. I've written a COM ...
4
votes
2answers
9k views

How to disable Adobe Reader message asking you to Check Out & Open the file?

When i open a PDF file from Sharepoint page, an Adobe Reader message pops up that reads - Tip: WHen finished with the file, you can check it in using the "Sharepoint Server" option in the FIle Menu. ...
4
votes
2answers
1k views

Opening a document in read-only mode using an external control

I have a .Net application that (amongst other things) provides a front end to a sharepoint document library. Users are able to open documents, and I use the Open Documents Control to do so (http://...
4
votes
2answers
2k views

SharePoint 2007 - Remind user of check-out documents

May I know if it is possible to remind user who have check-out a document for a period of time, to check in their document? (I notice that sometime user do forget to check-in their documents, so was ...
4
votes
4answers
3k views

SharePoint search only works for domain admins

I've been running into a problem where most accounts can't search my SharePoint main site through the search bar at the top-right of my page. I have a document library that they need to be able to ...
3
votes
1answer
7k views

sharepoint rest api, serverRelativeUrl, extended properties on all files

Is there a way to write the service call in example A to get the file properties in example B? Currently the folder isn't a named list. If it were would that help? This question is similar to: Is it ...
3
votes
2answers
1k views

Allow commenting on a document but not editing

Is there a way to allow specific users to add comments to documents without allowing them to make changes to the document content? I am creating a SharePoint Document Library with a bunch of SOPs and ...