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
0answers
8 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
32 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
18 views

Video files are not crawled

On my development server, I am able to crawl video files. But in the production environment video files are not crawled. I have two result source: Everything and Video. In the Video result source, I ...
0
votes
1answer
33 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
31 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
32 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
31 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
50 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
47 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
37 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
499 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
0answers
57 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
291 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
82 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
59 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
55 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
163 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
1k 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
62 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
702 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
74 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
0answers
73 views

Printing Files from Web Part Using HTTP Handler to Default Printer

I created a web part that is basically a document management system for temporary purposes. I need to be able to have a user click on a document he or she wishes to be printed, and have it print. On ...
0
votes
1answer
65 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
1answer
89 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
58 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
254 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
219 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
118 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
1k 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
50 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
190 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
50 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
2k 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
60 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
13k 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
938 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
856 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 ...
0
votes
1answer
131 views

SharePoint sharing files on local existing file systems

Hi I want to share quite large-sized files on SharePoint but the quota space is too limited. I was wondering is there any method or free 3rd party tools that allows the mapping of files in Shared ...
1
vote
1answer
352 views

What is the reason to have a minimum default value for the “executionTimeout” attribute?

If SharePoint Upload time limit can be increased as we wish, why the default is not set to be Max? What is the reason to have a minimum default value for the attribute "executionTimeout"? ...
1
vote
2answers
1k views

File not found on _layouts/user.aspx? Any ideas why?

Does anyone have any idea what file may be missing? //log System.IO.FileNotFoundException: Unable to find the specified file. at ...
0
votes
1answer
306 views

How to change file in sharepoint library?

I have sharepoint documents library and I have wcf service from where i should download new version of document file on button click. So i got next method: public void UpdateFile(SPListItem ...
1
vote
1answer
364 views

Uploading multiple files with metadata in SharePoint 2013

Is it possible to upload multiple files with metadata in the document library in SharePoint 2013?
2
votes
1answer
873 views

How to find which user last visited a site or recently downloaded a file available on SharePoint?

Is there a way to find who visited the site at last and who downloaded file recently in SharePoint? Also can we log who are the users that used/accessed the file? Can anyone provide some guidance on ...
2
votes
1answer
340 views

Uploading '.xlsx' or '.docx' to SharePoint 2007 from ASP.NET app causing file 'corruption'

I have an ASP.NET application wrapped in SharePoint 2007 website. Within this application I allow users to create requests and they can also upload supporting files for the request. When a user ...
2
votes
2answers
98 views

File size limit for a document in SharePoint is actual file size or file size on disk

The file size upload limit for a document is 50mb by default but is it file size of the document or file size of document on disk.
0
votes
3answers
196 views

Deploying to style library / site pages from a web application scoped feature

I am writing a web application-scoped feature which will provision a site collection and a small number of sites. The problem is that I have my own style files (.js, .css, images) and even some ...
2
votes
2answers
5k views

SP 2013 Log Viewer?

does anybody know if there is already a log viewer tool available that can completely read SharePoint 2013 log files? As far as i know the 2010 log viewer tools can't parse the log files of 2013 and i ...
1
vote
2answers
533 views

Issue in versioning and metadata with recent Office Files

I have a web service that shows a sort of CRUD of document (with metadata) for other application.. I have some document libraries in which users can upload (via WS) documents with metadatas. For ...
4
votes
2answers
2k views

Copy file using javascript client object model - new version

I have a solution that adds a custom button to the ribbon in SharePoint 2010 and am using the javascript client object model behind the scenes to copy a file from Library A to Library B when the ...