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
25 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
22 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 ...
1
vote
2answers
908 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 ...
1
vote
2answers
828 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 ...
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
73 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 ...
3
votes
1answer
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 ...
2
votes
1answer
55 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
2k views

Problems adding webparts to a page in the correct order

I would think there's something supersimple I'm missing, but I can't find where I'm going wrong. I have a feature deploying a default.aspx page with two CQWP webparts. I use the AllUsersWebPart ...
1
vote
2answers
685 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 ...
2
votes
0answers
45 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 ...
2
votes
3answers
46 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 ...
0
votes
0answers
412 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 ...
0
votes
0answers
115 views

SkyDrive Pro sync folder

I'm running a 2013 environment with a specific document library that I want to sync to a file share. SkyDrive Pro does exactly what I need, minus one little (but crucial) detail. When you point the ...
0
votes
0answers
126 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
544 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
44 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 ...
1
vote
1answer
58 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
49 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
0answers
55 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
63 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
49 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, ...
0
votes
3answers
186 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 ...
1
vote
1answer
237 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
0answers
35 views

Error when opening non MS file format?

our SharePoint libraries accept all kinds of file formats and although we usually only upload MS formats (Word, Excel etc.) we have a situation now where some users have uploaded Xmind mind maps... ...
8
votes
3answers
10k 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 ...
0
votes
1answer
84 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 ...
2
votes
1answer
596 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 ...
0
votes
1answer
131 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
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
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 ...
0
votes
1answer
44 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
105 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 ...
1
vote
1answer
42 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 ...
1
vote
2answers
54 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 ...
0
votes
1answer
120 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
296 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
1answer
80 views

How to add XML file with event reciver

I am creating a event reciver for the list, for that i need to get some data from XML file. currently i have placed the xml file in my local system. Actually where do i need to add the xml file. Is ...
0
votes
1answer
294 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
350 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
309 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
95 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.
1
vote
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
1answer
401 views

Can't download document from library

We have document library which contains about 2,5k SCORM packages (about 100GB total) for teachers. This files are relatively big and in *.zip format, so we decided to enable RBS on content databse ...
1
vote
2answers
490 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
1answer
4k views

Error when deploying module with GhostableInLibrary files

Here is the module which I want to deploy on the server and the files which should be shown in the Style Library, when deploying them without type ghostale in library, all go good and well, no errors, ...
1
vote
0answers
168 views

“File not found” when attaching file to list item

I'm trying to write a section of code that lets users attach files to list items. The goal is to allow any user to be on the SP site and upload any "legal" file from their machine or shared drives to ...
1
vote
1answer
254 views

SharePoint file gets stored in external filesystem: manually update file location?

Suppose I have a Sharepoint Document Library that's read-only. I'm planning on writing a custom solution that will enable users to copy a file to remote file storage. How do I change the file to refer ...
1
vote
2answers
850 views

SharePoint 2010: Saving file to local folder: Access Denied

in SharePoint 2010, I created a DLL that I deploy to the GAC. From this assembly, I try to save a file then access the file I just saved in a temporary location, such as C:\temp. Everytime I try to do ...
2
votes
1answer
118 views

How to handle Multiple ACL on List Item without performance starve

I'm facing a problem with some items in my List. I want to have an Huge document Library (thousands of files in folders + GB of files) and I want to have different permissions on the files. I want ...