Models are predefined applications, consisting of files/reports, OLAP databases, Integrator jobs, scheduled tasks, and settings. Not every model must contain all objects mentioned above. Models are created by a model designer, then shipped in a so-called package to the end-user, who can configure and customize them. The shipping can happen via the new Marketplace (a panel in Jedox Web, which shows content from a centralized server), or a model can be installed directly from a file. The user can see and change installed models in the new “My Models” panel in Jedox Web.
1. Marketplace and Model Installation
The “Marketplace” panel shows all published Models. The content here comes from a centralized server which is accessed over the Internet. The server has to be accessible (that is, connection to the Internet has to be possible) for both the server where Jedox is installed, and the client machine where a web browser is accessing Jedox. If the latter machine has no Internet access (for example if it is restricted to a LAN network), the Marketplace will fail to load; if the former (Jedox server) has no access to the Internet, the Marketplace may be shown on the client’s web browser, but the actual installation of Models will not be possible.
Furthermore, the Jedox server needs a valid certificate for the communication with the Marketplace.
When clicking on a specific model in Marketplace, the user will be shown Details for this Model, such as a Description, Screenshots, and a Changelog of previous Model versions.
To install a specific model, click the “Install” button of that model in Marketplace. This will prompt an Installation Wizard.
Models can be installed multiple times in parallel, using so-called namespaces. Namespaces behave similar to “installation directories”. When installing a Model several times in various namespaces, most contents of the model will be unique and can be modified independently; you can later also install updates for the model separately. The exception is the database created during the installation (if there is a database being created. By default, the model will always use the same name for the database it creates. However, if the installation allows to set a custom database name, you can chose a different name in each separate model installation / namespace.
By default, the installation dialog suggest to install the model in the “global” namespace.
The install dialog then shows a detailed overview of a model’s contents, such as Model Extensions. Model extensions usually contain additional content, like database sample data, which is not essential for usage of the model. If the Model Designer made installation of extensions optional, the user can uncheck the extensions he doesn’t wish to install here.
If the model installation requires the user to accept Terms & Condittions for usage of the model, the next page of the installation wizard will show the Terms and Conditions (opt-in). After accepting the Terms & Conditions and clicking “Next”, the wizard will show a page detailing the following installation steps. Another click on “Next” starts the installation.
If the model includes database contents, the user will usually be prompted for entering a name for the database that will be created, or modified by the model.
For offline installation from file, the Installation Wizard process is identical.
When the model installation is executed, Jedox Web generates the required content locations e.g. in “Reports” and “Reports Designer”; model contents there are always located within the “Models” group. If the Model includes database contents, the installer will execute one or several Jedox Database Scripts to set these contents up.
2. Panel “My Models”
The “My Models” panel provides an overview for all models that were created, or installed, on the local Jedox Web server. In a new installation of Jedox 7.0 (or an updated Jedox 6.0 installation), the “My Models” panel will most likely be empty. When Models are installed, they are listed in a hierarchical structure on the left side, with a detailed list in the main Window. The user can navigate to the reports of a specific model from “My Models” by clicking the arrow icon. Reports are however of course also accessible by navigating directly to the Reports section of Jedox Web.
The list in “My Models” will also show if an Update is available in the Marketplace for one or more of the installed Models.
For all installed Models, the user has the option to “Repair”, “Change”, or “Uninstall” the model by right clicking the model and chosing the action from the context menu.
“Repair” of a model executes the same procedure as during the initial installation again. This can be used if for example models contents have been accidentally changed or deleted. The model contents will be recreated in the same state as after the installation.With “Change”, the user can optionally install or uninstall optional parts of the model. For example, if a models extension (such as sample data) was not included by the user in the initial installation, he can later add the extension via the “Change” option.
“Uninstall” will remove a local installation of a model. This will remove all of the models contents, such as reports, Integrator projects, settings etc. The exception is database content. Whether or not database content will be deleted is up the model author. In the case of the Jedox models provided via Marketplace, database contents are not deleted when uninstalling a model.
3. User Rights for Models
Access to the new “My Models” and “Marketplace” panels is handled like other panels, via OLAP Right objects per role, and can be defined in the section “Roles” in the Administration panel. Note that this only refers to the panels and action in those panels, but not access to Model contents themselves, such as reports, databases, or Integrator projects. For “My Models”, the relevant right object is “ste_packages”. Users (resp. roles) with no access (“N”) are not able to see the “My Models” panel. User with Read” access (“R”) are able to see the panel and the list of installed Models. They are able to check for updates, but they are not able to install, uninstall or modify Models. Users with “Write” access (“W”) are additionally able to install, update and uninstall Models.
The Marketplace panel is not accessible to users whose User Role has no access (“N”) on the new “ste_repository” right object. Users with “Read” access (“R”) are able to browse the Marketplace panel, but can’t install any of the available models. Users with “Write” or “Full” access are able to install Models from the Marketplace.
Note that if a model executes database scripts during installation, the user running the installation also has to have all Olap rights required for the commands in the scripts. This usually means that rights for creating database, dimensions, cubes, elements, rules etc. will be required.
4. Model Settings
In many cases, models will require some specific settings, such as a database name or connection name. In Settings Manager, when creating a new settings key, the user can now select whether the key is “Global”, or scoped within some (existing, i.e. created or installed) Model. Model-scoped settings are displayed in separate nodes in the tree in Settings Manager.
In spreadsheets, model-scoped settings can be retrieved with the already existing CONFIG.GET() function. It has been extended with an optional second parameter. In this parameter, the user can specify a unique name of a model; the function will then try to retrieve the setting key specified in first parameter within the scope of the specified model. To retrieve the unique name of the model to which the current spreadsheet belongs, the new function MODEL.ID() can be used (the alias PKG.ID() also exists). For example, assume that your Model includes a setting “logo_path” (containing an URL to some image). You could retrieve this setting value with: