2
votes
3answers
94 views

using CSOM to retrieve fields in a list in a view

I am trying to use the CSOM to retrieve all the displayed fields in a particular view. I require to know the field type and field internal name. I can not do: var list = ...
0
votes
1answer
81 views

get items in specific summary task folder in SharePoint 2010 via client object model in c# [duplicate]

i want to get items in android via web api web service. when user click on items web api return values step by step from sharepoint task list. using (ClientContext context = new ...
3
votes
3answers
1k views

Retrieve list item using CSOM on SharePoint online isn't working

I've been stuck on this problem for couple days, I develop app model on SharePoint online using provider hosted model. From clientwebpart, i want to access sharepoint list item. I can access list ...
1
vote
3answers
622 views

Using CSOM to get list item count for multiple lists

I am trying to create a function which should loop through all lists on current web and display their current item count. My code so far: <!-- language: lang-js --> ZN.updateDocumentCount = ...
0
votes
1answer
76 views

CSOM and master page and page layouts: .html vs .aspx vs .master

When applying master pages and page layouts using CSOM, should we generally operate using .html files? What would be pros and cons of using .html vs .aspx and .master files?
1
vote
0answers
76 views

How to access Page layouts and site templates using CSOM?

How to access Site Settings > Look and Feel > Page layouts and site templates using CSOM? The page allows end users to change these settings: Subsite Templates: subsites can use any site template ...
1
vote
2answers
532 views

How to enable publishing feature using CSOM?

How to enable site collection publishing infrastructure and site publishing features using CSOM?
0
votes
1answer
95 views

Jquery show loading progress [closed]

Good day, I have a page with several javascript pages that get loaded. How can I check that all the JS files have been loaded? I tried the below with just alert boxes. $(onPageLoad); function ...
3
votes
1answer
297 views

Creating a SharePoint Wiki Page via JavaScript and REST or CSOM

I'm fairly new to developing SharePoint 2013 Apps, and I was tasked to customize the Create New Wiki Page for a Site. The user has to type in the Title, I do some processing, and then when everything ...
0
votes
1answer
99 views

What are the big enhancements in the 2013 SharePoint REST/Client API? [closed]

The MSDN mentions there are some enhancements in the REST/Client API, but the things it lists seem to already be in the 2010 APIs. Can someone please elaborate on the new features that are NEW In ...
1
vote
1answer
2k views

The property or Field not initialized exception even I request explicitly

I'm using the following code to get the user permissions on a list item in javascript csom context = SP.ClientContext.get_current(); var field = ...
1
vote
0answers
128 views

using sharepoint OOTB DragDrop.js library in Custom webpart

I implemented drag and drop file upload functionality with using REST api in my webpart . But i found an OOTB sharepoint dragdrop.js library which has numerous methods to create drag drop control. ...
0
votes
0answers
53 views

field 'choices' not initialized not requested

Hi im using the following code to get choices of a Choice site column. some times Im getting 'Chices' not initialized error in console. var searchtaxonomy_context = SP.ClientContext.get_current(); ...
0
votes
2answers
94 views

Can't read Start or End Times with Client Object Model from Calendar in SP 2013

I have some experience using the SharePoint Client Object Model to retrieve text fields and URLs/images from lists in SP 2013. I'm currently trying to do something similar with a calendar. I have been ...
3
votes
1answer
144 views

JavaScript CSOM. Is It Possible to Change Language for the SP.ClientContext?

I want to find a way to force CSOM to always return values in en-us (1033 locale). For instance, when I'm trying to get ContentType Name using ContentType.get_name() I end up getting different results ...
0
votes
0answers
91 views

How to retrieve user Quicklinks from MySite with CSOM?

this is my first post on SharePoint StackExchange. Is there a way to retrieve current user Quicklinks and show it on the Startsite with CSOM? In this example, the link below "Edit Links" in the Left ...
2
votes
1answer
395 views

Accessing files in SharePoint AutoHosted App 2013

I am creating an AutoHosted App in SP 2013 and trying to access the file under one folder of remote Web ( need to pick the file from current project directory location and pass that file to another ...
1
vote
0answers
286 views

Is it possible to programmatically add page items to Enterprise Wiki using CSOM or REST?

Like a lot of us I'm green when it comes to SharePoint development. I've been tasked with moving MediaWiki content over to a SharePoint Enterprise wiki. At this time I do not have access to the server ...
5
votes
1answer
511 views

Sharepoint Client context (client Object Model) cant load more than 500 records or more

is here any limitation about read the records from any lists in sharepoint? my codes are default that downloaded from msdn: string siteUrl = SharePointAddressURL; ClientContext ...
0
votes
1answer
214 views

Programatically update profile field(s)

I have a requirement to update user profile fields. I'm able to query the fields, of course, using the CSOM API in Javascript. But, as per here - ...
1
vote
2answers
175 views

Advice on starting development for SharePoint in C#

I'm about to start development of client-side application (C# using .NET 4.0) that connects to SharePoint. Mainly to download/upload documents. I've found out that there are several options: using ...
0
votes
1answer
49 views

SP2013 App icon not rendered, only App link is displayed + how we can set the sliding transparent hover text over App icon?

I am facing an App Icon related issue. I am creating SharePoint Hosted App which I am deploying to SP 2013 Developer site. By default any app will have the AppIcon set under Images folder. Also it is ...
1
vote
2answers
481 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 ...
2
votes
2answers
968 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 ...
1
vote
2answers
472 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. ...
1
vote
1answer
553 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 ...
1
vote
0answers
97 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
1answer
2k 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?