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

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 ...
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, ...
4
votes
1answer
606 views

Schedule the copy of a document to a network location

I'm looking to copy a document to a network location on a scheduled basis. Anyone have a best practice on how to do that? I thought I could write a work flow, but since I want to copy to a ...
3
votes
2answers
6k views

Special Characters in sharepoint 2010 file/folder name?

What special characters are allowed and not allowed in sharepoint file/folder names?
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
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 ...
2
votes
3answers
536 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?
2
votes
1answer
117 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 ...
2
votes
1answer
226 views

Where did a downloaded file from SharePoint come from? (it's SharePoint path)

Where did a downloaded file from SharePoint come from? When a user clicks a link in SharePoint to open a file which has registered extension to start a program it seems to follow this flow -Browser ...
2
votes
1answer
337 views

Performance bottleneck on SharePoint upload method

Trying to eliminate a performance bottleneck on a method doing file and metadata uploads. According to the profiler on a line-by-line of the decompiled code, the majority of time is spent on ...
2
votes
1answer
197 views

Depth of document library folders & files

How can I find out how deep is a document in a document library? Should I simply parse the url of the file and split according to position of slash character? Or is there a better way? Thanks.
2
votes
1answer
590 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
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.
2
votes
1answer
919 views

Why is SPD adding content to my file?

I'm using SPD to edit an HTML file that's in SharePoint (in a subfolder of SiteAssets). Later, I return to the file in SPD to find that the following content has been added to the file (where ...
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 ...
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
0answers
43 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
0answers
48 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, ...
2
votes
1answer
307 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 ...
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?
1
vote
2answers
676 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 ...
1
vote
2answers
844 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 ...
1
vote
1answer
900 views

Anyone know how to upload files into a Sharepoint Library using javascript and the SOAP API in SP 2010?

I am writing custom forms in javascript. I do not have access to visual studio. I need to be able to upload a file into a document library with meta data. I've been playing around with the Copy.asmx ...
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 ...
1
vote
1answer
236 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
1
vote
1answer
41 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
1answer
294 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
488 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 ...
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
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
1answer
43 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
57 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 ...
1
vote
2answers
825 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
904 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
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
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
397 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 ...
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 ...
0
votes
1answer
147 views

XML Dictionary - how to provision with feature and read it?

I have an visual webpart and I need to populate drop down with content extracted from xml file. How can I provision that XML file with feature and then how can I access it from my codebehind to be ...
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
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 ...
0
votes
1answer
47 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
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
2answers
51 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
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 ...
0
votes
0answers
14 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 ...
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 ...
0
votes
0answers
122 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 ...