Category Archives: lifehack

How to fix Cannot have more than 10 chunks error

Today I’m going to discuss about fix for “System.TypeException: Cannot have more than 10 chunks in a single operation. Please rearrange the data to reduce chunking” error. There are a lot of materials on the web where people suggest solutions … Continue reading

Posted in apex, Bugs, DML, Error, example, Governor Limits, lifehack, Posts in English, record, salesforce | Tagged , , , , , , , , , | 2 Comments

Salesforce UI: rowsperpage parameter or “how can I display all classes in list view on one page?”

Sometimes it is not possible to deploy changes through Ant. For example, it you are trying to deploy changes in classes which are used in Scheduled Jobs. If you try to deploy them through Ant you will receive an error: … Continue reading

Posted in lifehack, Posts in English, rowsperpage, salesforce | Tagged , , | Leave a comment

Salesforce: Simple trick to retrieve object type from id

Assume you have some unknown SObject record id and you want to retrieve its object type. For example, you have some id of chatter group like 0F9E00000002jA1 and you are not sure what is the correct API name of its … Continue reading

Posted in lifehack, Posts in English, salesforce | Tagged , , , | Leave a comment

Salesforce: Easy way to retrieve record type name for given record

Record type name rarely appears on page layout, and sometimes if you want manually copy data from one sandbox to another without using dataloader, and you have to first select correct record type, then it is possible to run the … Continue reading

Posted in lifehack, Posts in English, salesforce | Tagged , , , | Leave a comment