Case New Page in community: Detect Replay – Spam Protection using Google captcha

It’s very easy to find out endpoint and payload that create Case when you click “Submit” (or any button that create Case) – After that a CURL request can be made and thousands of Cases can be created in a few minutes. There is no out of the box way in Salesforce but we can prevent …

Case New Page in community: Detect Replay – Spam Protection using Google captcha Read More »

How to find inline links/images in Salesforce knowledge using apex

We often get requirement to move articles/Knowledge from any platform to Salesforce but somehow we miss inline links to update. This script is just a quick way to find such affected articles: String artIds = ”;for(Knowledge__kav k : [SELECT ArticleBody__c FROM Knowledge__kav WHERE Language=’en_US’ AND PublishStatus=’Draft’]){    if(k.Answer__c!= null && k.ArticleBody__c.containsIgnoreCase(‘help.company.com’)){        //system.debug(k.Id);  …

How to find inline links/images in Salesforce knowledge using apex Read More »