API for interacting with SharePoint from .NET, Silverlight, and JavaScript.
0
votes
0answers
129 views
Binding ListItem to DataView web part or GridView using Client Object Model (Jquery)
In SharePoint 2010 I need to get list items from a list and bind it to either DataView web part or SPGridView control on page. I need to do this using client object model (jquery). I am familiar with ...
3
votes
1answer
79 views
how to load a folder given just a ServerRelativeUrl using Microsoft.SharePoint.Client
In my application I have a url of a folder as retrieved by folder.ServerRelativeUrl() eg. /consulting/TeamSiteTemplate/Documents/
Now I want to get a list of folders inside this folder. I use this ...
0
votes
0answers
58 views
CSOM expand user / people field
I have a "Contact" person field and want to access the expanded properties of the field, name, account and work email.
With REST, you can use $expand and project fields like this:
...
1
vote
2answers
234 views
Error while pdating Master Page through JavaScript Client Object Model using SP 2013 App
I have created a Site Collection in SharePoint 2013 online.
In this site I am trying to update Master Page through JavaScript Client Object Model.
My JQuery scripts are able to change the Site Master ...
1
vote
1answer
67 views
Sharepoint Online - How do I retrieve document's social tagging information
Is there any way I can retrieve documents' social tags and notes using Client Object Model? I'm on the client side so I don't have access to Server Objects. I've been searching all around but found ...
1
vote
1answer
332 views
Setting Search Center URL in SharePoint 2013 using Javascript CSOM
In SharePoint 2013, I am trying to access Search object through JavaScript CSOM.
I want to know the object which can give me the access to Search Settings under Site Settings. I tried looking under ...
3
votes
2answers
2k views
How to get a file using SharePoint Client Object Model with only an absolute url at hand?
We have a database with absolute (full) links to SharePoint files. If a user wants to download or get checkoutstatus information about the file, our program needs lookup that information in ...
0
votes
1answer
28 views
SpcalenderView Javascript on Mouse hower
I have one issue with spcalendarview. I just wanted to show spcalender item to the contain editor web part from the link here
but i wanted to my custom page into the contain editor web part
so how to ...
0
votes
1answer
92 views
Getting Filtered results by Date column from a list with BCS and SharePoint 2010 JavaScript Client Object Model
I'm trying to get the filtered results by a column type DateTime from a list filled with BCS using JavaScript.
I've tried everything to get those results with query like:
"<Where>" +
...
3
votes
1answer
122 views
ScriptResx.ashx Not Working
I'm trying to use ScriptResx.ashx in an Application Page I'm building (just to test out the functionality) and every time I try to grab a resource from what should be a JavaScript object, SharePoint ...
2
votes
1answer
88 views
Javascript CSOM SP.List get_onQuickLaunch
I am trying to get the onQuickLaunch flag from a SP.List using javascript. I am able to get other list attributes, however when I try to execute
list.get_onQuickLaunch();
I get an error
Uncaught ...
0
votes
1answer
179 views
Get all items with specific fields without query - SharePoint Client Object Model
Is it possible to get all items from a single list (getting specific fields) without using a CamlQuery? If I try to use context.Load(oList, ...), I can't use the Include method as the List class ...
3
votes
2answers
967 views
SharePoint 2013 Call the REST API from SharePoint hosted app
I've successfully deployed a SharePoint hosted app to office 365 and my local on premise installation. All the app aims to do is call the REST API for the user profile manager to get the profile ...
0
votes
2answers
128 views
accessing the SP2013 Site Settings-->Master Page/Navigation settings etc using CSOM (client side object model)
I want to access the SP2013 Site Settings-->Master Page/Navigation settings etc using CSOM (client side object model) using JavaScript or REST service or Webservice which I can call from Javascript.
...
0
votes
1answer
198 views
inserting multiple user /group to a list item of type spfieldUserValue
I have used following code to add users and groups to a list item of type SpFieldUserValue. it works if there is one single user or group in my client side people picker but if there is more than one ...
3
votes
1answer
306 views
Best way to access SharePoint (online) from a Windows 8 RT/Metro application?
I am developing a Windows 8 tile app/Metro (Windows RT) application.
I have experienced some problems linking with the C# client object model
assemblies due to limitations in RT.
I was hoping I ...
1
vote
1answer
77 views
I am confused about the Javascript Client Object Model and when it can be used
Is it only intended for use "inside" SharePoint?
Using the .Net/C# client object model I can execute applications on my
local machine and access a remote SharePoint server.
I can only find examples ...
0
votes
0answers
140 views
current user is always is administrator on a SharePoint App
I have tried following solution to check the current user's permissions on the current host web in a SharePoint hosted app, however the user is always administrator.
function sharePointReady() {
...
1
vote
2answers
68 views
Can anyone recommend an explorer using the client object model?
I'm looking for an explorer for a sharepoint site that's using the client object model undercover.
It would be great if this explorer would show all the information/properties one could get from this ...
4
votes
1answer
206 views
Error using javascript to retrieve a SharePoint list's items
I am trying to use this method to query items of a column of a list in my SP site via javascript (the reason I am doing this is to display that info on the page by modifying the html tags in the DOM), ...
2
votes
1answer
210 views
Display all documents from multiple document libraries using client object model
Can anyone help me with the code to display documents from multiple document libraries using javascript client object model. I have done displaying from single document library.
0
votes
1answer
67 views
Fill the fields in new form for an item
I've came across a requirement where I need to fill some of the fields in newform.
So basically we start from view item, where we can see an existing item in a list, then we click something like move ...
3
votes
2answers
573 views
ExecuteOrDelayUntilScriptLoaded not executing after page publish
In SharePoint 2013 I have a page that is using the Script Editor web part.
In the script editor web part I have the following:
ExecuteOrDelayUntilScriptLoaded(startIt, "sp.js");
function startIt() {
...
0
votes
0answers
403 views
CAML Query for sub folder documents javascript
I'm trying to query for documents in a specified sub folder of a document library. Using U2U CAML builder, I can generate the query and return successfully within it.
However, when I run the query ...
1
vote
0answers
50 views
COM BCS model programmatic creation methods
Following the source code found here: http://code.msdn.microsoft.com/office/Creating-SharePoint-2010-ad694d17
I've managed to create the Create, Update and Delete method, but only the Delete ...
0
votes
1answer
237 views
Import bulk data (over 5000 List Items) into SharePoint
I have an Microsoft Office 2010 AddIn which imports Data into SharePoint. The tool creates a Dictionary with over 5000 Values. Every Value is a C#-Class with Data and represents a SharePoint List ...
0
votes
1answer
56 views
Nested ExecuteOrDelayUntilScriptLoaded
Has someone worked with nested ExecuteOrDelayUntilScriptLoaded?
How/where should i notify the external one that the internal has finished (the internal ExecuteOrDelayUntilScriptLoaded has a ...
1
vote
1answer
213 views
Getting TermSet and Terms from Microsoft.Sharepoint.Client.Field
I'm having a hard time trying fo figure this one out.
I can only use Microsoft.Sharepoint.Client for this. I'am working with Sharepoint 2013.
I need to list all Fields (Metadata) For a certain ...
2
votes
2answers
178 views
Query SP2013 Managed metadata term store
I was wondering if it is possible to query the Term Store via the REST API or Javascript Client Object Model in SP2013.
I can't quite seem to work out the naming scheme for the REST API to discover ...
2
votes
1answer
490 views
JavaScript Client object model get content type
I have created a JavaScript file and deployed across my site collection. The code is supposed to get the content type ID from any upload form, figure out what this content type is and based on this ...
0
votes
1answer
151 views
Client Object Model to SharePoint Links List
I want to get URLs from SharePoint Links list using client object model javascript, can someone help me, I tried the following script but when I am alerting its result it shows me the URL value as ...
1
vote
0answers
84 views
SPFieldUrl does not work
I have an external list, items in that list have a field that contains an url. I want to show this url as a link in sharepoint form.
I found this example
and defined in my Creator and Updater methods ...
1
vote
0answers
68 views
Filter Calendar view by Title in SharePoint 2010
i want to filter calendar view using title field. Is it possible to filter calendar view without make changes in modify view ?
2
votes
1answer
76 views
Anonymous access issue in SharePoint 2010
I set an anonymous access to home page in sharepoint 2010. but when i open page like
'http://servername/Sitepages/homepage.aspx'
, i working but when i open
http://servername/
, its not ...
1
vote
1answer
131 views
Tasks and SubTasks with CSOM
I have a Sharepoint 2013 Tasks App which I am accessing using CSOM. It contains SubTasks. I would like firstly (1) to get the Tasks excluding the SubTasks, and then (2) when I get a Task, to get it's ...
0
votes
0answers
132 views
Get Distinct Count of Columns in a sharepoint List based on other column values using Javascript
I need to get Distinct count of columns in a sharepoint list based on other column.
For Example, a List look like this,
Name Location Gender
AAA Mumbai Male
BBB ...
2
votes
1answer
480 views
Check Out, Update, then Check In a File in SharePoint Client Object Model
I would like to programatically update a SharePoint file by checkout/checkin.
I have written code that looks like it should do what I want it to do:
static void ...
0
votes
0answers
62 views
how to access the Managed Properties at Site Collection Level and at Global Level in SharePoint2013 .**
Any help will be really appreciated if someone can point to find a good way of
How to access the Managed Properties at Site Collection Level and at Global Level in SharePoint2013 .**
My requirement ...
1
vote
1answer
98 views
Accessing page metadata properties via clientside API
Morning all,
Can anyone advise if it's possible to access a document / web part page properties via the client/JSCript API for use elsewhere on the page.
To put this in context, I've inherited a ...
-1
votes
1answer
128 views
Display Calculated column in List NewForm
How to display Calculated column in SharePoint List NewForm.aspx?
0
votes
0answers
222 views
Build CAML query by value from ClientPeoplePicker
I use these lines of code:
<SharePoint:ClientPeoplePicker ID="clpUser" runat="server" UseLocalSuggestionCache="True"/>
JS:
var peoplePicker = ...
1
vote
1answer
344 views
How get item in CommandUIHandler EnabledScript use javascript
can anyone help me with the problem:
I have a list external items from my system and i add a custom button on a ribbon. My item has a state and depending on the state my button should be available or ...
0
votes
2answers
337 views
Problem with Calendar CAML Query
i have a problem with a CAML Query for a Sharepoint Online(Office365) Calendar. I try to get all Calendar Appointments between two dates. Here is my code:
private void getFreeDays()
{
...
2
votes
1answer
907 views
How to retrieve items from document libraries using client context without performance lag
I need to retrieve items/list items from SharePoint 2010 document library and display it in a list ListView using C#. I have used following CAML query to retrieve list items and its properties.
...
2
votes
1answer
182 views
ECMA/js CSOM retrieving items from multiple lists with async processing? how?
I am struggling with javascript and learning callbacks, and applying this to SharePoint 2010 specific js/jquery methods of getting and savings values from lists. So I am recently getting into the ...
1
vote
1answer
104 views
Windows 8 App using COM dlls of Sharepoint gives error “Cannot resolve Assembly or Windows Metadata file 'System.Web.Services.dll'”?
I have created a sample app using Windows 8 C# XAML to get site info of SharePoint 2010 using COM Dlls. I have added reference of:
C:\Program Files\Common Files\microsoft shared\SharePoint ...
0
votes
1answer
70 views
where i can find trace for item.systemupdate()
I am working on a project which was initially developed by someone else. few of my list items are getting updated but i am not getting anything in version history. I believe that some schedule job is ...
1
vote
0answers
93 views
Getting column information from a sharepoint 2010 list
I'm trying to figure out how i can get information about a column in a Sharepoint List, like what type of column it is (single line, number, date etc...) and whatever additional column info that ...
0
votes
3answers
359 views
jquery client object model to return json: what about caml vs. js filtering?
trying to learn client object model (ecma/js/jquery) approach to returning json data and working with that. below I will supply a quick example, but my question is basic context of how would I go ...
0
votes
1answer
218 views
SP.Web.EnsureUser(user) does not seem to work. (JavaScript Client OM)
Supposedly, SP.Web.ensureUser(user) works according to this MSDN link but I cannot seem to get it to work in my JS code.
While debugging, I can see that SP.Web exists and the user variable is ...



