Open nvuillam opened 3 years ago
Hi @nvuillam. This utility app doesn't require Event Monitoring as Salesforce has made the ApiTotalUsage
event free for all API-enabled orgs in order to support legacy API retirement.
We're working on a blog post with more information. It will be out in mid August.
Feel free to reuse and embed this utility in your VS Code extension. The easier it is to use and the most widely distributed it it is, the better.
Great news that it's applicable to all orgs !
I'll post here to notify you when it's integrated in sfdx-hardis ! (I plan to use sfdx apex:execute under the hood so no need to import the class, which would decrease the apex org wide coverage of orgs)
Thanks, you made a good point about code coverage. I converted the project to run as anonymous Apex.
Integrated with command sfdx hardis:org:diagnose:legacyapi
I don't have access to an org with legacy API used ... as I'm sure you do, @pozil please can I ask you to test the command and confirm it displays a red message ?
Many thanks !
sfdx plugins:install sfdx-hardis
sfdx hardis:org:diagnose:legacyapi
Note: the command has also been integrated within VsCode SFDX Hardis
Hi @nvuillam, I'm on PTO till August 22. I'll make sure to check it out when I'm back but it might be worth converting it to JS as you mentioned in #5.
I'll try something and ask directly on twitter to the user that has crashes with apex script :)
This code seems great to check the use of deprecated APIs in production orgs, but does it require prior activations / purchases , like Event Monitoring ?
Also, if you agree I could embed it in VsCode sfdx-hardis, in some "Diagnosis menu" so anyone could run it on their prod org with just a few clicks (not technical users are usually afraid of CLI commands ^^ )