Some organization level options can hide public properties on sObjects, which can make working these objects difficult if your goal is to support as many environments as possible. For example, disabling "Enable Activity Reminders" under Setup->Customize->Activites->Activity Settings, will remove the "isReminder" property from the Task class in Apex Code.
These types of options that can affect Apex code objects should be fully documented in one place. The documentation should also have examples on determining the state of the option and gracefully handling different states with Dynamic Apex.
Comment » Posted by ejw
Posted 11/11/08
Categories: Apex and Visualforce, Force.com Platform, Developer Tools, Application Distribution