How do you ensure API security and avoid data leakage
Ensuring API security and preventing data leakage is critical in any Salesforce integration. Whether you’re exposing or consuming APIs, you must follow best practices around authentication, authorization, encryption, data validation, and monitoring. Key Strategies to Secure Salesforce APIs & Prevent
Heroku | Fatal error due to PHP 7 and old version of CakePHP
Fatal Error on website whenever we were pushing any code change to our website hosted on heroku. We were suddenly facing a fatal error (error 500) on our website. After making debugger on, it displayed the following error : After
Cakephp | How to send email using google api (gmail) in cakephp 2.x ?
How to send email using google api (gmail) in cakephp 2.x? Answer: When you send email using google api, you’ll need: 1. Cakephp 2.x 2. A Google account with Gmail enabled. 3. PHPMailer Library. Download PHPMailer library from below link:
Jquery : Filter array by applying AND & OR logic on checkboxes
In one of our projects we have multiple groups of checkboxes and corresponding divs with id as checkbox label. Now we want our checkboxes to perform AND and OR logic . For Example: <html> <div id=”_Java_less than 1500_Basic_Dennis Ritchie” class=”6″
MySQL Access Denied due to wrong column name
MySQL access Denied for user while Username and password is correct. I got this error when I named one of my table columns as “order” which is also a mysql keyword. When tried to rename it, I got the following
Salesforce | Creating communities in Salesforce
Steps to create the communities in Salesforce: 1. Click on Setup: 2. Under customize click on communities. Click on all communities: 3. Click on New community button: 4. Choose your template according to your requirements. There are 5 templates provided
Salesforce: Call Apex Class on Click of Custom Button
1. Create apex class that you want to call (it should be declared global): Global class Test { Webservice static void testMethod() { //do something. } } Note: Webservice method must be static: Global class Test { Webservice static void
Java Spring | Verifying against WhiteList IP Addresses (spring 4.0.4)
While designing RESTful web services in a Spring-based web application, we may have a requirement that some web services should be allowed to run only from specific IP addresses. Spring framework provides a simple procedure to verify if the incoming
Salesforce | System.LimitException: Too many SOQL queries: 101
You may face this exception sometimes in Salesforce: System.LimitException: Too many SOQL queries: 101 There can be multiple reasons for this exception: Check if SOQL queries are not written in loops Check if DML are not called inside a loop.
Website Performance Testing using Apache Jmeter
Performance testing is used to determine that the web application under test will satisfy high load. Apache Jmeter can be used to analyze overall server machine performance under heavy load. Apache Jmeter Performance test includes: * Load Test * Stress
