API for interacting with SharePoint from .NET, Silverlight, and JavaScript.

learn more… | top users | synonyms (1)

4
votes
0answers
69 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 ...
2
votes
0answers
81 views

How to get WebPart on current page by name/ID with javascript?

I have a page with some webparts on it, I want to get specific one (by name or ID) using client javascript. I try this code var ctx=SP.ClientContext.get_current(); var web = ctx.get_web(); var site ...
2
votes
0answers
194 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
0answers
453 views

Url to an item with Client Object Model

Regarding my question, at this moment i'm writing some client object model code and I can't find a way to retrieve create make an url ... My question now is: How can I create an url to an item? I ...
1
vote
0answers
13 views

How to create object of type SP.ListItemFormUpdateValue

How can i instantiate object of type SP.ListItemFormUpdateValue and initialize it to a List field so i can read the field values on client side? If this is not posible, how can i read a value in a ...
1
vote
0answers
24 views

MOSS 2007: Multi-layer flyout menus on the global navigation

I've reset the MaximumDynamicDisplayLevels to 30. My goal is to create a global navigation menu that leads to other SharePoint sites/external links. Each tab on the navigation is the top category with ...
1
vote
0answers
33 views

Will content type names change with locale? (Sharepoint 2010, client object model)

I'm making a content type/id hashmap. The relevant part of the code is something like this (js): contentMap[content.get_name()] = content.get_id().toString(); I'm worried that the name will change ...
1
vote
0answers
30 views

Retrieve property bag for sub sites using JSOM

I need to go through all sites belonging a site collection to validate a property bag of them. following is my code. the problem is the second call to get the property uses only one of the sites. I ...
1
vote
0answers
69 views

How to get a client context for App in provider-hosted Apps?

I use a provider hosted Apps, so need to work with an App Web and Lists. Could anybody provide a code snippet to get ClientContext() of the App? Can I do something like this? Uri appWeb = new ...
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 ...
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
65 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 ?
1
vote
0answers
92 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 ...
1
vote
0answers
33 views

How add personal list for all users

I want to integrate Sharepoint with my external system. Sharepoint should load tasks from my system and show them in the list on user personal page. Integration should be done using Sharepoint ...
1
vote
0answers
77 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 ...
1
vote
0answers
89 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.
1
vote
0answers
75 views

SharePoint Online External Sharing Feature - Available through API?

I have a case where we would like to create a web part for use in SharePoint Online where users can request to share a site with an external vendor. We would like to automate the process of Sharing to ...
1
vote
0answers
418 views

Client Object Model : “Microsoft.SharePoint.Client.ServerException: The request uses too many resources”

When deleting 1000+ (link) items from a list in one batch using the COM, I encountered this exception : Microsoft.SharePoint.Client.ServerException: The request uses too many resources It seems ...
1
vote
0answers
208 views

Validate list item with javascript API

I want to develop a custom datasheet view to edit a list. I add item through the javascript API. The problem is that the service doesn't control fields value. For example : - I add an item with a ...
1
vote
0answers
860 views

set multiselect lookup column using jquery

I have a Multi select Look up column which as you all know is a control with two list boxes and "Add or Remove" Buttons. The user populates the right-hand side of the control with some values by ...
1
vote
0answers
217 views

List Item file attachment using ECMAScript Object Model

How to simply upload & attach file to listItem using Javascript? And how to get/download attachments.
1
vote
0answers
48 views

Is it possible to use https with Client Object Model in Silverlight

I found here this QA: Connect client object model to https url which mentions this article how to do it in full .NET client object model. That would be great if the class ServicePointManager (MSDN) ...
1
vote
0answers
276 views

Get Permissions with client object model

i want to add a permission on a folder who's inside a document library with javascript/jquery/client object model. The problem i have is, its a custom permission level created when some feature is ...
1
vote
0answers
283 views

Managed Client Object Model NavigationNode Url Property Incomplete

It seems the Client Object Model is stripping out the "query" part of a URL stored inside the NavigationNode elements. I am wondering if this is a bug or perhaps I am doing something wrong? Consider ...
0
votes
0answers
21 views

how to update properties of item in doc set with client object model

I've been able to create doc sets and upload files to it with the client object model. I am having difficulty updating the properties of the files in the doc sets. Here is what I've tried: public ...
0
votes
0answers
10 views

Why does SharePoint 2010 convert “qty01” to %5Fx0071%5Fty01

I have been using the SharePoint 2010 client object model to create a list in sharepoint. When it gets to adding a field called "qty01" it replaces it with "%5Fx0071%5Fty01". Is qty01 reserved or ...
0
votes
0answers
56 views

List of Site Features using Client Object model - SharePoint 2010

I am working on a Windows Forms application to list the features available for a SharePoint site. But I find no way, to retrieve the list of Site Features using Client Object Model. ...
0
votes
0answers
35 views

How to Enable intellisense for ecmascript cliennt object model in sharepoint 2010

I want to enable intellisense for ecmascript object model in sharepoint 2010. Iam able to get some properties but not getting all the objects and properties. like for below code iam only able to get ...
0
votes
0answers
12 views

How to fetch sharepoint “My Site” link in silverlight using client object model

I want to access Sharepoint "My Site" link in my silverlight application. Is there any way to fetch "My Site" link using client object model in silverlight. Please help and Thanks in Advance.
0
votes
0answers
125 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 ...
0
votes
0answers
56 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: ...
0
votes
0answers
137 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() { ...
0
votes
0answers
396 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 ...
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 ...
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 ...
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 = ...
0
votes
0answers
144 views

Convert Sharepoint Calendar Recurrence Data from xml to string

I am creating actual events from sharepoint recurring instances, i want to convert recurrence dat which is xml to string, how can i do it automatically.
0
votes
0answers
298 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
0answers
38 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 ...
0
votes
0answers
143 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
0answers
107 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 ...
0
votes
0answers
114 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 ...
0
votes
0answers
72 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 ...
0
votes
0answers
152 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 ...
0
votes
0answers
141 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 ...
0
votes
0answers
87 views

Javascript and DateTime Field

I need to insert a new date in update in a my field. There's some issus that is better that I know?
0
votes
0answers
56 views

Silverlight & SharePoint Client OM - MessageBox.Show not working in OnAddSucceeded or OnAddFailed

This may be more of a Silverlight issue than a SharePoint issue, but in the following VB code which adds items to a SharePoint list, I would expect to get two pop-ips ("Person added" and "Finished") ...
0
votes
0answers
240 views

How to send Email using Client Object Model ECMA Script/Javascript?

I want to send Email using Client Object model JavaScript.. I found Somewhere that it is not possible using Javascript but as I am using NAPA Tool for development in SharePoint 2013 this is the only ...
0
votes
0answers
52 views

Default status of specific ribbon checkboxes unchecked instead of checked

If you create a new table in a sharepoint site you can design the table by using the predefined styles in the "Design" tab. The default style checks the Header Row and First Column options. What would ...
0
votes
0answers
129 views

Excel Services - how to extract chart images from a user-modified EWA, not the source file

How can I get the image (png) of charts in an open/live Excel Web Access web part. I want to use the images outside of the EWA (e.g. pass them to c# so they can be used elsewhere or incorporated ...

1 2 3