Utilize Apex for knowledge article management

Generate a fresh article. Release a draft article. Withdraw a published article. Arrange the archival of a published article. Please note that if the scheduledDate provided is null, the article will be archived immediately. Revoke the scheduled archival of a published article: Remove an article from the archive: Erase a draft article: Generate a draft …

Utilize Apex for knowledge article management Read More »

What a Salesforce Developer can Learn Other than Salesforce Platform

“Above given technologies are top 8 technologies of 2019. Personally, I would like to learn following of these technologies to boost my career in Salesforce.” AI or Bot: It’s really useful in context with Salesforce platform and extensible and applicable to Salesforce. Knowledge of this can make you different than other Developers. Javascript: It can …

What a Salesforce Developer can Learn Other than Salesforce Platform 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 »