A computer file is a digital resource for storing information, which is available to a computer program and is usually based on some kind of durable storage.

learn more… | top users | synonyms

0
votes
1answer
20 views

FileShare Sync SharePoint Foundation 2013

we have SP 2013 foundation it uses Forms authentication. We have a file server on the same internal network and I want to sync files between this server and our SP 2013 server. real time if we can or ...
2
votes
0answers
22 views

Get file content, rename that file and after that getting the content again fails

I have one interesting problem, but I don't know why this happend. Generally I: 1) try get content from file (succesful result) 2) then I rename file in sharepoint (succesful result) 3) try get ...
1
vote
3answers
71 views

How to I programmatically move documents from file system to SharePoint Library

We have a file system, with about 12 folder and 1300 documents in it. The top level has 3 folders, with 3 sub folders each. I am planning to create 3 libraries, with 3 folders in each, and transfer ...
0
votes
0answers
47 views

2013: load custom “clienttemplates.js” file

Requirement: I want to replace the file clienttemplates.js found in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS with a custom version. I couldn't find the ...
0
votes
0answers
51 views

Cannot invoke HTTP DAV request. There is a pending query during OpenBinaryDirect

I've to move some items from one document library to an other one in a different site. I use object client model to do this My issue is having an exception while i'm trying to open the file and here ...
0
votes
0answers
31 views

“Version conflict.” error while file update in CSOM Sharepoint 2010

I update my file using below code. But it shows "Version Conflict." error on ExecuteQuery. I searched for this issue by not able to find out the exact solution. Please help me out. Thanks ...
0
votes
0answers
17 views

Hide New Document for custom templates

So we are new to SharePoint. We signed up for o365 E3 w/SharePoint Online. In designing our site we ran into an problem with document libraries that ms support has pretty much told us there isn't an ...
0
votes
0answers
13 views

get word property

Hy, I've a document library where we load word document with custom properties. Are there a way in client script to have their values? I need the properties inside the word document updloaded and not ...
1
vote
0answers
45 views

Sharepoint 2013 REST API with user without admin rights

I'm developing a web application which integrate with the sharepoint (multi-tenant). The app is supposed to upload and download files to the sharepoint. I'm using the Sharepoint 2013 REST and trying ...
1
vote
1answer
181 views

Manage File permissions using REST API

Is there a way to manage File permissions (roles) using the REST API? http://msdn.microsoft.com/en-us/library/office/jj860569(v=office.15).aspx I'm developing an app asking for permission on the fly: ...
0
votes
1answer
52 views

How to get excel file from sharepoint library and write to it programmatically

we would like to read an Excel template stored in a SharePoint 2010 library create a new Excel file from it fill the new Excel file with data programmatically we tried already Excel Services but ...
0
votes
3answers
42 views

Best Backup Solution for SharePoint 2013 Possibly with DPM

We are planning to move our file share to SharePoint. Currently we use DPM to backup the file server, but I know the content of SharePoint is found in content databases. So my question is what is the ...
0
votes
1answer
45 views

Sharepoint automatically checking out document to user when opened

I'd like to start by saying I have very little sharepoint knowledge, I'm just helping out a friend ... Basically, we have 2 users, one of which is the owner of a file on a sharepoint site (first ...
0
votes
0answers
14 views

SP 2013 - WebApp is unstable with Office files, cannot open them

I have one SP2013 server, and several web applications, let's say webapp1, webapp2. On the first one, everything's ok. I'm able to open office files, edit them etc. But on the second one, some day, ...
1
vote
0answers
107 views

Copy file to another folder with REST API

I'm trying to copy a file located in user's personal folder (OneDrive Pro) using REST API. The resulting link seems to become too long and server returns 400 BadRequest: The length of the URL for ...
0
votes
0answers
29 views

Video files are crawled but cannot identify what file type it has

On my development server and production server, I am able to crawl video files. But in the production environment the file type is not identified. In the development server when i edit the result ...
0
votes
1answer
51 views

Check if a user can read a specified File

I'm working with SharePoint Client API 2010 for a .Net application. I want to check if the current user (or a specified user) can read a specified File? This user could also be in a SP Group or in a ...
0
votes
1answer
37 views

Find Names that SharePoint doesn't allow before copying to Sharepoint

Is there a way using Windows Explorer to find Names that SharePoint doesn't allow? I have a user I need to move a large number of files from a users Windows Document folder to SharePoint. If there ...
1
vote
1answer
39 views

Sharepoint 2013 App Restrict File extension

I am using an App on my site that is kind of a list and allow you to select a file. Is there a way to restrict the file extension that the user can select? Can I do a receiver(event handler) to ...
0
votes
0answers
42 views

Open a sharepoint document from list item

I have created a list with SharePoint. In this list, i have a column named "Link" which contains a link to a document from my SharePoint library. I want to open this document in edit mode, but now ...
1
vote
1answer
79 views

Upload file using JS and REST. Specify content type

I can upload file to SharePoint library using JS and REST. The content type of added file is as library default content type. How can i specify file content type when uploading file? Thanks!
2
votes
1answer
58 views

SharePoint removing last byte from uploaded file

I'm facing a very bizzare error in SharePoint. Basically, when I upload a file to SharePoint using a custom form and a normal attachments field control: <SharePoint:AttachmentsField runat="server" ...
0
votes
0answers
71 views

Can't use all SPFileCollection.Add methods with sand boxed solution?

I'm copying items based on a queue (custom list) and an event receiver which looks at when items are added to that queue, but the method I need to use SPFileCollection.Add(String, Stream) is ...
0
votes
0answers
1k views

Read excel file from sharepoint document library in office 365 programmatically

I have one excel file uploaded in document library of office 365 site.I want to read this excel file using c# as we read in farm solution using following code. using (SPSite site = new ...
1
vote
1answer
143 views

Deploy file to image library with visual studio solution

developing a visual Studio solution having an own picture library called Slides. With the deployment the new picture library should contain some default files. Is this possible and how to achieve ...
0
votes
0answers
19 views

Limit filetype for one Document Library in a site? [duplicate]

I have a document library in our main site that I'd like to restrict to PDF's only. I know I can block filetypes for an entire site, but is there a way I can limit a particular library to only accept ...
3
votes
1answer
779 views

Cannot delete file: “checked out to -1;#”

I am trying to delete a couple of files from a document library, but SharePoint 2013 tells us that "the file is currently checked out or locked for editing by another user". However, when attempting ...
2
votes
1answer
108 views

Add file without checking in

I have a question. How can I add a file without checking it in directly? I add file like this: Library.RootFolder.Files.Add(fileName, buffer, overwrite); But when I do that I suppose the file is ...
2
votes
3answers
79 views

Two different documents with same name become one

If two users have two different documents but same name, when the second user saves his file in same document library, it overwrites the first user's document and the document gets new version. Is ...
2
votes
0answers
65 views

SharePoint modifes and corrupts uploaded files

When I uploaded a file to SharePoint it gets modified, which is apparently intended for office files according to this Blog. This only happens to .dwt files which also seem to be the extension for ...
0
votes
0answers
190 views

programatically create “create new file” call out for a link

I've a link on my home page. when I click on it I've to open "Create New File" callout of user skydrive "Documents" library. I found there is a OOTB function "CreateNewDocumentCallout" function ...
2
votes
3answers
2k views

Get file names in sharepoint 2013 document library

What is the best way to get a list of all the file names in a sharepoint document library with javascript?
1
vote
1answer
79 views

Create File in sharepoint mapped directory

I am creating a farm solution, I want to create zip file from 2 or more files taken from sharepoint library. I want to temporarily save these files in my mapped folder ("Layout/MyFolder"). and allow ...
0
votes
0answers
1k views

Sharepoint 2013 deploying files using a module to subsites

I wanted to deploy files to lists already created. This works but only for the top level site. I used the following elements.xml **<?xml version="1.0" encoding="utf-8"?> <Elements ...
1
vote
1answer
98 views

Document locked by SharePoint

I am trying to read values from document after that the file was edited in Office Web Apps. Problem is, that this document is locked by Sharepoint (SPFile.LockType - Shared). I tried to Check Out and ...
0
votes
1answer
85 views

redirecting when document is closed

I have Excel file eg. template.xlsx in library eg. localhost/Documents/. I made webpart, which creates copy of this file and display this copy (in Office WebApps) to user through hyperlink eg. ...
0
votes
2answers
120 views

What's the difference between “New Document” and “Upload Document”?

I have a library. In the Files tab in the ribbon bar, there are these two buttons, "New Document" and "Upload Document". Both have exactly the same behavior: opening a modal dialog where I can upload ...
2
votes
0answers
63 views

Cross Browser Local File Viewer in Content Editor Web Part

Is there a way to use the content editor web part (in SharePoint 2010 standard edition) to view files on a network (given an absolute path using and iframe) that will work in IE, FireFox, Chrome, ...
1
vote
1answer
277 views

Upload file in sharepoint document library using ECMA script

I Want to upload a file in document library using Client object model with ECMA script Any help will be appreciated
0
votes
1answer
342 views

Add file to document library

I have a default team site and want to create a new text file in it's document library programmatically. SPList srcList = srcWeb.Lists["Documents"] Returns a valid list. I can loop the listItems ...
0
votes
1answer
164 views

How to detect a new file in a shared folder?

I'm looking for a way to programmatically detect the arrival of a file in a shared folder. So far, the best I have is some kind of Windows service that contains a FileSystemWatcher; that service, in ...
0
votes
2answers
2k views

Crawl file server to add files to search result

I'm trying to add some directories from my file server to be included in the search centre in sharepoint 2013. I have added a new content source to be crawled and stated it is a file server. I filled ...
0
votes
1answer
51 views

Ghostable via Object Model

Is it possible to set a file as Ghostable/GhostableInLibrary via the Server Object Model? I don't see any properties on SPFile that seem to fit the bill. I know you can do this via an XML module, but ...
0
votes
1answer
302 views

How to create custom site column with type File

Reading MSDN documentation I see that we can define a type File for custom columns. When I define the site column in Elements.xml using element and type file, the column does not get rendered. THe ...
2
votes
1answer
51 views

To acces file from Linux server

We have a Scheduled report that generating from Business Object that is hosted in Linux Server.We required to show this report in share point site.Is there any built in webpart for this. How can we ...
0
votes
2answers
3k views

SharePoint 2010: Unable to open .mht files in browser. Prompts to save .mht to disk

I have a SharePoint 2010 environment where I am unable to open .mht files in my browser. Every time reference the .mht file using a page viewer web part or a content editor web part (with iframe) I am ...
1
vote
2answers
66 views

SharePoint as a File Manager

I'm a business user and trying to find out if Sharepoint is the right tool to manage our files. Our files consists of excel spreadsheets and Word documents. They include policies, procedures, and ...
8
votes
3answers
16k views

How to get a file using SharePoint Client Object Model with only an absolute url at hand?

We have a database with absolute (full) links to SharePoint files. If a user wants to download or get checkoutstatus information about the file, our program needs lookup that information in ...
1
vote
2answers
1k views

Content type ID on a file different from actual content type ID?

Moving from "a sharepoint user" to "a sharepoint power user", I now am facing the world of Powershell and more. One thing that really puzzles me is the following. Ok, so I have a document library ...
1
vote
2answers
988 views

Search Scope returning aspx pages

I have 40 document libraries. I dont want to add exclusion for each document library to exclude "http://pop.abc.com/sc/doclib1/Forms". I tried adding fileextension = aspx exclude and that does not ...