Tag Archives: SOQL

Preventing Cross-Site Scripting (XSS) in Salesforce Lightning Components

Cross-Site Scripting (XSS) is one of the most common security vulnerabilities in web applications. It occurs when malicious scripts are injected into web pages, potentially leading to data theft, session hijacking, or unwanted UI manipulation. While Salesforce provides strong, built-in protection against such attacks, developers must also adopt secure coding practices when working with Lightning… Read More: Preventing Cross-Site Scripting (XSS) in Salesforce Lightning Components »

How to send CSV attachment in apex code

In this blog, we will discuss How to send csv attachment in apex code. Here, we are going to see how create a csv file with code and then we will send that file as attachment to the mail with the help of the apex code. Apex logic to send the csv attachment with mail:… Read More: How to send CSV attachment in apex code »