"initialModules" specifies a list of alias names that map server URL's to Profound.js module files.
The setting is specified as an object of name/value pairs, where the name is the URL alias and the value is a reference to a file name or configuration object.
The module name can be qualified with a subdirectory name as follows: "subdirectory/module". If the module name is not qualified, the "pathlist" is used to search for the module. When searching for modules, a .js file extension is assumed.
The example below shows both a qualified and an unqualified module:
When running on IBM i, initial modules require authentication by default. To allow a module to run without authentication, specify the initalModules entry like this:
The modules can then be called using the following URL's respectively:
When running modules without IBM i authentication, the Profound.js Connector APIs will run as the PROFOUNDJS user profile, unless the connectorCredentials configuration option is set to specify an alternate IBM i user id/password.
Calling from Profound UI Mobile Client
To configure Profound.js to receive a request for a connection from the Profound UI Mobile Client, use the special name "mobile" instead of a URL alias, as follows:
Calling from IBM i session or job
Click here for information on how to modify this setting.