Delete Debug Log In Salesforce Programmatically

Requirement To delete debug logs programmatically in Salesforce, you can use the Salesforce Tooling API as simple Apex DML is not supported on this. Specifically, the ApexLog object represents the debug logs, and you can delete them by querying this object and then using the API to delete the logs. Apex Code

Implementation restriction: ContentDocumentLink requires a filter by a single Id on ContentDocumentId or LinkedEntityId using the equals operator or multiple Id’s using the IN operator.

Introduction This error may take place while querying ContentDocumentLink and filtering it with IN operator. Sometimes, it shows a weird behaviour and throw below error: “Implementation restriction: ContentDocumentLink requires a filter by a single Id on ContentDocumentId or LinkedEntityId using the equals operator or multiple Id’s using the IN operator.” Possible Reasons Add check as …

Implementation restriction: ContentDocumentLink requires a filter by a single Id on ContentDocumentId or LinkedEntityId using the equals operator or multiple Id’s using the IN operator. Read More »

Why Case Milestones get disappeared from Related List?

INTRODUCTION Sometime, we setup an entitlement process with milestones (no-reoccurrence type) & entitlement, and assigned the entitlement to a case. The process may work as expected, but sometimes you may some kind of issues like once a milestone is complete it disappears from the Case Milestones related list. POSSIBLE REASONS