Posts

Showing posts with the label stayhome

Salesforce : Multi-Factor Authentication

Image
Salesforce : Multi-Factor Authentication Evidence that users provide when logging in to confirm their identity.. One factor is something users know. For Salesforce logins, with user credeantial Two factors are verification methods that a user has in their possession, such as a mobile device with an authenticator app installed or a physical security key. How Multi-Factor Authentication Works 1. A user enters their username and password, as usual. 2. A user is prompted to provide one of the verification methods that Salesforce supports.. Salesforce verification methods: Salesforce Authenticator : A free mobile app that integrates seamlessly into your login process from Salesforce Third-party authenticator apps : This code is sometimes called a time-based one-time password, or TOTP for short. Users can pick from a wide variety of options, including Google Authenticator, Microsoft Authenticator, or Authy. Security keys : Small physical tokens that look like...

Salesforce LWC : Compact Layout on Hover

Image
Salesforce LWC : Compact Layout showing on Hover Sometime we have requirement to show Account name link on standard views, a popup with the Compact Layout shows the details of that record. LWC Parent Component : Template (HTML Code) LWC : JS (Process Code) import { LightningElement,api } from 'lwc'; export default class AccountComponent extends LightningElement { @api recordId; @track objRecordId; handleMouseover(event) { console.log(this.recordId); this.objRecordId = null const toolTipDiv = this.template.querySelector('div.ModelTooltip'); toolTipDiv.style.opacity = 1; toolTipDiv.style.display = "block"; // eslint-disable-next-line window.clearTimeout(this.delayTimeout); // esli...

Salesforce LWC With Third Party JS : D3

Image
Salesforce Lightning Web Component With Third Party JS : D3 Third-Party JavaScript Libraries Using JavaScript to manipulate the DOM isn’t recommended because the Lightning Web Components engine does it more efficiently. However, there are some third-party JavaScript libraries that take over the DOM. Manipulate the DOM with JavaScript Using JavaScript to manipulate the DOM isn’t recommended because the Lightning Web Components engine does it more efficiently. However, there are some third-party JavaScript libraries that take over the DOM. If a call to appendChild() manipulates the DOM, styling isn’t applied to the appended element. When using these libraries in a Lightning web component, add lwc:dom="manual" to any HTML element that you want to manipulate with JavaScript. When the engine sees the directive, it preserves encapsulation. Add the lwc:dom="manual" directive to an empty native HTML element. The owner of the component calls appendChild()...

Salesforce : Certification Tip for Online Protected With Coupons/Vouchers

Image
Salesforce : Certification Tip for Online Protected What is an Online Proctored Exam? Salesforce certification exams can be taken remotely, from your own computer, at the comfort of your home. online proctored exam for online proctored is very convenience, flexibility in schedule, and no travel requirements .  Online Proctored Exam Requirements The online proctored exams are taken via Kryterion Sentinel Secure software . Those taking the tests must download the software and create a biometric profile. You must verify your identity before your exam schedule. Review all the requirements before taking an exam to ensure a successful attempt. Any rule violation could be grounds to discontinue your online proctored exam. To guarantee secure examination conditions, your testing area must meet these requirements : 1. Area must be quiet and clear with good amount of visibility for WebCam. 2. Usually, an online proctored exam requires two cam external cameras and built in w...

Salesforce Trigger with Http Callout

Image
Salesforce Trigger with Http Callout This blog will provide the information to implementation HTTP Callout from Trigger. Salesforce has two ways to execute a callout from a trigger is to run it asynchronously. There are following : From @future method : Use when only single callout in Trigger From Queueable Interface Class : Use when need multiple callout in Trigger Let’s do implement and enjoy this magic!! From @future method Future methods execute asynchronously.Future Apex is used to run processes in a separate thread, at a later time when system resources become available. Some important point for future method Method should be return void type. Method should be static. Method support only primitive data types. Method support callout with allow callout.(Default is callout = false). trigger AccountTrigger on Account (after insert,after update) { if(Trigger.isAfter){ for(Account acc: Trigger.New){ if(!System.isFuture() && !...

Salesforce Integration With Google

Image
Salesforce Integration With Google This blog will provide the information to integrate Google drive with the simplest way without any complex apex code We have used Auth. Provider and Named credentials to handle authentication for Google Account. That's store the ‘Google Secret ID’ and ‘Google Client ID’ and Named Credential utilizes the Auth. Provider while making callout in custom Apex code. Advantage using Auth. Provider and Named Credential is that we do not need to handle authentication each and every time we make callout. Authentication will be done once we create the Named Credential associated with the Auth. Provider. Let’s do implement and enjoy this magic!! Step to Implements for whole Process Creating a Google Project for App Config Login into the google account for integrate with salesforce Navigate to https://console.developers.google.com/projectselector/apis/library?supportedpurview=project From the project drop-down create a Create a new project....

Salesforce for Custom Notification

Image
I have created one website for tracking COVID-19 infection so you see latest update by country. Click on below link. Live Tracking for Corona Virus Salesforce for Custom Notification In salesforce these is many way for custom notification. Below two ways I have describe in today's blog. Notification Type with Process Builder Change Data Capture with Lightning Component Notification Type with Process Builder This functionality is available to both on Salesforce Mobile Application and Desktop Lightning Experience. Push Notifications are a great way to notify Sales and Service Representative about the cases that need immediate attention or if an opportunity needs to follow up, maybe Opportunity has been closed-won or any other condition. Step 1. Create the Notification Type. Go to Setup → Notification Builder → Custom Notifications → New Step 2. Create the Process Builder Go to Setup → Process Builder → Create new Select your object, and if this should fire ...