Hi,
I need to get List items from splist using client object ecma script. I am getting the folders name by this code
var context = null;
context = SP.ClientContext.get_current();
var IntstituionsList = context.get_web().get_lists().getById(listTitle);
var camlQuery = new SP.CamlQuery();
camlQuery.set_viewXml('<View Scope=\'RecursiveAll\'><RowLimit>5</RowLimit></View>');
camlQuery.set_folderServerRelativeUrl('Sales/Lists/Institutions/ATLANTA');
healthlistItems = IntstituionsList.getItems(camlQuery);
context.load(healthlistItems, 'Include(LinkTitle,ID,Territory)');but i need to get the items.Please help.....
Thanks.