API for interacting with SharePoint from .NET, Silverlight, and JavaScript.
0
votes
0answers
306 views
create list using CustomSchemaXml from client object model
I'm using Client Object model of SharePoint 2010. What is the property CustomXmlScheme in list creation? MSDN say nothing about it. It seems not working. I'm using this code:
string xml = @"
<?xml ...
0
votes
2answers
151 views
How i can get “item ID” column through “BDC Identity” column
I create external list for display external items from my wcf service and add custom action on that list EditForm through ClientObjectModel with this url:
...
0
votes
0answers
44 views
Upload a custom template using client object model
I am trying to upload a new custom template to the Template file repository using the Client object model. But I couldn't any provision to add a template as such. So is there any way to do it.
Thanks ...
2
votes
1answer
840 views
CSOM Get ListItem of Folder
In an application I'm working on, I'm interacting with SharePoint (2010) via the .NET Client-Side Object Model, and am trying to account for a large number of possible configurations of document ...
1
vote
1answer
213 views
Working With Content Approval / Moderation In CSOM
The SharePoint Object Model provides a property of an SPListItem called SPListItem.ModerationInformation.Status to allow you to determine the current content approval / moderation status if a document ...
4
votes
3answers
401 views
Commit modal dialog and then display notification
I have a modal dialog that I commit by calling window.frameElement.commitPopup(), and this is great because it refreshes the parent window.
However I would also like to display a notification on the ...
2
votes
2answers
609 views
How to retrieve Sharepoint list data in master page
I have Created Custom Master Page.
and i want to access SharePoint List Data in this Master Page using JavaScript.
I write the following script to access data but it gives error that ...
2
votes
1answer
217 views
How can I get specific SharePoint site GUID using javascript/jquery
For example:
I have a site under this url: http://intranet.contoso.com/news
When I open it i would like to read it's GUID for future use in my custom AssetPortalBrowser.aspx url picker.
Thanks!
0
votes
0answers
199 views
Error while Updating Sharepoint 2013 List from Apps [closed]
How to update SharePoint Site list from SharePoint 2013 Apps ?? When we access list from app which is already create on site, Its giving error like access denied ?
1
vote
1answer
383 views
Create Publishing Page using Client Object Model (Jquery)
I am trying to create a publishing page (site page) using SharePoint 2010, Jquery, Client Object Model.
Any reference or help will be appreciated.
Let me know if any more details are required.
0
votes
2answers
435 views
Add multiple people using Javascript Client Object Model to a Field of Type SPFieldUserValue
I want to update a UserField client side.
I found the following code at this topic How to Use ECMA CSOM to Set a Field of Type SPFieldUserValue
Tried the following code:
var users = new Array();
...
4
votes
3answers
2k views
How to access list in SharePoint Hosted App?
I want to create an Sharepoint hosted app but how to access list in these App ??
4
votes
1answer
227 views
Updating “Editor” or “Modified By” without changing timestamp
We changed domains and I need to updated the User fields in all lists and libraries to reflect the new domain accounts. (I know that stsadm.exe -o migrateuser will mostly handle this but since it ...
1
vote
1answer
338 views
Getting the Item ID from the ECB (Edit Control Block) using JavaScript
I know I can use {ItemId} to pass it to the URL like so:
<UrlAction Url="~site/_layouts/ConvertItem/ConvertItem.aspx?ListId={ListId}&ItemId={ItemId}&ItemUrl={ItemUrl}"/>
...
4
votes
1answer
453 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 ...
2
votes
2answers
282 views
Share Point Client Object Model SAML token from STS
I am planning to use the share-point client object model to get the data(Lists etc) from share-point site ( Sharepoint site and mobile sites are hosted on two different machines/IIS servers).
I do ...
2
votes
1answer
35 views
SP Tools help - Not returning results
I have downloaded SPTools from github, and have followed the directions of uploading the files to a Document Library. When I try to open the index.html file from the document library, I get prompted ...
2
votes
1answer
543 views
Get TaxonomySession TermStore TermSet Term from Sharepoint 2010 Server using Microsoft.Sharepoint.Client.Taxonomy.dll
I'm coding a c++/c# client-application to communicate with a Sharepoint 2010 site which uses Taxonomy
I have downloaded and installed Microsoft.Sharepoint.Client.Taxonomy.dll from:
...
1
vote
1answer
121 views
Bind WPF DataGrid to ListItemCollection
I need to display the items from a list in WPF application.
I have WPF DataGrid and I use managed client object model to retreive the list items.
I would appreciate if someone can explain a way to ...
0
votes
0answers
144 views
Create list using List Template in C#
I just want to create a list with list template, which would be stored in physical path in C#.
Could you guys help me to do this?
0
votes
1answer
193 views
VB CAML Query to select most recently created List Item where name = 'Blah'?
Can someone tell me how the VB CAML Query would go to select the most recently created List item where 'FullName' field = 'Joe Smooth'.
Using Silverlight 5, SharePoint Client Object Model, VB.Net and ...
0
votes
2answers
422 views
Get current user from SP Client Object Model in Silverlight / VB
Using Silverlight 5, VB.Net and SharePoint Online.
Tried this to read the current user's name into a textbox, but the textbox remains blank.
Any ideas? Thanks.
Imports Microsoft.SharePoint.Client
...
1
vote
0answers
81 views
How to Reconcile External Data and Multiple Values for a List Item?
I am currently developing a solution that requires me to integrate a SharePoint 2010 list (generic list type) with items from a SQL Server database. In addition to this hypothetical field being ...
2
votes
1answer
418 views
access a list in a subsite with Javascript
How can i access a list in a subsite?
function Read () {
var caml = "<View><ViewFields><FieldRef Name='Title'/><FieldRef ...
1
vote
1answer
69 views
Access a Sharepoint site from event handler
my problem is that I want to pop up a status bar in SP2010 after a File was uploaded via a single uploadform to a List.
Found this in the net: ...
0
votes
1answer
68 views
Long running Silverlight app losing connectivity via Client Object Model after a while?
I have a Silverlight 5 app hosted in SharePoint Online, which asks the users 72 questions and right at the end writes their answers to some SharePoint lists.
When I trialled it with 8 users, the ...
0
votes
0answers
113 views
How to change Text/Label of CustomAction button of Ribbon?
I want to change the Text/Label when I click on the CustomAction button of Ribbon.
It should be change from my Javascript function because I want to check the condition in that.
My CustomAction ...
2
votes
0answers
224 views
Opening and closing AssetPortalBrowser.aspx in SharePoint model popup
I am trying to open the "OOB" AssetPortalBrowser.aspx from a page within a SharePoint native model popup.
My aim is to get the selected filename back to the script. So far I was able to open the ...
2
votes
1answer
526 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
209 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
0answers
115 views
Ecma script sharepoint 2010 issue
how to get all folder in document library with first image url in that folder.
for this i get all folder from document library and then get first file from that library
get all folder and in that ...
4
votes
2answers
106 views
Is it possible to Fire event when Content type added in Shared Documents in sharepoint 2010?
How to fire event when any content type added in shared document library ? How to handle this event ?
3
votes
2answers
277 views
calling click event on dynamic controls
What I have is fairly standard code for using JavaScript with SharePoint 2013. Inside the sharePointReady function, I have a few dynamic controls that are added to the page.
The problem is that when ...
0
votes
0answers
76 views
Listen on file upload - AddItemEvent by ECMA Script (Javascript COM)
I need your help concerning this issue:
I want to upload a document to DocLib. Therefore I call the NewItem2 method
NewItem2(event, referenceURL);
Up to here - no problem. Now the issue:
I want ...
2
votes
1answer
187 views
Why Isn't the Client Object Model as Vulnerable as I Think?
I can use any sort of console in Firebug, Developer Tools, etc. to access any Javascript included in a page and make calls to Javascript functions without a problem.
If, on a SharePoint page, I use ...
1
vote
0answers
93 views
Sharepoint 2013 publishing page creation using Client Object Model
I am using SharePoint 2013. Is there any way I can programmatically create a page using ONLY th Client Object Model? Also notice that the page should be editable for further use.
0
votes
2answers
102 views
COM: javascript/jquery method for creating a xml data file from SharePoint list data (multiple)
Does anyone know how I can pull off creating an xml data file from data in multiple lists using SPServices/Javascript/jQuery? I can certainly bring all the data I need out to a page and load into DOM ...
1
vote
1answer
123 views
Changing Content Editor Programatically - Client model API?
Is it at all possible to make changes to or add a content editor to a page using only the Client Object Model API? There does not appear to be any reference to a ContentEditorWebPart dll.
0
votes
1answer
529 views
How to read URL/Description from a Hyperlink field using CSOM
Using CSOM (JavaScript) how do you get the URL and description fields from a Hyperlink field?
2
votes
1answer
162 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 ...
0
votes
3answers
746 views
ListItem Update from Client Object Model Not Triggering OnWorkflowItemChanged Activity
I am experiencing difficulty creating a file in a document library using the client object model. My custom Visual Studio 2010 workflow is not detecting the updates I am making to the file's list item ...
1
vote
3answers
1k 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 ...
1
vote
2answers
719 views
Get value of Hyperlink field in Sharepoint 2010 list item
I'm trying to get the value of a field of type "Hyperlink or Image" (currently set to "Hyperlink" in the column settings that is being returned as part of a Sharepoint 2010 ListItem. I'm using the ...
0
votes
1answer
97 views
problem with loading client object model
I am using JavaScript Client object model to get rootWeb and check permissions of current user. So I have used ExecuteOrDelayUntilScriptLoaded in my MasterPage to wait for sp.js. The problem is when I ...
1
vote
1answer
253 views
Access Object By a Single URL with the Client Object Model
Does the SharePoint Client Object Model have any method to access an object (List, Document, etc.) with just a single URL and valid credentials?
Essentially, I want to access an object ...
0
votes
0answers
153 views
SharePoint Client Object Model - Problem adding Item to List
The VB code below works in a stand-alone Silverlight app to add new items to a pre-existing list, but when I include it in a larger app it doesn't.
The only difference I can see is that with the ...
4
votes
0answers
71 views
Passing args to QuickLinksDialog with JS
I have a small button on a site which when i press should start a QuickLinksDialog and fill in some of the fields there.
Everything goes good and well except the fields (like: title and url) still ...
1
vote
1answer
110 views
How to add Pragma No-Cache to Client Object Model Request
In developing an application that uses the SharePoint Client Object Model, we noticed that the application is not working correctly using Safari on our iPad devices. When testing on our desktops, we ...
0
votes
0answers
148 views
How can change task percent complete in project server programmatically?
I want to develop a client code in Java (C# api was useful till now) to change task status in a project in MS Project Server. Using wsdl I can read project entities, but I couldn,t find a way to ...
1
vote
2answers
233 views
Which one is strongly typed the SharePoint Client Object Model or REST
I was researching about the SharePoint Client Object Model and REST but I am confused which one is strongly typed.
