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
156 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: ...
4
votes
1answer
607 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
205 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
177 views

Access Old Version File objects with CSOM

I created a WCF service that uses Client-side Object Model (CSOM) to query file information from a SP Document Library. I need to create a List<File> with all the files associated with all the ...
1
vote
1answer
87 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
121 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 ...
1
vote
1answer
416 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
66 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 ...
1
vote
1answer
228 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
42 views

Auto Generate flat file (comma separated)

My Requirement is as below I have one share point list(L1) in SharePoint 2013. When I Update the list item(one record in list) , I should Auto Generate flat file (comma separated) with file content as ...
0
votes
1answer
36 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
59 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
23 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
352 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
110 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
42 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
63 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
77 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
71 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
502 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
149 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 ...
3
votes
0answers
34 views

List out all files inside all folders of Document library using Server object model

SPFileCollection foler = pdflibrary.RootFolder.Files; Above code line will only give files outside folder. How can get all files inside and outside folder into SPFileCollection. What is the easiest ...
2
votes
0answers
124 views

Copying attachments using JavaScript (JSOM or REST)

I've been able to copy documents in document libraries using the "CopyTo" method: https://msdn.microsoft.com/en-us/library/office/dn450841.aspx#bk_FileCopyTo I'm not understanding how I can apply ...
2
votes
0answers
109 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
89 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
17 views

Sharepoint 2013 DFS

Im running a Sharepoint 2013 server and got a fileserver with different DFS shares. Are there any way for me to map one of the DFS shares into a sharepoint site?
1
vote
0answers
87 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
244 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
240 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

Difference between GetFileByServerRelativeUrl and GetFolderBy… when moving file/folder

I've been trying to create a method that would move a file or a folder. To get the file that I want to move, I am using Web.GetFileByServerRelativeUrl and then on the returned file I invoke MoveTo ...
0
votes
0answers
13 views

Trying to Edit a document and access is denied SharePoint 2013

I’m trying to edit a PPT presentation on SharePoint 2013, but when I click “edit in PPT” I am asked to logon, which is unusual. I enter my credentials and get an error that my UN or PW are incorrect. ...
0
votes
0answers
26 views

Office 365 SharePoint - Individual File Sharing

I have been debating with my internal team whether to allow the end user to share individual files or not and have also been talking about the potential problem which may arise due to giving each file ...
0
votes
0answers
78 views

automatic uploading to sharepoint intranet website using spfilezilla

I am using spfilezilla to upload files to my documents library on my sharepoint site. I was wondering if anyone knows how i can automatically schedule uploads with this tool or if there is a way to ...
0
votes
0answers
16 views

Creating a network of files that can reference eachother

Sharepoint novice here (readas: extreme novice) Is there a way to make it so that multiple files can be dependent on eachother? IE: If there is a master list excel file with multiple sheets worth of ...
0
votes
0answers
14 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
30 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
50 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
412 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
14 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
17 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
92 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
122 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
6 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
1k 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
72 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
342 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:\ ...