Tagged Questions
9
votes
3answers
5k views
How to traverse SharePoint Library in Client Object Model?
I have SharePoint Library and i want to traverse all folder and sub folder of it using client object model.
Can anybody have solution ?
7
votes
1answer
894 views
Create a Document Library Item base on a ContentType with JavaScript Object Model (JSOM)
I'm trying to create a new item in my Entreprise Wiki Pages Document Library. It's associated with a News Content type. I was able to retrieve the SP.List object (myList), the SP.ContentType object ...
5
votes
2answers
821 views
Javascript Client object model, rename folder
Hey am trying to rename a folder inside a Document library, right now i get my item and everything is good but when i try to rename it using set_item('title', 'NewFolderName') it crashes and unwinds ...
5
votes
1answer
783 views
How to Upload File to Document Library using JavaScript Client Object Model?
I want to Upload File to a Document Library using JavaScript in SharePoint 2010.
I found that you can copy file from One Document Library to Another but you can't upload File using JavaScript on this ...
3
votes
1answer
1k views
Document Sets and Client Object Model
What are the options to manage documents sets using Client Object Model?
I need to create new document sets and upload some files in them...
3
votes
2answers
433 views
Programmatically add item to sharepoint list from window application
How to add item to SharePoint list from window application using claim based authentication ?
it gives 401 forbidden error. user is authenticated from ADFS server.
3
votes
1answer
496 views
SP2010 JSOM Client Object Model: How to get all documents in libraries including all folders recursively
I have seen a lot of examples and questions about this out there but nothing I have found has helped me accomplish this. I need to be able to grab all the names of the documents within a given ...
2
votes
3answers
2k views
Creating Nested Folders via Client Object Model
I'm trying to create nested folders in my document library so it looks like this:
http://site/PublicDocuments/Folder1/Folder2/Folder3/
The document library "Public Documents" exists but none of the ...
2
votes
1answer
3k 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 ...
2
votes
1answer
343 views
How to print document library item from ribbon button
I'm creating some custom features to add functionality to the ribbon.
I have created a button to print the page you are viewing very easily like that:
SPItem containing elements.xml:
<?xml ...
2
votes
1answer
448 views
Enable versioning Document Library
i am trying to enable versioning on a ducument library using the client object model my code currently is as follows when i create the document library.
ClientContext clientContext = ...
2
votes
1answer
702 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();
...
2
votes
1answer
198 views
How to parse a SharePoint URL to get CSOM objects?
Let's say the only input I have from the user is the full URL to a folder in a Document Library called "Public Documents":
http://intranet.contoso.com/SubSite/PublicDocuments/Folder/SubFolder/
Using ...
2
votes
2answers
172 views
Client-side Object Model Load Test Metrics
I would like to know if anyone has done any load testing on using managed .NET Client Side Object Model (CSOM)?
I am mainly looking for metrics (graphs, spreadsheets, etc.) on the following:
Large ...
1
vote
2answers
415 views
Is there a method to lock a SharePoint library as read only while client app is processing?
I'm currently writing C# code to automate doing a set of actions on a number of Excel files in a document library/folder tree. The actions include check out, running macros inside the Excel file, ...