Skip to content


Updated pdexter 2022-10-22

(server-side function)

Function to get configuration entries, either from the configuration document in the database, or from Config.js in the file system for fieldtec-web.

(nb - scope of fetchable configuration may have changed since this document)


value = ft3.getConfiguration(key);

Part Description
value the variable to receive the value
key the key of the configuration item to fetch


var ft3 = ntf.scope;

// Get configuration from main configuration document
var templateId = ft3.getConfiguration("clientConfiguration.ruleSetIncludeTemplateId");'Env = ' + env1 );'RSInc TID = ' + templateId);