Apex Governor Limits -
https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000G7gvMUAR
Get org wide usage/limit using System.OrgLimits.getMap() then show them with progress bar.
https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000GB0jYUAT
Run the below code from developer console -
Http http = new Http();
HttpRequest httpReq = new HttpRequest();
HttpResponse httpRes = new HttpResponse();
httpReq.setMethod('GET');
httpReq.setHeader('Authorization', 'OAuth ' + UserInfo.getSessionId());
httpReq.setEndpoint(URL.getSalesforceBaseUrl().toExternalForm()+ '/services/data/v48.0/limits/');
httpRes = http.send(httpReq);
//return httpRes.getBody();
system.debug(''+ JSON.serializePretty( JSON.deserializeUntyped(httpRes.getBody())));
Get org wide usage/limit using System.OrgLimits.getMap() then show them with progress bar.
https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000GB0jYUAT
Run the below code from developer console -
Http http = new Http();
HttpRequest httpReq = new HttpRequest();
HttpResponse httpRes = new HttpResponse();
httpReq.setMethod('GET');
httpReq.setHeader('Authorization', 'OAuth ' + UserInfo.getSessionId());
httpReq.setEndpoint(URL.getSalesforceBaseUrl().toExternalForm()+ '/services/data/v48.0/limits/');
httpRes = http.send(httpReq);
//return httpRes.getBody();
system.debug(''+ JSON.serializePretty( JSON.deserializeUntyped(httpRes.getBody())));
This comment has been removed by the author.
ReplyDeleteI should assert barely that its astounding! The blog is informational also always fabricate amazing entitys. Sincerly René
ReplyDelete