Exporting and Importing Models

Applicable to Sisense on Linux and Microsoft Windows

You can export and import your ElastiCube data and live data models into Sisense. In Windows and Linux deployments, models can be exported as .smodel files. The .smodel file contains the design of your model’s schema and its connection settings to its sources. For Linux deployments, you can select to export a .sdata file, instead. The .sdata file contains the design of your model’s schema, connection settings to its sources, and the data itself.

Exporting a Model in Windows

To export a model:

  1. Open the Data page.
  2. For the relevant ElastiCube or Live model, select >Export Model.

    You are prompted to download the schema in an .smodel file.

Importing a Model in Windows

To import a model:

  1. Open the Data page.
  2. Click Import Model.
  3. Drag your .smodel file to the Import dialog box.
    OR
    Click Browse. Navigate to the relevant .smodel file and select it.
  4. If a model with the same name already exists, either rename the model or overwrite the existing model with the one you are importing.

    The schema is displayed and the model is added to the Data page. Build the model (in the case of ElastiCubes) and publish the model (in the case of a live model) so you can work with it in your dashboard.

Exporting a Model in Linux

You might want to export a model to use it as a backup, as a base for another ElastiCube, or to load it onto a different Sisense server.

To export a model:

  1. Open the Data page.
  2. For the relevant ElastiCube, select > Export Model.
  3. Select whether to export only the model schema (A) or the model schema and the data (B).
  4. Click Export.
    You are prompted to download a file:
    • If you are exporting the model only (A), you will be prompted to download a .smodel file
    • If you are exporting the model and data (B), you will be prompted to download a .sdata file

Notes:

Importing a Model in Linux

To import a model:

  1. Open the Data page.
  2. Click Import Model.
  3. Drag a .smodel file (model only) or .sdata file (model and data) to the Import dialog box.

  4. OR

    Click Browse. Navigate to the relevant .smodel or .sdata file and select it.

  5. If a model with the same name already exists, either rename the model or overwrite the existing model with the one you are importing.

The schema is displayed and the model is added to the Data page. Build the model so that you can work with it in your dashboard. If you imported a .sdata file, you can view the data immediately, without needing to perform a build.