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
2answers
150 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
149 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
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
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 ...
0
votes
1answer
370 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
3answers
206 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
25 views

PS Script copy file in specific folder

Almost same question as here : Power shell script to copy the files and folders with in 2 specific dates I understand the script, which copies entire folders/files from a library to another. But my ...
0
votes
1answer
41 views

How to prevent Files with same Name?

I have a service that takes a file from a library and send it to an already specified folder. This becomes a problem when I'm having files with same names on diferent folders. Lets say that the ...
0
votes
1answer
177 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
61 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
43 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 ...
0
votes
1answer
112 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
52 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
0answers
8 views

Can I further restrict the characters in file names? I want to limit the users ability to upload a file that contains spaces

I am currently working on restructuring my SharePoint 2013 pages. I am in a company of approximately 300 people. A collegue of mine is writing the SOP for our knowledge management, but we are curious ...
0
votes
1answer
13 views

SharePoint Online document Library

I want to remove the files from my Computer after that automatically sync to the SharePoint online Document library. any solution?
0
votes
1answer
17 views

How to make File Upload Control a conditionally required field?

I have four optional buttons. The file or amortization is required to be uploaded only if either Loan (One of the four option buttons) is selected or Bond is selected. Another words user must upload ...
0
votes
1answer
29 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 ...
0
votes
0answers
204 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
231 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
61 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
19 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
16 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 ...
0
votes
1answer
54 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
21 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, ...
0
votes
0answers
32 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
67 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
0answers
48 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 ...
0
votes
0answers
129 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 ...
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
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 ...
0
votes
1answer
378 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
206 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
1answer
355 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 ...
0
votes
1answer
140 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 ...
0
votes
0answers
310 views

Network Can't see a Sharepoint Document Library

I inherited a script that moves documents from a web server (unix) to a sharepoint document library via robocopy. The script looks like this: net use v: \\webserver\share /user:u p robocopy v:\ ...