Record type definition by developer name in data import tree
command
#2753
RemiLeGuin
started this conversation in
Ideas
Replies: 1 comment
-
Yeah, I think we'd need to have the export command translate between RecordType Ids and developerNames. We could pretty easily detect if your query included recordType and do one more query to get the names/ID mapping. Then, we could do the opposite on load (quick scan of data for RecordType, and replace them with IDs from the new org like we do refs). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When inserting data in an org with the
data import tree
command (beta or legacy), it is possible to set a specific record type ID for the records if there are several. However, setting the record type developer name would be much easier as we cannot know the record type ID unless we request it first and modify the data to insert in the JSON file.This could have the following format:
Or this one:
Thanks @mshanemc for the suggestion to create an idea for it!
Beta Was this translation helpful? Give feedback.
All reactions