Friday, November 29, 2019

Custom Notification [Bell Icon notification]

What is Bell icon(Custom Notification) notification -It is notification which you received as bell icon notifier inside salesforce instance top right corner.
 Its new way to notify user about important deal closed /upon getting new prospects team can get notified and take further actions.
 Mechanism is similar to  push message driven approach where some user publish message on chanel message bus and target audience receive notification.

 Think of hub center user who is engaged with
 various business process he receives email as well app notifications .

 so to make it more advance Salesforce has launched Custom Notification .It is similar of subscribing   a platform event message bus  and receive notification .
#CustomNotifications

 Here admin can create this on fly using Process builder with few steps
Create Process flow -->select object be it contact-->set triggering condition and add action as




One last step set who actually is recipient - You can set group/Individual user/Queues/Teams.
its done.when you create a new contact it will notify user as bell icon notification as below-













Saturday, September 14, 2019

A  question why lightning web component when developer already invested efforts in learning lightning component (aura component)?

lwc is based on standard web component that uses native browser technology or standard web technology modern Javascript ,html and CSS.
The benefit is to make things open to other platform  and  salesforce approach is also contributing towards develop open web standards.

earlier we were having lightning component based on aura component programing modal which  support ES5 and few feature of ES6(unable to find document what exact feature but it look like just promise from ES6)
where as lwc is using ES6+ advance javascript or modern Java script which make more sense to go for technology upgrade adoption.

Co- existance of aura and lightning
Many of us having question if lwc and LC(aura component) can co exist? Answer is yes but with a understanding of  Facet and slot

also as per understanding lightning aura can contain lwc but vice versa doesn't hold true https://developer.salesforce.com/docs/component-library/documentation/lwc/lwc.migrate_decide

now let's have look at composition structure ":"and "-"

lets talk about base component in side aura component

g:reco
rdform>
now lets have a look at lwc base component

namespace:component lightning:Card (lightning base component)
namespace-component lightning-card (lwc)

also lightning aura can contain lwc but vice versa doesn't hold true
https://developer.salesforce.com/docs/component-library/documentation/lwc/lwc.migrate_decide

to be continued .......