config.Type.FEATURES -> Enable Features page (Setup > Company > Setup Tasks > Enable Features (Administrator))
For more information about feature names and IDs, see Feature Names and IDs.
b
burkybang
04/15/2021, 8:54 PM
Are you suggesting I use the config module to look at the Enable Features page?
burkybang
04/15/2021, 8:56 PM
If so, I know how to do that. I was asking if there was a more general approach that I could use on each record type instead of figuring out which feature to check for.
s
Sandii
04/15/2021, 8:57 PM
try/catch creating a record is certainly a general bad way to do it
b
burkybang
04/15/2021, 8:57 PM
Haha, I thought about that, but yeah I wouldn't want to just create random records.