1
vote
1answer
114 views

How to get url of file after uploading to document library?

How do you return the URL of a file after it has been uploaded to a document library, using the default upload page? Returning the text from the "inputFile" textbox from the upload.aspx page would ...
0
votes
1answer
143 views

How to change 'Modified By' column value when a new file is uploaded in SharePoint 2013 using Client Object Model?

I want to change 'Modified By' column value of a file that is being uploaded using Client Object Model in SharePoint 2013. The problem is that the version of the file is changing. Kindly help me. The ...
1
vote
2answers
104 views

running SharePoint utility on non-SharePoint server

I wrote a utility in C# to copy files from a network directory to a SharePoint document library. When the sys admin tries to run the .exe from a non-SharePoint server, he gets the following error: ...
0
votes
1answer
773 views

upload to document library subfolder in client object model

I'm using the Client Object Model to upload files from a network drive to a SharePoint document library. Here is how I would specify the upload location if I were uploading to the document library's ...
1
vote
1answer
610 views

Upload to DocLib with jQuery (and REST) without HTML5

Uploading Documents to SP 2013 with jQuery and REST work just fine (Properties when uploading Files using REST in SP 2013) but these methods require a HTML5 compatible browser. The problem is now I ...
0
votes
1answer
1k views

Properties when uploading Files using REST in SP 2013

After a lot of research I finally got uploads via REST working in SharePoint 2013. But I would like to provide additional properties to the Add Function like Title. This code works so far but the only ...
0
votes
0answers
161 views

Programatically getting SharePoint 2013 document uploader destination folder structure

I want to add documents to my document library folders programatically. I don't know how to get the destination folder structure to upload documents to SharePoint. How do I get destination folder ...
0
votes
1answer
102 views

SP2010: possible to override styling of the upload aspx dialog from calling parent page

This may be a silly question, but I am wondering if it's possible to override styles for the upload.aspx dialog to customize the look...not from the upload pages content but form the calling 'parent' ...
1
vote
2answers
392 views

SaveBinaryDirect Throws Unauthorized When the Client Object Model Works fine

I have decided to use the SaveBinaryDirect Method to upload documents to the sharepoint site due to not having the request/file size limitations that the client object model has. The application does ...
1
vote
0answers
66 views

Calling multiple times SaveBinaryDirect result in Socket Exception

I've been using Client-Side Object Model in C# for Sharepoint2010 for a few weeks, and I've tried uploading files with File.SaveBinaryDirect and by adding the file to the list and then calling ...
2
votes
1answer
970 views

Calling Upload Dialog with javascript, can I pass value through to the edit form that follows?

I have a button that opens the upload dialog from a page using the below approach: function openUploadNewDocumentDialog(passingID) { var dialogOptions = SP.UI.$create_DialogOptions(); ...
1
vote
2answers
309 views

js/jquery doesn't work on site's upload.aspx?

is that right? If I go to a library in the designer, i can see upload.aspx there. Can't create a new one (and i guess that is because there is really only one per site, or collection?). Anyway, I can ...
0
votes
1answer
356 views

Using client object model to trigger Content Organizer Rule

Using the client object model of sharepoint (Microsoft.SharePoint.Client) i'm trying building a client that will upload documents into the "Drop Off Library" within a record center site. I can upload ...
2
votes
1answer
4k views

jQuery & SP2010 : Upload document to library using jQuery?

I built a custom form that saves the data to multiple lists with on click; it works pretty well for its intended use (keeping the data related). Thing is I am totally new at jQuery and SPServices, but ...
0
votes
2answers
2k views

Uploading a Word Document to Sharepoint using SaveBinaryDirect() resulting in corrupted document

I am uploading a document to sharepoint site using client object model. using (FileStream fs = new FileStream(@"C:\temp\UlDoc.docx", FileMode.Open)) { File.SaveBinaryDirect(_cc, ...
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 ...
3
votes
1answer
2k views

Upload a document to a SharePoint list from CSOM with no limitations

I need to upload a document to a SharePoint list or folder using the Client Side Object Model from .NET (C#). What is the best way to do this? The requirements are as follows: Set metadata values ...
2
votes
1answer
1k views

How to upload a file larger than 2MB to SharePoint document library using Managed Client Object Model for Silverlight

I can't seem to upload a file to SharePoint if that file exceeds 2MB or so. I am developing a Silverlight application that is interacting with SharePoint via Managed Client Object Model for ...
3
votes
1answer
2k views

How do I save files that are larger than 1MB using the Client Object Model?

I'm trying to save a file to an SP document library using the Client Object Model: //populate information about the new file, from disk FileCreationInformation fci = new FileCreationInformation(); ...
1
vote
1answer
862 views

SP2010 Client Object Model 3 MB limit - updating maxReceivedMessageSize doesnt get applied

I am using Client Object Model to interact with Sharepoint 2010. When I tried to upload documents greater than 3 MB using Client OM, it gave an error Bad Request. Microsoft suggests this to fix the ...
2
votes
3answers
2k views

Uploading file version - Client Object Model

I have a library with versioned files. I have versioned files prepared for uploading (1 version = 1 file). How do I create new version? Do I just set file's Content property and Update it? Please ...