Settings
Methods for configuring and managing portal settings.
getSettings() |
---|
Gets an immutable copy of the current portal settings, or a specific setting's value. |
Syntax
/** * @param {String} setting The key of a specific setting to get [optional] * @return {*} The setting or settings */ portal.getSettings(setting) |
Example
// Get all settings var settings = portal.getSettings(); // Get the value of the "debug" setting var debug = portal.getSettings('debug'); |
Copyright © 2022. Cloud Software Group, Inc. All Rights Reserved.