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

1
vote
2answers
34 views

How to use Microsoft.SharePoint.Client.File.SaveBinary method?

I want to save a file from document library to local drive. I am using the Client Object model approach model in development. The following is the code that I use: ...
3
votes
1answer
564 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
1answer
53 views

Using SharePoint Workflow to call a Java class

Is it possible to create a workflow which call a Java class? My main goal is to select a file and press a button in SharePoint document library which transfers this file to a Java class where I can ...
2
votes
1answer
146 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
40 views

How to add a hyperlink which opens a text file into a folder of a document Library

I've a requirement to add a link to a txt file in a folder of a document library such that user who want to upload content to the folder may click on the link which will open the file in a separate ...
1
vote
1answer
168 views

Docsethomepage.aspx - File Not Found

I migrate a site collection from version 2010 to the 2013. I have a list with a custom content type. (document set). When I try to open a document with the url ...
1
vote
1answer
180 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
22 views

SharePoint Designer 2013 - Imported Files are not viewable but says they exist

I am the site Collection Administrator on 40 different Site Collections. I have created 3 new Page Layouts that I would like to deploy to all sites and I have imported them to a test Site Collection ...
0
votes
1answer
35 views

Put a file in a library with a File-Upload on sharepoint designer

I work on sharepoint designer 2013 and I try to put a file(The file can be an image, a text file, a powerPoint, a videos or any type of file) in a library with a FileUpload. I didn't find any code ...
0
votes
1answer
43 views

Create file in SharePoint Online without using SharePoint Client Model in C#

In C#, I want to create a file in my SharePoint Online site without using SharePoint client object model. I am trying to use SharePoint REST APIs and List methods. I don't want to use ...
0
votes
1answer
22 views

Can I subfolder within a folder on the same page?

In explorer you can expand the view so you can see subfolders within a folder. Can you do this on a sharepoint page? Ex. TopFolder1 SubfolderA under TopFolder1 SubfolderB under TopFolder1 ...
0
votes
1answer
312 views

Get File Url from a Lookup Column REST API

I have a lookup column that correlates to a background image in my presentation layer. Is it possible to expose the URL to the actual file via the $expand mechanism using REST? Example REST URI ...
0
votes
1answer
144 views

Read file from sharepoint 2013 layouts folder

I want to get the path of a file from _layouts folder in SharePoint 2013, for a stream input. I tried: iTextSharp.text.Document doc = new iTextSharp.text.Document(PageSize.A4); var path = ...
0
votes
1answer
58 views

Read, Write, CheckIn/Out files in SharePoint 2010 with REST

Is there a way to Read, Write, CheckIn/Out files in SharePoint 2010 with REST? It is possible with SOAP but transferring base64-encoded seems to be inefficient. Thanks
0
votes
1answer
32 views

How to send file to SharePoint from another application?

I know how to upload files to SharePoint programmatically from CSOM but I need to do it from an application that I can't modify, this application only gives me the option of establishing a url where ...
0
votes
1answer
51 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
56 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
1answer
907 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
1answer
68 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
1answer
379 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
145 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 ...
2
votes
0answers
98 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
82 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
0answers
25 views

Endpoint for Recycle Bin using REST API

I have the following endpoint which works fine if I use the file/folder id or 'root' instead of 'RecycleBin', but I just can't seem to get access to the recycle bin using this type of endpoint. ...
1
vote
0answers
192 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 ...
1
vote
0answers
223 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 ...
0
votes
0answers
9 views

How To Use Document ID to Auto Assign Directory

So, I am using a SharePoint site with various folders, documents, etc, the norm, and I currently have to tell SharePoint what Task Order Folder that the file belongs to, but I should have to because I ...
0
votes
0answers
17 views

Not getting [Object File] from a File Input HTML Control using JQuery in WebPart Custom Page

I am Using SharePoint Designer 2010 I have a file input control and a button as below: <input type="file" name="Resume" id="upload"></input> <input type="button" id="btnSave" ...
0
votes
0answers
7 views

Give a single map on a site specific settings to open the containing documents in the browser?

My work uses SharePoint, and I can upload files to some parts of the website. I 'own' certain folders. The general site settings are to open documents with the default file readers (i.e., outside of ...
0
votes
0answers
22 views

Sharepoint Designer workflow canceled when copying document with long file name to another library

As the title states, I have a SP Designer workflow that copies a document from one library to another. This works great except when the file name of the document being copied exceeds 40 characters or ...
0
votes
0answers
130 views

Encrypting files and documents in Sharepoint 2013

I want to host confidential data on Sharepoint 2013 and would like to encrypt these data on a file level. There is already a Transparent Data Encryption (TDE) feature available for Sharepoint but it ...
0
votes
0answers
10 views

SPFile.LockId property some clarification

SPFile.LockId property: whenever somebody checked out file it will be locked automatically, is that correct? then what will be the value of LockId property at that time? secondly, what is the default ...
0
votes
0answers
13 views

Start survey on file creation

Is it possible to initiate a survey whenever a new document is created in a specified library? I was thinking to create a workflow, but i'm not sure how. Thanks in advance!
0
votes
0answers
69 views

Opening a SharePoint file using a hyperlink

On a browser-based SharePoint drive, the default file-opening functionality for an macro-enabled Excel file is to open it directly in Excel; no asking for Open/Save As, no intermediary steps; when the ...
0
votes
0answers
94 views

Upload File as Attachment using SharePoint REST API

I have tried to upload a file to a SharePoint list item, but the server returns an error (400 Bad request): ...
0
votes
0answers
3 views

Controlling filename of local copies of PDF document taken from a SharePoint Online library

I have a library of technical documents in SharePoint Online. People need to be able to attach them to emails to send to potential customers but I want to define the filename that will be applied when ...
0
votes
0answers
21 views

Euro Symbol In SharePoint 2010 Filenames

Some people like to use symbols in filenames when saving documents to SharePoint. From an administrator point of view we would prefer they not do this. I have read through this information: ...
0
votes
0answers
9 views

Status of the connection to SharePoint

I am developing an Excel tool (using VBA) that copies some files from SharePoint to the local drive. The user of the Excel tool has the necessary access rights to the SharePoint but sometimes, the ...
0
votes
0answers
26 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
0answers
958 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
165 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
27 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
0answers
58 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
2k 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
2k 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
329 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:\ ...