The most robust observability solution for Salesforce experts. Built 100% natively on the platform, and designed to work seamlessly with Apex, Lightning Components, Flow, OmniStudio, and integrations.
Manages mass deleting Log__c
records that have been selected by a user on a Log__c
list view
LogMassDeleteExtension(ApexPages.StandardSetController controller)
Constructor for Visual Force list page / StandardSetController.
Param | Description |
---|---|
controller |
The standard set controller (passed in automatically via VF page) |
deleteSelectedLogs()
→ PageReference
Deletes the list of selected Log__c
records (if the current user has delete access for the Log__c
object)
Type
PageReference
Description
The PageReference of the previous page (based on controller.cancel()
)
getDeletableLogs()
→ List<Log__c>
Filters the list of selected Log__c
records to only include records that the current user can delete (based on object-level access)
Type
List<Log__c>
Description
The matching Log__c
records that the current user has access to delete