Timeline for What is the most performant way to check if Content Notes is enabled in a org?
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 11, 2020 at 18:15 | comment | added | Jeferson Chaves | Was just revisiting this, do you think is worth doing if(Type.forName('Schema', 'ContentNote') != null) { to avoid the both initial if statements? | |
| May 14, 2020 at 17:17 | vote | accept | Jeferson Chaves | ||
| May 14, 2020 at 17:16 | comment | added | Jeferson Chaves | All of this trouble because Salesforce doesn't have a way that performant and native to inform code if Content Notes are enabled. | |
| May 14, 2020 at 16:05 | history | answered | sfdcfox | CC BY-SA 4.0 |