Posts

Kakasaheb Salesforce First Bolg

LWC Decorators Best explanation

Decorators The Lightning Web Components programming model has three decorators that add functionality to a property or function. The ability to create decorators is part of ECMAScript, but these three decorators are unique to Lightning Web Components. @api To expose a public property, decorate a field with  @api . Public properties define the API for a component. See  Public Properties . To expose a public method, decorate it with  @api . Public methods are part of a component’s API. To communicate down the containment hierarchy, owner and parent components can call JavaScript methods on child components. See  Public Methods . @track Fields are reactive. If a field’s value changes, and the field is used in a template or in a getter of a property that’s used in a template, the component rerenders and displays the new value. There is one use case for  @track . When a field contains an object or an array, there’s a limit to the depth of changes that are tracked. To...

Per User Integration with Salesforce & Curity (External System)

 Problem Statement :  We   have   three   system s -  Salesforce  is Auth Provider.  Curity  is Identity Provider which validates the user from ADFS Once user get validate, It will redirect on salesforce & as business requirement agent can consume the  MS(Microservices API's) , which fetch   the data from external system . I gone through the below possible solutions -  Use Auth 2.0 Open ID Connect but as the standard of salesforce agent has to go with Manual reauthentication is required after login - Manual  authentication is not user friendly for business.  Use JWT Token Exchange with Salesforce Named credential to bypass re authentication,  Curity platform is not supported as the product issue. SF and Curity can go with Client credentials which is system to system integration  Do a full customization code to achieve this Per user Integration. We have tried with above options but get to know that in Sal...