Updating a Model

The Unica 12.1.1 release introduced Unica Open Insights. In this release, you receive a data model that you can integrate with Google Looker to visualize the data. Since this is the first release of Unica Open Insights, the updated date model will be available in the next release. But before the next release, if you have received an updated model from Unica support or as part of a Hotfix, you can update the data model in the existing release without having to upgrade to a new release.

Also, if you are using the bare_model repository, delete the existing model and replace the new model

Before you begin

We recommend you configure your own Git repository to maintain the models. Optionally, you can choose to use Looker provided bare_model repository.
Note: If you use the bare_model repository, delete the existing model and replace the new model.

About this task

To update a model, complete the following steps:

Procedure

  1. Delete all the files from the following location:
    /home/looker/looker/<model-name>/<project-name>/
    where:
    • <model-name> is the name of the folder containing the model. For example, <models-user-1>
    • <project-name> is the name of the looker project as mentioned in Configurations before accessing Google Looker. For example, unica_deliver_project.
  2. Copy the latest project files and folders from the install directory to the following location:
    /home/looker/looker/<model-name>/<project-name>/
    where:
    • <model-name> is the name of the folder containing the model. For example, <models-user-1>
    • <project-name> is the name of the looker project as mentioned in Configurations before accessing Google Looker. For example, unica_deliver_project.
  3. Restart Google Looker.
  4. Log in to Google Looker.
  5. Access the Develop menu and toggle the Development Mode menu item to On.
  6. Publish the latest model to Git.
  7. Validate the deployment by checking the reports.