You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just made a simple JS button to do this for me, it is a nice way to quickly remove logs without doing it 1 by 1 or doing it through dataloader.
{!REQUIRESCRIPT("/soap/ajax/36.0/connection.js")}
var url = parent.location.href;
var records = {!GETRECORDIDS($ObjectType.dlrs__LookupRollupSummaryLog__c)};
if (records[0] == null) { //if the button was clicked but there was no record selected
alert("Please select at least one record to Delete."); //alert the user that they didn't make a selection
} else { //otherwise, there was a record selection
alert("Deleting " + records.length + " Records. Press Ok and wait for the page to reload.");
var result = sforce.connection.deleteIds(records);
parent.location.href = url; //refresh the page
}
The text was updated successfully, but these errors were encountered:
I just made a simple JS button to do this for me, it is a nice way to quickly remove logs without doing it 1 by 1 or doing it through dataloader.
The text was updated successfully, but these errors were encountered: