Apex · Salesforce


Custom controller : A custom controller is a class written in Apex that implements all of a page’s logic, without leveraging a standard controller. If you use a custom controller, you can define new navigation elements or behaviors, but you must also reimplement any functionality that was already provided in a standard controller. Like other… Continue reading APEX CUSTOM CONTROLLER

Apex · Salesforce


Simple explanation about collections and its types in Apex: Collections in Apex: A collection is a type of variable that can store multiple number of records or items. Collections are work like arrays and they have more advanced behaviors and easier access methods than arrays. Data collections are groupings of any data types for example… Continue reading APEX COLLECTIONS IN SALESFORCE

Apex · Salesforce


A data type constrains the values that an expression, such as a variable or a function, might take. This data type defines the operations that can be done on the data, the meaning of the data, and the way values of that type can be stored. Apex supports the following data types Primitive (Integer, Double, Long, Date, Datetime, String, ID, or Boolean)Collections (Lists, Sets and Maps) sObjectEnumsClasses,… Continue reading APEX DATA TYPES IN SALESFORCE

Apex · Salesforce


These are the ways of creating Apex Class in salesforce.          Directly we are creating the apex class in salesforce Org.          And also, we can create the apex class in the Developer console.         We can Create an apex class through the Visual Studio code. Directly create the apex class in Salesforce : Open to the Salesforce… Continue reading HOW TO CREATE APEX CLASS IN SALESFORCE

Apex · Salesforce


What is apex :- Apex is a strongly typed, object-oriented programming language that allows developers to execute flow and transaction control statements on the Lightning Platform server, in conjunction with calls to the API. Apex is like Java for Salesforce. It uses classes, data types, variables, and if-else statements. Uses of Apex class :- In… Continue reading WHAT IS APEX IN SALESFORCE? (PART 1)

Adminstrator · Apex · Salesforce

How to delete Report or Dashboard from Private or Personal folder in salesforce?

Now Administrators can delete a private or a personal folder reports or Dashboard in either Workbench or Data Loader. Before administrators delete private reports and folders 1. Follow the steps in Turn On Enhanced Sharing for Reports and Dashboards. 2. Export Report IDs to a CSV file which contains only the IDs of Reports to be deleted. 3.… Continue reading How to delete Report or Dashboard from Private or Personal folder in salesforce?

Apex · Salesforce

Salesforce SOQL is not SQL

Salesforce SOQL query is not working same way as SQL server Data Base query. why? Salesforce using Multitenant Architecture - Many organization using single instance including data base but each org will have their own virtual hardwares. Salesforce using Force.com platform - It is metadata driven architecture. Query language directly integrated with Apex so no… Continue reading Salesforce SOQL is not SQL

Apex · Salesforce

Apex Code – Static Factory for Record Type

Use below apex class to avoid duplicate in your org to pull record type, Profile, User, Environment, Sandbox name, Group Name, Queue Name related information. This is very helpful to me - I was using separate apex class for each area like RecordTypeCommonUtility, ProfileCommonUtility, UserCommonUtility, EnvSandboxCommonUtility not I have combined all together as StaticFactory. public… Continue reading Apex Code – Static Factory for Record Type