Invoking a Configuration Service
Admin Console provides an interface to define a set of key value pairs at the server and the client level. You can find it in Quantum Fabric Console > Admin Console > Settings > Configurable Parameters -> Client App Properties.
You can configure the Client specific properties any time in the server, so that client application can pull and consume the updated properties at runtime.
// Sample code to fetch the client app properties from server. // Get an instance of SDK var client = kony.sdk.getCurrentInstance(); var configurationSvc = client.getConfigurationService(); configurationSvc.getAllClientAppProperties(function(response) { kony.print("client key value pairs retrieved: " + JSON.stringify(response)); }, function(error) { kony.print(" Failed to retrieve client key value pairs: " + JSON.stringify(error)); });