SharePoint Online Learning Materials for IT Professionals – http://pulse.me/s/SCQU
Posted from WordPress for Android
I have passed SharePoint 2010 exams for development.
TS: Microsoft SharePoint 2010, Application Development
PRO: Designing and Developing Microsoft SharePoint 2010 Applications
Let’s start to study the SharePoint Administrations Exams!!
You are creating a Custom Action, that does something in a SP modal dialog and you want to read whitch list items have been selected by the User then you must use this method:
See the following example:
var clientContext = new SP.ClientContext.get_current();
var myWeb = clientContext.get_web()
var selecteditems = SP.ListOperation.Selection.getSelectedItems(clientContext);
for (item in selectedItems)
//Whatever you want!