Skip to content

Instantly share code, notes, and snippets.

View subhashini95's full-sized avatar

Subhashini Uppalapati subhashini95

View GitHub Profile
{!REQUIRESCRIPT("/soap/ajax/38.0/connection.js")}
{!REQUIRESCRIPT("/soap/ajax/38.0/apex.js")}
var records = {!GETRECORDIDS($ObjectType.Employee__c)};
var strIDs='';
if (records[0] == null) {
alert('Please select a record');
}
else {
for (var n=0; n<records.length; n++) {
if(strIDs == '')