Tool to purge UsageData
CS Rules & Permissions
We've moved to Scorecard 2.0 and no longer need the data in the UsageData object. In order to get rid of that data, we have to use DataLoader and hard delete. That's do-able, but time consuming.
I tried using Truncate, but it's not an option for custom objects in managed packages.
I'd like a tool to remove all data from UsageData so I don't have to do that manually.
I tried using Truncate, but it's not an option for custom objects in managed packages.
I'd like a tool to remove all data from UsageData so I don't have to do that manually.
Sign up
If you ever had a profile with us, there's no need to create another one.
Don't worry if your email address has since changed, or you can't remember your login, just let us know at community@gainsight.com and we'll help you get started from where you left.
Else, please continue with the registration below.
Welcome to the Gainsight Community
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
You want to delete all records and make UsageData object empty or just the scorecard measure in UsageData empty ?
Thanks
delete [SELECT Id from JBCXM__UsageData__c];
**** IMPORTANT ****
This deletes every thing in UsageData permanently.
***** Please use caution *****
Thanks 🙂
Only 2400 times! 🙂
😞
All you'll need to do is map the Id in the file to Id in the delete option. If you have any questions, please let me know.
As best I can tell our only option is to use the DataLoader.