I am using the Google Fit Android app for my daily fitness activity monitoring. Based on this, I thought of integrating Google Fitbit with Salesforce. This blog will give step by step process of integrating Google Fitbit/Fit with Salesforce. This complete integration requires the below step Get an Access Token from Google to call Google Fit API Get activities using the authentication token in Apex and Lightning Component Show activities in Line Chart 1. Get an Access Token from Google to call Google Fit API Please refer blog http://salesforcecodex.com/2020/02/integrating-google-api-with-salesforce/ to get an access token for Google Fit API. 2. Get activities…
Author: Dhanik Lal Sahni
Apex is a strongly typed, object-oriented programming language that allows developers to execute flow and transaction control statements on Salesforce servers in conjunction with calls to the API. Below are some of important questions. You can also check below question posts for interview questions. Salesforce Interview Question – Security Top 20 Salesforce Interview Question – Integration What is difference between custom controller and controller extension? Ans. custom controller: Custom controller is required when standard controller is not fitting a requirement Like if you need to some custom validation or some external system call. We have to implements all of the…
Salesforce has announced to buy Vlocity, a San Francisco-based cloud and mobile software provider, for approximately $1.33B. Vlocity is a leading provider of industry-specific cloud and mobile software, driving digital transformation for the world’s largest companies. A three-time Forbes Cloud 100 Winner (2017 – 2019), Vlocity, is an industry cloud app pioneer built in partnership with Salesforce®, the world’s #1 CRM provider, that increases agility, operational efficiency and simplicity, at a lower cost of ownership for the enterprise. The transaction is expected to be finalized in the second quarter of fiscal 2021, subject to regulatory approvals. David Schmaier, CEO and founder of Vlocity,…
This blog will give detail to get a refresh token and access token from Google API. This access token can be used to integrate Google API with Salesforce.
Salesforce Spring ’20 Release Features Now Available This release includes about 300 innovations, including some new products like below: Sustainability Cloud Salesforce Sustainability Cloud, a carbon accounting product for businesses to drive climate action, is now generally available. With Salesforce Sustainability Cloud, businesses now have a trusted sustainability platform that gives them a 360-degree view of their environmental impact and provides data-driven insights that will accelerate the world’s efforts towards carbon neutrality. Marketing Audience Studio: Marketing Audience Studio is a new product that enables customers improve the reach of email campaigns Einstein Analytics for Consumer Goods – Einstein Analytics for Consumer…
Fitness freaks always talk about carbs, protein and fats. This blog will show the carbs, protein, fats and calories of fruit or vegetable using Spoonacular API.
Apex code is mostly run in system context so it is not considering current user’s permission. It is creating data integrity issue. Using with sharing keywords when declaring a class enforces Sharing Rules, but not object and field-level permissions. In Spring 20 release some security enhancements are added to enforce object and field-level permissions. Using Schema Methods We can now use Schema.DescribeFieldResult to check current user has read, create, or update access for a field. For example, if we want to check that logged user has read access on PersonEmail field of the Account Object, we can enclose the SOQL query inside an if block that…
Salesforce Queueable Job is very important for long running data updates. We must notify when particular data update is finished. This feature was not available till winter 2020 release. Salesforce has introduced transaction finalizer in Spring 2020 release. This will help us adding any post completion logic for Queueable Job. Finalizers Finalizer is interface which need to be implemented in a class to add post action. It’s execute method takes FinalizerContext as parameter which will give current executing job detail. So, we can attach the same Finalizer to multiple Queueable jobs and utilize a consistent, common codebase for post-async actions. Like in…
This post is related to top 20 questions related to Salesforce security implementation. We have another post related to interview questions for salesforce integration and asynchronous apex. 1. What is Phishing? Ans. Phishing is a social engineering technique that attempts to acquire sensitive information such as usernames, passwords, and credit card details by masquerading as a trustworthy entity in an electronic communication. Phishers often direct users to enter details at a fake website whose URL and look-and-feel are almost identical to the legitimate one. 2. What is Malware? Ans. Malware is software designed to infiltrate or damage a computer system without the…
Community Portals are very important for business to engage customer and partners. Salesforce provide community cloud to make these portals using point and click as well as advance custom lightning portals. As per part of community cloud, we mostly required to show files to our customers. By default files as only accessible to internal user. These are not accessible to external user (community users are external users). This post is explain how we can show files in lighting community portal. Below permission is required to set for community users Create a custom profile by cloning standard Customer Community Plus profile…