Deleting 1000's of records in Salesforce interface itself. Without using 3rd party apps.
If you want to delete 1000's of records you have to depend on third-party apps like Data Loader, Postman etc. You can use inbuilt Batch Apex, but not everyone can code or access to execute an apex code. So, I have built an LWC component that you can drag and drop to your page. It takes inputs from user and display all the number of records that will be affected. Once you press delete it invoke a batch apex that will delete all the records that's matching the criteria. You can also the progress without leave the page, it will be shown in the same LWC component. Demo below,
https://www.linkedin.com/posts/vignesh-balan-04a792191_salesforce-lwc-activity-7275511032863735808-zNTj?utm_source=share&utm_medium=member_desktop&rcm=ACoAAC0kyroBo2vhiX2mvDzcz5WGI3q-MT6kUqI
#Salesforce Developer #Apex #LWC Component #Trailhead Challenges #Trailhead
撰写评论...
0/9000