Problem:
Solution: Go to your logged in user details and make sure knowledge user checkbox is enabled
Output:
A blog containing Salesforce coding examples in detail.It's a place where you can find solutions to the problems that you may face in your daily salesforce coding. Apex classes,visual force page,we services,Integration,plugins,extensions,Lightning web components,Aura components,Email Messages,Sales cloud,service Cloud,Marketing Cloud.Lightning Web components,salesforce.com, Salesforce Tips and Tricks,short cuts,ApexMocks,Stubs, visibility,Salesforce Shorts
Problem:
Solution: Go to your logged in user details and make sure knowledge user checkbox is enabled
Output:
List<System.OrgLimit> lstOrgLimits = OrgLimits.getAll();
for (System.OrgLimit objLimit : lstOrgLimits) {
System.debug('Limit : ' + objLimit.getName());
System.debug('Current Limit: ' + objLimit.getValue());
System.debug('Max Limit : ' + objLimit.getLimit());
}
Output:
To get specific limit, for example file storage limit use the below code
System.OrgLimit objLimit = OrgLimits.getMap().get('FileStorageMB');
System.debug('Limit : ' + objLimit.getName());
System.debug('Current Limit: ' + objLimit.getValue());
System.debug('Max Limit : ' + objLimit.getLimit());
Output:
Below are the salesforce YouTube channels that I follow . Hope you do follow them and gain some knowledge.
1) Salesforce Developers https://www.youtube.com/@SalesforceDevs/videos
2) Salesforce Architects https://www.youtube.com/@SalesforceArchitects/videos
3) Apex Hours https://www.youtube.com/@apexhours
4) Samarth Ahuja Tech Videos https://www.youtube.com/@samCoder
5) Salesforce Techbook https://www.youtube.com/@salesforcetechbook
6) Salesforce https://www.youtube.com/@salesforce
7) Path to code https://www.youtube.com/@PathtoCode
8) Salesforce Hulk https://www.youtube.com/@SalesforceHulk
9) Salesforce Codex https://www.youtube.com/@SalesforceCodex
10) Salesforce Ben https://www.youtube.com/@OfficialSFBen