Posts

Showing posts from January, 2024

Joined the Salesforce B2B Commerce Cloud Partner Advisory Board.

Image
I am happy to join the Salesforce B2B Commerce Cloud Partner Advisory Board. As a member of this board, I will have the opportunity to discuss B2B Commerce Cloud product features, industry vision, and the future of the partner program with Salesforce executives. This advisory board will provide a forum for partners to share information and insights with Salesforce regarding trends and uncover opportunities in the Commerce Cloud market. This board's contributions will help keep the programs and products we offer to our customers relevant and align with Salesforce's core values of trust, customer success, innovation, equality, and sustainability. Salesforce B2B Commerce Cloud Partner Advisory Board. Had a great time at the New York Salesforce Commerce Partner Advisory Board meeting. I enjoyed one-on-one meetings with the Salesforce team, sharing field experience and feedback, and being at the top of my mind. Grateful for the opportunity to collaborate with industry leaders and ex...

Use of Null Coalescing Operator

Image
Null Coalescing Operator The new null coalescing operator (??) simplifies code with verbose null checks.  For example - Old Ways -  Example 1 -  Integer anInteger; // Assume this is passed as parameter and can be NULL  Integer notNullReturnValue; if (anInteger != null){   notNullReturnValue = anInteger; } else {   notNullReturnValue = 100; } Example 2 -  Integer notNullReturnValue = (anInteger != null) ? anInteger : 100; New Way (Null Coalescing Operator) - Integer anInteger; // Assume this is passed as parameter and can be NULL  Integer notNullReturnValue = anInteger ?? 100; Note : nullish coalescing operator (??) is also part of modern JavaScript APIs. You can also use them in your Lightning Web Components (LWCs) to simplify null checks. When using the null coalescing operator, always remember operator precedence. In some cases, using parentheses is necessary to obtain the desired results. For example, the expression top ?? 100 - bottom ?? 0 e...

Salesforce Lightning Design Systems

Salesforce Lightning Design Systems Lightning Design System  Salesforce Lightning Design System (SLDS) is a set of tools and guidelines provided by Salesforce for building user interfaces consistent with the Salesforce Lightning Experience. Benefits include efficiency, scalability, interoperability with the larger Salesforce ecosystem, and consistent design. Let’s just make sure we follow Salesforce Lightning Design Guidelines, Principles, and Best Practice  Here are a few links - Salesforce Figma UI Kit (Unleash the power of the SLDS UI Kit in Figma.) - Salesforce (@salesforce) on Figma Community   Lightning Web Components (View web component JavaScript, HTML, and CSS code, then preview the output.) - Components - Salesforce Lightning Component Library   Design System Starter Kit (Run prototypes of all sizes in the browser using SLDS.) - GitHub - salesforce-ux/design-system-starter-kit: Rapid prototyping environment using the Salesforce Lightning Design System...