30
DecChristmas Special : Upto 40% OFF! + 2 free courses - SCHEDULE CALL
Salesforce has already provided prebuilt application such as workflow, approval process, process builder etc for the CRM functionality. It may be possible that the Organization has much more complex business requirements which cannot achieve by current prebuilt applications. When it happensthe Force.com platforms has following ways for developer to build custom functionality. We Can use Apex for Web Services, Email Services, Provide solution for Complex business requirements which cannot fulfilled by workflow rule. Add custom logic to another operation such as saving record.
How to Write Basics Access modifier:-
Read: What is the Salesforce AppExchange? Packages Installation Guide
Apex code:-
Read: Best Salesforce Certifications to Consider in 2024 : Level Up Your Salesforce Expertise
Ans:-
Public class listofAccountRecordClass
{
Public list<account>getAccountList(){
List<account>accountList = [select id,name,phone,industry,rating from account];
If(!accountList.isEmpty()){
returnaccountList;
}
System.debug(‘accountList’+accountList);
return new list<Account>();
}
}
GO TO ANONYMOUS WINDOW. Call the class.
Read: A Basic Overview for Salesforce Security
A dynamic, highly professional, and a global online training course provider committed to propelling the next generation of technology learners with a whole new way of training experience.
Cyber Security
QA
Salesforce
Business Analyst
MS SQL Server
Data Science
DevOps
Hadoop
Python
Artificial Intelligence
Machine Learning
Tableau
Search Posts
Related Posts
How to Use Salesforce CRM Effectively for Project Management? 739.8k
How To Start Your Career In Salesforce? 697.5k
How to Install and Use Salesforce ANT Migration Tools? 878.1k
What is Standard Controller in Salesforce? 156.2k
Salesforce Certifications Paths- What does the Future hold for Salesforce? 462.9k
Receive Latest Materials and Offers on Salesforce Course
Interviews