Author: Dhanik Lal Sahni

Developers can find new and changed objects, calls, classes, components, commands, and more that help you customize Salesforce features in Winter 20 release. Lightning Components: Changed Lightning Web Components Build a UI easily with these new and changed resources in Lightning Web Component. Below components have changes. lightning-button: click() method has been added. The variant attribute supports new values brand-outline—Similar to the brand variant, this variant draws attention to the primary action on a page. The blue color is used only for the label and border, and the button color is white. Use this variant when the brand variant is too distracting to the experience. destructive-text—Similar to the destructive variant,…

Read More

Salesforce ‘Apex got lot of enhancement in Winter 20 release. Some of security features are moved from Pilot to Beta version. Methods are added in classes for security and test frameworks. Let us see those enahncement. Enforce Field-Level Security in Apex (Beta) stripInaccessible method is used to strip the fields that the current user can’t access from query and subquery results. We can use it to remove inaccessible fields from sObjects before a DML operation to avoid exceptions. We can also use the method to sanitize sObjects that have been deserialized from an untrusted source. This method was in Pilot stage and…

Read More

Lot of enhancements done for development using Lightning components, Visualforce, Apex, or APIs in Winter 20 release. New enhancements help us develop amazing applications, integrations, and packages for resale to other organizations. Lightning Web Components: Open Source Lightning Web Components framework is now open source. This will empower to build enterprise-ready web components on any platform. On the Salesforce Platform, you can add a Lightning web component as a custom tab in a Lightning Experience app and in the Salesforce app. How to do this: Check lwc.dev for complete understanding of framework. Add Lightning Web Components as Custom Tabs We can make a…

Read More

There are lot of issue in communication between Visual Force Pages, Lightning Component and Lightening Web Component.  We used to use Window object to communicate between these pages. Salesforce has introduce Lightning Message Service API in Winter’20 to communicate across the DOM, between Aura components, Visualforce pages, and Lightning web components. If application switching from Salesforce Classic to Lightning Experience, we can now build Lightning web components that can communicate with existing Visualforce pages or Aura components. A Lightning web component uses a Lightning Message Channel to access the Lightning Message Service API. Reference Lightning Message Channel with the scoped module @salesforce/messageChannel.…

Read More

Salesforce Winter 20 Release has lot of enhancement for lighting communities. Now we can build highly customized pages with flexible layouts. We can use role-based access to control who can do what as team builds and customizes communities. We can create multiple navigation menus, and use and reuse them in any navigation menu component, including tile menus. Flexible Layouts for Pages Now we can experience the freedom of flexible layouts and use them to build highly customized pages. We can make fancy with adjustable columns and easy-to-add sections. Excellent background images and color can make community better. How we can…

Read More

Communities got lot of feature enhancements in Salesforce Winter 20. Salesforce CMS which will help us to Create, organize, and publish content in Salesforce. Take better control of who can publish and edit a community with Access Control in Workspaces Management and give access to unauthenticated community users while knowing that Salesforce is keeping your data safe. Salesforce CMS: Harness the Power of Salesforce CMS (Generally Available) Salesforce CMS is now generally available with an updated design and some new options, including the ability to localize content. This help us making content available to the B2B Commerce managed package and communities…

Read More

Salesforce Winter 20 release has excellent feature enhancement for Field Service Executive. Mobile workers can log their hours on their mobile devices. Use Health Check to make sure your Field Service configuration aligns with our best practices. Find the right service resource for the job with Extended Match work rules. Log Hours on the go with Mobile Time Sheets (Beta) Mobile workers can now log their time sheets on their mobile devices. They can also view their time sheet history and see the status of time sheets under review. Field service managers can then approve time sheets in Salesforce. How to…

Read More

Salesforce Winter 20 Release has cool enhancements for Einstein Bot. Einstein Bots now includes rule actions to check agent availability and end chats gracefully. Einstein Bots now can connect to third-party natural language processors and a quick action enhanced to deliver relevant knowledge articles straight to your customers. New/Enhanced Features of Winter 20 Automatically End Bot Chats: No we can build bots that will clean up after work is finished! Use an End Chat rule action to add conditions that help the bot sense the natural end of a conversation and automatically close the session on behalf of the visitor. This feature is…

Read More

Our Salesforce Org has lot of license for different kind of application and features installed in Org. These details can easily be checked using Setup-> Company Information.  In this post , I will list out detail to find licensing information using SOQL. User License: This object is used to show features which user can access. User permission is assigned using Profile or Permission Set. Requirement : Find List of All Used and Remaining User License in Org Solution: SELECT MasterLabel,Name,Status,TotalLicenses,UsedLicenses,UsedLicensesLastUpdated FROM UserLicense Permission Set Licenses: Permission set license is used to assign permissions to use various tools and functions which…

Read More

Speech-To-Text API In previous post, I have given understanding of Text-to-Speech feature of Web Speech API. In this post, I will give detail of Speech-To-Text feature of this API. We will create a demo lightning component. This component will get voice command and salesforce object record will open. Voice command can be integrated using many APIs. Below are some important APIs which can be used for Speech Recognition. Web Speech API Google Speech-To-Text Microsoft Cognitive Services Dialogflow IBM Watson Speechmatics We will use Web Speech API for speech Recognition. This API use browser’s audio stream to convert speech into text.…

Read More