Hey folks, I have a custom record type with a lot of custom records. I am not finding in the docs how to load the list of all the custom records for that custom record type, with each record's internal id, in SS2.0. Any help is appreciated!
b
battk
10/07/2020, 3:34 PM
Do a search using the script id of the custom record type as the search type
s
Sandii
10/07/2020, 3:34 PM
What is the context for why you need this list? If you are just looking for a way to make and object or array of all the recors by id, then
N/search
is what you are looking for most likely.
s
scottvonduhn
10/07/2020, 3:39 PM
If you actually need to load all of the records, depending upon how many you have, that could use up a lot of governance. Unless you need to modify and save change to all of those records, then a search is the best option for performance and governance.