Category Developers

Content related with developers

Mention multiple users in the chatter post using Apex

The article explains how to post a chatter from Apex code and how to mention multiple users in the post. It describes a solution using an Apex Trigger and ConnectApi for notifying 'Account Reviewer' users about changes in Account ownership. The method ensures that all mentioned users are from the old and new owner regions.

Subscribe Platform Event in Lightning Component

The post details a method to display a warning message on Salesforce, suggesting fields to complete or correct to improve contact data quality. The solution involves creating a "Platform Event," an Apex Trigger, and a Lightning component in Salesforce. Apex Trigger publishes an event which the Lightning component subscribes to. Upon receiving an event message, the Lightning component sends a warning message to the user.

Trigger Bell Notification from Apex Code

Trigger Bell Notification from Apex Code

The Winter '21 release introduces the custom notification from Apex code feature that alerts users to changes or updates. This is especially useful for foreground notifications of backend asynchronous code execution. The CustomNotification class can be configured in various ways and sent using Apex code. Methods include managing the title, body, sender, type, target record and page of the notification.

Spring ’21: Five Release Highlights

The post discusses new Salesforce Spring '21 features including Dynamic Action for making object record pages dynamic. It highlights Local Development Enhancement of Lightning Web Component (LWC), customization of lightning-map Base Component, use of Lightning email templates in automation tools, and piloted creation of quick action for LWC.

Essentials to Know to Get Started with Lightning Web Components

Lightning Web Components was born to succeed Aura/Lightning components. Launched by Salesforce in Feb’19, Lightning Web Components is an open…

Quick News Lightning Component

The post showcases a "NewsApp" lightning component application developed on Salesforce lightning platform. Designed to display recent articles from global sources, the application offers features like keyword search and breaking news. It's constructed with the Salesforce lightning framework and "NewsAPI", and hosted on Salesforce by embedding the component in a Visualforce page. The data from news sources is parsed and processed into readable news articles.

How to host your web page using force.com site

The Salesforce platform allows users to host a webpage or application accessible to the public without requiring login. Users create a visualforce page, then register a domain and create a new active site. Appropriate permissions must be set in public access settings to permit access to the visualforce page, apex class, and assorted objects.