How to get Organization information using Apex in Salesforce?
Sample SOQL: SELECT Name FROM Organization For more fields, refer the below link https://www.salesforce.com/developer/docs/api/Content/sforce_api_objects_organization.htm Cheers!!!
Sample SOQL: SELECT Name FROM Organization For more fields, refer the below link https://www.salesforce.com/developer/docs/api/Content/sforce_api_objects_organization.htm Cheers!!!
Sample SOQL: SELECT Id, Status, MethodName, ApexClass.Name FROM AsyncApexJob Cheers!!!
Sample Code: Map<Id, List<PermissionSetAssignment>> mapUserIdPermAssignList = new Map<Id, List<PermissionSetAssignment>>(); List<PermissionSetAssignment> listPermAssign = [SELECT AssigneeId, PermissionSetId FROM PermissionSetAssignment]; for(PermissionSetAssignment PA : listPermAssign) { if(!mapUserIdPermAssignList.containsKey()) { mapUserIdPermAssignList.put(PA.AssigneeId, new List<PermissionSetAssignment>()); } mapUserIdPermAssignList.get(PA.AssigneeId).add(PA); } ....
Email Masking is nothing but appending some text to emails. Whenever we refresh the Sandbox from the Production, in order to avoid sending emails, some text is appended to the ....
The parallel sessions in Salesforce depends upon the purpose. The purpose may be for API call or Integration call or Data loading call. Please refer the below link for more ....
You can export up to 256 columns and 65,536 rows of data in one report. If the columns decreases, rows will be increased. Cheers!!!
TestVisible annotation allow test methods to access private or protected members of another class outside the test class. These members include methods, member variables, and inner classes. Sample Class: public ....
1. Download Apache Ant version 1.6 or newer to a directory of your choice - http://ant.apache.org/bindownload.cgi. 2. Log into a Salesforce Organization. 3. From Setup, click Develop --> Tools and ....
Sample Query: SELECT AccountId FROM Contact GROUP BY AccountId HAVING COUNT(AccountId) > 2 This SOQL query is used to get Account Ids where related Contacts count is greater than 2 ....
If apex:commandButton is not working, check the below 1. In reRender attribute, check whether we are calling parent component Id and child component Id. If it is coded in that way, ....