Hi,
I have a SharePoint List which is used to store the information of course enrollment.
What i am looking for is to get the count and name of Course for which maximum people have enrolled?
- Edited by NirajZ Monday, August 17, 2015 1:30 PM
Technology Tips and News
Hi,
I have a SharePoint List which is used to store the information of course enrollment.
What i am looking for is to get the count and name of Course for which maximum people have enrolled?
Hi Prasath,
I know creating a view will give me count, what i am looking for is:
to get the count and name of Course for which maximum people have enrolled? and i will use this information on front end for further process.
Please elaborate your approachThis is a final working solution:
camlQuery.set_viewXml('<View><Query><Where><And><Eq><FieldRef Name=\'Learner_x0020_Name\'/>' + '<Value Type=\'Text\'>' + currentUser + '</Value></Eq><Neq><FieldRef Name=\'Status\' /><Value Type=\'Choice\'>Reject</Value>'+ '</Neq></And></Where></Query></View>');