• 1Installation
  • 2Preliminary Knowledge
  • 3Cache Management
  • 4Config Service
  • 5Config Handlers
  • 6Read Configuration
  • 7Write Configuration
  • 8Integrations

Config.apex

  • Docs
  • Tutorials
Getting started with Config.apex

Integrations

Config.apex has a good integration with custom settings and SObjects.

configService.onRead('/System/CustomButton/list', new Config.SObjectHandler('Custom_Button__c')
    .fetch('SELECT Id, Name FROM Custom_Button__c')
    .then(R.pluck.apply('Name'))
);

SObjectHandler can be used to handle SObjects as well as custom setting objects, to easily manage query, insert, update and delete operations.