Change Data Capture is a product on the Lightning Platform that enables us to integrate Salesforce data with external systems. With Change Data Capture, we can receive changes of Salesforce records in real time and synchronize corresponding records in an external data store. Change Data Capture publishes events for changes in Salesforce records corresponding to create, update, delete, and undelete operations. Use Change Data Capture to update data in an external system instead of doing periodic exports or API polling. Capturing changes with Change Data Capture event notifications ensures that your external data can be updated in real time and…
Author: Dhanik Lal Sahni
List Custom Settings: A type of custom setting that provides a reusable set of static data that can be accessed across your organization. If you use a particular set of data frequently within your application, putting that data in a list custom setting streamlines access to it. Data in list settings does not vary with profile or user, but is available organization-wide. How to use: List custom settings need to be accessed using a controller if you want to avail them on a page, for example return ListSetting__c.getInstance(‘dev’).Field__c; Usage of List Custom Settings: If we want to display a picklist…
Salesforce has many automation tools like Approvals, Process Builder, Workflow, and Cloud Flow Designer to automate organization’s repetitive business processes. Mostly developers use Workflow and Process builder. Workflow enables to set up workflow rules that identify what kinds of record changes or additions trigger specified workflow actions, such as sending email alerts and updating record fields. Process Builder can be utilized to automate all workflow actions (with the exception of outbound messages). Traditional workflow can still be utilized in parallel, however, Process Builder gives you the ability to do things that workflow can’t. Workflow does 4 actions Create Task We…
Google has now made mandatory to use minimum API version 26 for Play Store Apps. If that criteria is not met, developer will not able to upload their apps in Google Play Store. The policy was notified last year. As per Google, they have provided a fair amount of time to convert in minimum API version. From today onwards that policy will be implemented. Each version of Android presents new security features. Some just apply to applications utilizing current API levels. Google has been clipping down on security like never before as a major aspect of its offer to demonstrate…
Version control is a framework that records changes to a document or set of documents after some time with the goal that you can review particular forms later. For the models in this blog, you will utilize programming source code as the documents being version controlled; however as a general rule you can do this with about a record on a PC. Below are version control types Local Version Control Systems: Many people’s version-control method of choice is to copy files into another directory. This approach is very common because it is so simple, but it is also incredibly error…
Salesforce Development in Visual Studio Code Force.com has discontinued its IDE for further development process. Instead of Force.com IDE, Salesforce Extensions for VS Code is recommended. Visual Studio Code is a source code editor developed by Microsoft for all major OS like Windows, Linux and macOS. It includes support for debugging, embedded Git control, syntax highlighting, intelligent code completion, snippets, code refactoring and test coverage. For working in Visual Studio Code for Salesforce development, Four major steps are there 1. Authenticate Visual Studio Code with Salesforce Org 2. Code Retrieval 3. Code Changes 4. Code Deployment. Before starting, install Visual…
While working on salesforce implementation, we should log exception somewhere in our system. This will help in identifying issue as well as we required it for enhancing our current system. We can use salesforce debug log but this we have check each log record one by one to see some specific apex class issue. Let us see how to put custom exception logging in salesforce application. Below are steps to create custom logging :- 1. Create Custom Object 2. Create Apex class for Exception logging 3. Use that exception class in your code. 1. Create Custom Object : Let us…
Software engineers have long operating hours. Sometimes they sits around 16 hrs facing computers and haven’t anytime to care of health. Life-style and dealing conditions of software engineers typically disagreeable and additionally they keep inactive for hours! I myself give around 12-16 hrs each day when project deliveries are there. This kind of practice is an alarm for us and for organization also. We cannot go this on regular basis. It will impact on our health deeply. Let me share some tips to minimize sick effects of stress and keep healthy. Get Enough Sleep If you’re not getting adequate sleep,…
Asynchronous Apex Asynchronous Apex is used to run processes in a separate thread, at a later time. An asynchronous process is a process or function that executes a task in the background without the user having to wait for the task to finish. In real work example, let us we want to send Adobe E-Sign document to customer when any application is created. Adobe esign normally takes 5-15 seconds to generate agreement. we can not hold customer till agreement is generated. So we can use some Asynchronous processing so that agreement generation done in background. Email will automatically sent to…
Model Popup is very important in some places of CRM application to show records, show messages. I have used this model dialog box in lightning community portal. Let us see how to create model dialog box using lightning. We would be required SLDS library. so download and refer it in your base component. <aura:component implements=”force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes,force:lightningQuickAction” access=”global”> <aura:attribute name=”openModal” type=”boolean” default=”false”/> <aura:attribute name=”header” type=”string” default=”Portal Notification”/> <aura:attribute name=”information” type=”string” default=”Hello”/> <aura:attribute name=”param” type=”boolean” default=”false”/> <aura:method name=”handleOpenModal” action=”c.handleOpenModal”/> <aura:registerEvent name=”onClose” type=”c:ModalDialogCloseEvt”/> <div class=”slds-m-around–xx-large”> <aura:if isTrue=”{!v.openModal}”> <!–Modal Box Start–> <div role=”dialog” class=”slds-modal slds-fade-in-open”> <div class=”slds-modal__container”> <div class=”slds-modal__header green”> <button class=”slds-button slds-modal__close slds-button–icon-inverse” title=”Close”…