Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am wondering if there is any way to read a KPI Status list items with their KPI status values using JavaScript. So far I was able to get to those items's regular fields like ID and Title using this code:

var clientContext = new SP.ClientContext.get_current();
var oList = clientContext.get_web().get_lists().getByTitle('System Status');
var camlQuery = new SP.CamlQuery();
clientContext.load(collListItem, 'Include(Id, Title, Provider, KpiStatus)');
clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), null);

However, the field "KpiStatus" is always null. Am I missing something here?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.