Book Image Enterprise Architecture

By : Andrew Fawcett
Book Image Enterprise Architecture

By: Andrew Fawcett

Overview of this book

Table of Contents (20 chapters) Enterprise Architecture
About the Author
About the Reviewers

Alignment with extensibility features

Here are some platform features that can help ensure your application functionality is open to being extended by Developer X or subscriber org administrators:

  • Apex Triggers: Developer X can write their own triggers against your application's managed Custom Objects. These will execute in addition to those packaged. This allows Developer X to implement defaulting of fields or custom validations, for example. Salesforce does not guarantee that packaged triggers execute before or after Developer X triggers in the subscriber org. To ensure that all changes are validated regardless to the trigger execution order, perform your validation logic in the after-phase of your packaged triggers.

  • Field Sets: As described in earlier chapters, make sure to leverage this feature as often as possible on your Visualforce pages to ensure that regions and tables can be extended with subscriber added fields. These can also be used with JavaScript frameworks if you...