What a Salesforce Developer can Learn Other than Salesforce Platform

Introduction A Salesforce developer should learn other technologies for several reasons: Technology List Javascript Tech – Node or React Js: It can be really powerful for you if you learn any of trending javascript tech like Angular, Node or React js. Cybersecurity: Being Salesforce on cloud, most security freak companies ask question or share their …

What a Salesforce Developer can Learn Other than Salesforce Platform Read More »

Deployment using apex code in production

URI /services/data/v46.0/metadata/deployRequest Header Content-Type: multipart/form-data; boundary=BOUNDARY Accept: application/json Body –BOUNDARY Content-Type: application/json Content-Disposition: form-data; name=”entity_content” { “deployOptions” : { “allowMissingFiles” : false, “autoUpdatePackage” : false, “checkOnly” : false, “ignoreWarnings” : false, “performRetrieve” : false, “purgeOnDelete” : false, “rollbackOnError” : false, “runTests” : null, “singlePackage” : true, “testLevel” : “RunAllTestsInOrg” } } –BOUNDARY Content-Type: application/zip Content-Disposition: …

Deployment using apex code in production Read More »

What are the Salesforce IP Addresses & Domains to whitelist?

Required Domains Source: https://help.salesforce.com/articleView?id=000321501&type=1&mode=1 If your company has policies to whitelist only Salesforce domains, please include to the following domains to ensure you receive all content from Salesforce:*.force.com*.salesforce.com*.salesforceliveagent.com (Necessary if you are using Live Agent, Omni or SOS)*.visualforce.com*.documentforce.com*.lightning.com*.salesforce-communities.com (Necessary if you are using Communities or Site.com)*.forceusercontent.com*.forcesslreports.com *.salesforce-hub.com (Necessary for Customer 360)*.trailblazer.me

Variations of Deletion behaviour in Salesforce and Rollback option

  1. If a child record (like a Contact or Opportunity) is deleted and the parent record is subsequently deleted (Like the Account), the child record is permanently deleted. Even if the parent record is undeleted, the child record cannot be recovered, but if the child record is undeleted first this won’t happen. 2. When …

Variations of Deletion behaviour in Salesforce and Rollback option 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 »

Push notification in Lightning Service Console

There is a very powerful feature in classic console that whenever any changes happens at any record by other users, you can know it in list view and case detail page as well: https://trailhead.salesforce.com/en/content/learn/modules/service_console_customize/service_console_customize_push But unfortunately, Salesforce does not provide this feature in lightning service console yet — a real pain for support agent. Here is an idea …

Push notification in Lightning Service Console Read More »

Custom Fiscal Week (Monday to Sunday) in Wave Analytics (Salesforce Einstein Analytics)

https://success.salesforce.com/ideaView?id=0873A000000E4d2QAC   q = load “GR_Opportunities”; q = foreach q generate ‘CloseDate_day_epoch’ as ‘CloseDate_day_epoch’, ‘CloseDate_sec_epoch’ as ‘CloseDate_sec_epoch’, ‘Id’ as ‘Id’, ‘StageName’ as ‘StageName’,  daysBetween(toDate(“24-06-1985”, “dd-MM-yyyy”), toDate(CloseDate_sec_epoch)) % 7 as ‘datediff’; q= foreach q generate (case when datediff == 6 then (case when daysBetween(now(), toDate(CloseDate_sec_epoch))>=-6 and daysBetween(now(), toDate(CloseDate_sec_epoch))<=0 then “CurrentWeek” else “OtherWeek” end) when datediff == …

Custom Fiscal Week (Monday to Sunday) in Wave Analytics (Salesforce Einstein Analytics) Read More »