Category Archives: record

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

How to populate relationship using External Id field in Salesforce?

I have read in the past that it is possible to insert parent and child records in a single DML operation using External Id field population for a lookup. Today I tried to implement that but it took me some … Continue reading

Posted in apex, lookup, Posts in English, record, salesforce | Tagged , | Leave a comment

Salesforce: convert your object record ID to a clickable link

Sometimes we have to write functionality to report some data or to show some data on visualforce pages. In both cases seeing ID in text format does not really help; what may really help when you view or read some … Continue reading

Posted in apex, Posts in English, record, salesforce | Tagged , , , , , | Leave a comment

Salesforce: Trick to get both Id and Name of Lookup Record from VisualForce page without calling SOQL

I created custom SOQL page for viewing list of existing custom object records and adding new. This custom object has one LookUp field to Account. I need both Id and Name of related Account record to set as LookUp field … Continue reading

Posted in javascript, lookup, Posts in English, record, salesforce, visualforce | Tagged , , , , , | 1 Comment