Managing your SFDX Data with Bulk Apex
SfDX and Record Types In my previous article on Importing a complex data structure in Salesforce DX, I touched on the fact that Salesforce DX data tree import does not support the assignment of record types. I mentioned in my youtube video that you can address this with Apex and using patterns in the data. So that's what this article is about. We're going to use the same test data and schema, and build bulk apex jobs to change the record types. Experience Records In the Resume, we break up Experiences into 3 record types: Professional, Educational, and Professional Development. The record types determine how they are displayed on the Resume pages. As you can see below, when we initially import the data, the record types are not correct and thus the resume is not properly formatted. Since Salesforce DX does not allow us to assign record types during the import, when we have large data volumes, this is not sustainable. So we need to look for patterns in