Asynchronous Processes in Salesforce
The maximum number of Asynchronous Processes per a 24-hour period is 250,000 or the number of user licenses in your organization multiplied by 200, whichever is greater. Asynchronous Apex: Batch ....
The maximum number of Asynchronous Processes per a 24-hour period is 250,000 or the number of user licenses in your organization multiplied by 200, whichever is greater. Asynchronous Apex: Batch ....
If "With Sharing" keyword is used in the Apex Class, then the SOQL won't run in System Mode. It will run in User Mode and respect the Restriction Rules configured. ....
Sample Code:Integer i = 0;Long total = 0;for ( LiveChatTranscript chat : [ SELECT Id, CreatedDate, RequestTime FROM LiveChatTranscript WHERE OwnerID = '00G5f000000aT2F' ] ){ i += 1; total ....
Sample SOQL:SELECT Name, Format, LastRunDate, LastViewedDate, LastModifiedDate, CreatedDate FROM Report Output: SOQL to find reports that last ran last year:SELECT Name, Format, LastRunDate, LastViewedDate, LastModifiedDate, CreatedDate FROM Report WHERE LastRunDate = ....
1.Service Setup has all Service related setup and it will be easy for Service Cloud Developers/Admins to access it. Whereas, the Standard Setup shows all the setups. So, it makes ....
iframe tag can be used to display PDF File from Static Resource using Lightning Web Component(LWC) in Salesforce. Sample Code: HTML: <template> <iframe src={SamplePDFURL} height="100%" width="100%"></iframe> </template> JavaScript: import ....
1. Add "Messaging User" to the user's Permission Set License Assignments. 2. Check whether the user has "Configure Messaging" permission via profile or permission set.
Disable “View Setup and Configuration” permission from the user’s profile to hide Setup menu for users in Salesforce.
Sample SOQL:SELECT Name, DeveloperName FROM Report WHERE Id IN ( SELECT CustomReportId FROM DashboardComponent WHERE DashboardId = '01Z5f000000VAB9EAO' ) Output:
Non-Setup Objects:Non-Setup objects are standard objects like Account or any custom object. Setup Objects:Setup Objects are used to interact with metadata for declarative development. Setup objects are Group1, GroupMember, QueueSObject, User, ....