Creating Artificial Intelligence-Enhanced Applications using Large Language Models and Einstein

Discover the art of constructing reliable AI applications utilizing APIs of large language models, dynamic grounding, templates for prompts, and the orchestration powered by AI. Generative AI is the most transformative technology since the Internet, revolutionizing the way we create and interact with information. For developers, this raises new questions: from the practical “How do I …

Creating Artificial Intelligence-Enhanced Applications using Large Language Models and Einstein Read More »

Dynamic Components for Lightning Web Components are Now Generally Available

We are thrilled to announce that Dynamic Components with Lightning Web Components (LWC) have reached General Availability in the Winter ’24 release. This marks a significant enhancement to the LWC framework. Dynamic Components enable developers and administrators to provide flexible, customizable experiences by harnessing the power of dynamic import and instantiation. They empower developers and …

Dynamic Components for Lightning Web Components are Now Generally Available Read More »

Tailor Your Applications with Styling Hooks

Styling hooks became generally available in the Spring ’22 release, introducing a new realm of customization possibilities for Lightning base components and beyond. Styling hooks reached General Availability in the Spring ’22 release, and this enhancement paves the way for extensive customization of Lightning base components and beyond. Leveraging styling hooks, you can effortlessly transform …

Tailor Your Applications with Styling Hooks Read More »

Fundamental AmpScript Concepts in Salesforce Marketing Cloud

AmpScript within the Marketing Cloud AMPscript serves as an embedded scripting language employed in text emails, HTML emails, SMS messages, and landing pages within the Marketing Cloud. Variables: In AMPscript, variables are utilized to store List or Data Extension (DE) data for later use, much like how we utilize them in Apex classes. Syntax: This …

Fundamental AmpScript Concepts in Salesforce Marketing Cloud Read More »

Using Userinfo.getSessionId in LWC Throws Invalid Session Id

PROBLEM After Summer ’17, Salesforce disabled it while using in Lightning Domain to enforce the security measures. Here is Salesforce known issue: https://issues.salesforce.com/issue/a028c00000qQ1F3AAK/summer17–generating-a-session-id-from-lightning-domain-provides-invalid-session-id Solution – Named Credential Use Named Credential to get the session id. Steps: Once you’ve logged in there, the refresh token is saved and used by the named credential. From there, you …

Using Userinfo.getSessionId in LWC Throws Invalid Session Id Read More »

Enable Automatic Completion of Case Milestones.

Develop an Apex trigger to automatically designate milestones as “Completed” for cases that meet specific distinctive conditions. Within the trigger, specify the events and relevant case criteria that must be met for a milestone to be marked as “Completed.” A similar trigger can be implemented to automatically complete milestones for work orders. TIP In Lightning Experience, …

Enable Automatic Completion of Case Milestones. Read More »

Utilize the Safe Navigation Operator as a preventative measure against encountering Null Pointer Exceptions.

Employ the safe navigation operator (?.) to replace the need for explicit, sequential null reference checks. This innovative operator can swiftly bypass operations on null values and, instead of triggering a NullPointerException, it returns null. Location: This modification pertains to both Lightning Experience and Salesforce Classic, and it is applicable in Enterprise, Performance, Unlimited, and …

Utilize the Safe Navigation Operator as a preventative measure against encountering Null Pointer Exceptions. Read More »