Content type column not displaying

by david.castaño-aristizabal » Tue Jan 17, 2017 3:06 pm

Hi Guys

I have noticed that the content type column is not displaying on the available columns to check in a data source. how can i select the content type to display in a chart?

Thanks

D
User avatar
david.castaño-aristizabal
 
Posts: 18
Joined: Wed Apr 15, 2015 3:49 pm

by Dmitry Kozlov » Fri Jan 20, 2017 10:06 am

Hi,
You can get 'Content Type Id' field. Add it directly to the ViewFields section of the CAML-query in Data source -> SharePoint list tab and replace init handler in Data source -> Advanced with the following:

Code: Select all
handlers.init = function (data, logger, processor, el, model) {
    model.fields.push('ContentTypeId');
    return true;
}
User avatar
Dmitry Kozlov
 
Posts: 129
Joined: Wed Nov 12, 2014 3:24 pm


Return to Dashboard Designer for SharePoint 2013