You need to sign in to do that
Don't have an account?
Sudheera Lakmal
Delete id limit reached 200
I have a list button to delete all the records in a particular related list. The Deletion portion of the JacaScript is below.
However, when I click the Delete button I recieve below error.
Later I noticed that related list contain around 600 records. Based on the error message It seems that we can send only 200 records for the deletion method at once. Only solution I can think about is to send the IDs with 200 batches to the sforce.connection.deleteIds() method, which is certainly our business users don't want to have.
Does anybody have different approaches to address this issue?
However, when I click the Delete button I recieve below error.
Later I noticed that related list contain around 600 records. Based on the error message It seems that we can send only 200 records for the deletion method at once. Only solution I can think about is to send the IDs with 200 batches to the sforce.connection.deleteIds() method, which is certainly our business users don't want to have.
Does anybody have different approaches to address this issue?
Could you please share an example? I'm new to Salesforce and I don't have an idea how to try your suggestions.