The Address Books App allows you to manage address books and entries.
- Upload files from directory
srcto directory with source files of your Monster UI (near the folders "apps", "css" and "js") - Add next strings to file
/js/main.jsafter stringpaths: {
'datatables.net': 'js/vendor/datatables/jquery.dataTables.min',
'datatables.net-bs': 'js/vendor/datatables/dataTables.bootstrap.min',
'datatables.net-buttons': 'js/vendor/datatables/dataTables.buttons.min',
'datatables.net-buttons-html5': 'js/vendor/datatables/buttons.html5.min',
'datatables.net-buttons-bootstrap':'js/vendor/datatables/buttons.bootstrap.min',- Build your Monster UI with original builder (command
gulp) - Register
addressbooksapp
#sup crossbar_maintenance init_app <absolute path to addressbooks app> <your api base url>
sup crossbar_maintenance init_app /var/www/html/monster-ui/dist/apps/addressbooks https://site.com:8443/v2/ - Activate the AddressBooks app in the Monster UI App Store (
/#/apps/appstore)
- Upload all folders and files from directory
srcto root directory of your Monster UI (near the folders "apps", "css" and "js") - Create next symbol links in root directory of Monster UI
# ln [options] <target file> [link name]
ln -s js/vendor/datatables/jquery.dataTables.min.js datatables.net.js
ln -s js/vendor/datatables/dataTables.bootstrap.min.js datatables.net-bs.js
ln -s js/vendor/datatables/dataTables.buttons.min.js datatables.net-buttons.js
ln -s js/vendor/datatables/buttons.html5.min.js datatables.net-buttons-html5.js
ln -s js/vendor/datatables/buttons.bootstrap.min.js datatables.net-buttons-bootstrap.js- Register
addressbooksapp
#sup crossbar_maintenance init_app <absolute path to addressbooks app> <your api base url>
sup crossbar_maintenance init_app /var/www/html/monster-ui/dist/apps/addressbooks https://site.com:8443/v2/ - Activate AddressBooks app in the Monster UI App Store (
/#/apps/appstore)
Default address book is list of entries, which will be create automatically.
The user will not be able to change the default list name and to delete it through the application interface in this case.
If you want set default address book (list), you should add to js/config.js specific parameters as next:
define(function(require) {
return {
addressbooksapp: {
create_default_addressbook: true,
default_addressbook_name: "Default list"
}| Parameter | Value Type | Default value | Is required |
|---|---|---|---|
| create_default_addressbook | boolean | false | No |
| default_addressbook_name | string | "default_addressbook" | No |