Tagged Questions
1
vote
1answer
32 views
Reupload the document (update)
I'm writing now code agains the document library, that code adds files to the document library. Basically what I want to do is, when the particular file already exists in the document library with the ...
0
votes
0answers
97 views
how to upload document from c# application with datetime/choice column
i have created an application to simplify uploading file to document library and i am having problem with 2 fields which is datetime and choice fields of the document library, the file is not ...
1
vote
5answers
8k views
how to upload file to sharepoint doc library via c# application?
I need to upload files with specific information(custom fields) into sharepoint document library via custom windows application.
I have no idea how to do it, anyone has any examples how to do it ...
0
votes
0answers
140 views
Uploading file “NewItem2”
I'm attempting to upload a file to SharePoint using the NewItem2 function. However, after uploading the file, I want to get the relative URL of the uploaded file. Is this possible? Is there a ...
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();
...
2
votes
1answer
296 views
How to upload an XDocument to a document library without a local hard drive path?
I have seen code such as:
String fileToUpload = @"C:\YourFile.txt";
String sharePointSite = "http://yoursite.com/sites/Research/";
String documentLibraryName = "Shared Documents";
using ...
1
vote
3answers
502 views
Upload document to SharePoint document library using batch in C#
I want to know if i can upload a document to sharePoint document library using batch in C#.
I know how to update and delete it using batch, but i don't know how to upload it.
If i can't, what is the ...
5
votes
1answer
606 views
Can't get OfficialFile.SubmitFile to work
I'm trying to write a literal SOAP call (I'm integrating from a remote non-windows machine) to submit a file which currently resides in the drop-off library of the site. I created a simple file, ...
2
votes
2answers
1k views
Web Part with its FileUpload control causing “Webpage has expired” Error !
My problem precisely and concisely is that I developed a web part which contains a FileUpload control and the web part in general works correctly except for one issue. Whenever I use the web part then ...