A tale of Salesforce API and when to use them

API NAME PROTOCOL DATA FORMAT COMMUNICATION REST API REST JSON, XML Synchronous SOAP API SOAP (WSDL) XML Synchronous Chatter REST API REST JSON, XML Synchronous (photos are processed asynchronously) User Interface API REST JSON Synchronous Analytics REST API REST JSON, XML Synchronous Bulk API REST CSV, JSON, XML Asynchronous Metadata API SOAP (WSDL) XML Asynchronous …

A tale of Salesforce API and when to use them Read More »

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 »

Compare two profiles in Salesforce: Possible Options

Heroku Comparator App There is a very good Heroku app for the same: https://perm-comparator.herokuapp.com/ PROS: Very easy to compare multiple profiles and produce a comparison table. CONS: Runs on Heroku server – Security concern. Also, do not give next level drill down like FLS check, apex classes AppExchange Packages Bulk Object Field Creator: https://appexchange.salesforce.com/appxListingDetail?listingId=a0N30000000qDqqEAE Profile …

Compare two profiles in Salesforce: Possible Options Read More »

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