UDB $.udb object
This article is about the $.udb object in the UDB object model. This model is for data exchange between USoft web UIs and Rules Engines. This model is built around the DataSourceContainer, Rowset, Rows and Cols object types. See also UDB events.
The $.udb object is the top-level object of the UDB library, a library of JavaScript extensions for customising web pages built in USoft Web Designer. The runtime implementation of the UDB layer is in a file named "usoft.module.interface.js".
The $.udb object provides a global entrypoint for programming against Web Designer solutions. This object is accessed for resources (functions, properties) that are independent of specific data sources. It may be referred to by:
$.udb
It might appear as if the library is established as a jQuery-like plug-in, since the $ sign identifies the jQuery library and offers access to it. However, it can also run without jQuery being installed at all.
Examples
$.udb.login('user','password')
.then(() => {
console.log('User has logged in');
});
$.udb.currentFrameId