Installation
This section explains how to install and configure the SenseOps Writeback Extension.
Deployment Options
SenseOps Writeback supports both File-based Writeback and Database-based Writeback. The installation approach varies slightly depending on the destination type.
File-based Writeback
For file-based destinations:
- Download the Writeback Extension from the SenseOps Portal using your credentials.
- Upload the extension to the Qlik Management Console (QMC).
- Once uploaded, the extension can be directly used within Qlik Sense applications for file-based writeback.
No additional Writeback server setup is required for file-based writeback.
Database-based Writeback
For database destinations:
- In addition to uploading the Writeback Extension to Qlik Sense, the Writeback server must be installed and configured.
- Database connectivity, credentials, and destination mappings are managed through the Writeback server.
- Before proceeding, ensure the Prerequisites for Database-based Writeback are met.
- Follow the installation and server configuration steps below to enable database-based writeback.
Installing Writeback
Applies to Database-Based Writeback
The steps below are required only when setting up Database-based Writeback. File-based Writeback does not require server installation.
1. Extract the Package: Extract the contents of the downloaded package to the designated directory: C:\QlikSenseShare\Tools\. You will find the Extension and Server files within the extracted folder.
2. Install the Extension in Qlik Sense:
- Navigate to the Qlik Management Console (QMC).
- Go to the Extensions section.
- Upload the extension ZIP file found in the extracted package to install the Writeback Extension in Qlik Sense.
3. Server Setup:
- Open the Server folder and locate the
install.batfile. - Open Command Prompt as an administrator, navigate to the Server folder, and run
install.bat. The command output is shown in the screenshot below.

- Open Windows Services and verify that SenseOps Writeback is running.
- Open
http://localhost:4001/settingsin a browser and complete the server configuration.
4. Configure the Writeback Server:
- Ensure that port
4001is available and accessible for the Writeback server. - The Writeback Configuration interface contains four sections: Connection, Qlik, Proxy, and Other.
Connection
The Connection section allows you to configure database connections for Database-based Writeback. Select the required database dialect, enter the connection details, test the connection, and save the configuration.
Create a Database Connection
- Open the Writeback Configuration interface at
http://localhost:4001/settings. - Select the Connection tab.
- Select New connection to create a connection.
- Select the required database type from the Dialect dropdown.
- Enter a name in the Connection name field.
- Complete the fields displayed for the selected database type.
- Select Test connection to verify connectivity.
- After the connection test succeeds, select Save.

Configure Database Connections
The fields displayed depend on the selected database dialect. Enter the connection details provided by your database administrator or hosting platform.
Microsoft Entra Application Setup
Microsoft Fabric Warehouse and MSSQL with SPN authentication require a Tenant ID, Client ID, and Client Secret.
1. Register an Application
- Open the Microsoft Entra admin center.
- Open Entra ID, then select App registrations.
- Select New registration, enter an application name, and select Register.
2. Get the Tenant ID and Client ID
On the application's Overview page, copy the Directory (tenant) ID and Application (client) ID.
3. Create a Client Secret
- Open Certificates & secrets, then select Client secrets.
- Select New client secret, enter a description and expiration period, then select Add.
- Copy the secret's Value immediately. It is displayed only once. Use the Value, not the Secret ID.
4. Grant Access
Ensure the application has the required permissions to access the target Fabric Warehouse or SQL Server. A Fabric administrator may need to grant workspace access and enable service principal access in Fabric settings.
For details, refer to Microsoft's application registration guide.
Security
Store the Client Secret securely and replace it before expiry.
1. PostgreSQL
Select PostgreSQL from the Dialect dropdown and configure the following fields:
- Connection name: Enter a name for the connection.
- Host: Enter the database server hostname or address. The default value shown is
localhost. - Port: Enter the PostgreSQL port. The screenshot displays
4432as the configured value. - Database: Enter the target database name. The example shown is
postgres. - User name: Enter the database username.
- Password: Enter the database password.
- SSL Require: Select this option if SSL is required.
2. Oracle
Select Oracle from the Dialect dropdown and provide the following details:
- Connection name: Enter a name for the connection.
- Host: Enter the database server hostname or address. The default value shown is
localhost. - Port: The default value shown is
1521. - User name: Enter the database username.
- Password: Enter the database password.
- Service/Instance Name: Enter the Oracle service name or instance name.
- SSL Require: Select this option if SSL is required.
3. MySQL
Select MySQL from the Dialect dropdown and provide the following details:
- Connection name: Enter a name for the connection.
- Host: Enter the database server hostname or address. The default value shown is
localhost. - Port: The default value shown is
3306. - User name: Enter the database username.
- Password: Enter the database password.
- SSL Require: Select this option if SSL is required.
4. MariaDB
Select MariaDB from the Dialect dropdown and configure the following fields:
- Connection name: Enter a name for the connection.
- Host: Enter the database server hostname or address. The default value shown is
localhost. - Port: The default value shown is
3306. - User name: Enter the database username.
- Password: Enter the database password.
- SSL Require: Select this option if SSL is required.
5. Microsoft SQL Server (MSSQL)
Select MSSQL from the Dialect dropdown and enter the connection name. Choose the required authentication method: SQL Server or SPN.
SQL Server authentication
Provide the following details:
- Host: Enter the database server hostname or address. The default value shown is
localhost. - Port: Enter the SQL Server port. The default value shown is
1433. - User name: Enter the database username.
- Password: Enter the password associated with the database account.
- SSL Require: Select this option if SSL is required.
- Trust server certificate: Select this option if your environment requires trusting the server certificate.
SPN authentication
Select SPN and provide the following details:
- Server: Enter the database server address.
- Tenant ID: Enter the Microsoft Entra tenant ID.
- Client ID: Enter the application client ID.
- Client Secret: Enter the application client secret.
- Database: Enter the target database name.
6. Microsoft Fabric Warehouse
Select Fabric warehouse from the Dialect dropdown and provide the following details:
- Connection name: Enter a name to identify the connection.
- Server: Enter the Fabric Warehouse server hostname. The field displays an example format such as
xxx-xxx.datawarehouse.fabric.microsoft.com. - Tenant ID: Enter the Microsoft Entra tenant ID.
- Client ID: Enter the application client ID.
- Client Secret: Enter the application client secret.
- Database: Enter the target database name.
7. Snowflake
Select Snowflake from the Dialect dropdown and provide the following details:
- Connection name: Enter a name for the connection.
- Account: Enter the Snowflake account identifier.
- User name: Enter the Snowflake username.
- Password: Enter the password for the Snowflake account.
- Role: Enter the Snowflake role to use for the connection. The example shown is
PUBLIC. - Warehouse: Enter the warehouse to use.
- SSL Require: Select this option if SSL is required.
Test and Save the Connection
After entering the required details for the selected database type:
- Select Test connection.
- Verify that the connection test succeeds.
- Select Save to save the database connection.
If the connection test fails, verify the host, port, database name, credentials, authentication method, and SSL settings before testing again.
Qlik Configuration
Configure the connection to your Qlik Sense environment. You can choose between Qlik Sense Enterprise and Qlik SaaS.
1. Qlik Sense Enterprise Configuration
Provide the following details:
- Qlik host: Enter the hostname of your Qlik Sense server, such as
localhostor a custom hostname. - Qlik repository port: The default port is
4242. - Qlik proxy port: The default port is
4243. - WebSocket port: The default port is
4747. - Qlik root admin: Enter the username of the Qlik Root Admin.
- Client certificate, client key certificate, and root certificate: Upload the respective Qlik certificates.

2. Qlik SaaS Configuration
Before configuring Qlik SaaS, obtain the Client ID and IDP Subject from Qlik SaaS OAuth.
Generate a Client ID
- Log in to Qlik SaaS Administration.
- Open Administration, then select OAuth.
- Select Create new in the top-right corner.

-
Fill in the required details:
-
Client type: Select Web for a web integration. Another available type is Single-page app.
- Name: Enter an appropriate name for the OAuth client.
- Description: Enter a description.
- Scope: Select the required
user_default,apps,app.data:export, andusersscopes. - Redirect URLs: Add the redirect URLs required for the OAuth integration.
- Allowed origins: Add the paths permitted to access the OAuth client. For example,
http://localhost:4001. -
Enable Allow Machine to Machine (M2M) and Allow M2M user impersonation.
-
Select Create to create the web integration and obtain the Client ID.

- Select the three-dot menu beside the created OAuth client and select Change consent method.
- Select Trusted, which allows authentication using the OAuth client to skip the consent prompt, and apply the change.

- Open Manage users, locate your user account, and copy the IDP Subject associated with the account.

Configure the Qlik SaaS Connection
Provide the following details:
- HTTPS port: The default port is
443. - Qlik user mail: Enter the email address of the Qlik user.
- IDP Subject: Enter the IDP Subject obtained from Qlik.
- Qlik tenant host: Enter the Qlik tenant hostname.
- Client ID: Enter the OAuth Client ID.
Fill in the configuration form, select Test connection, and select Save after the connection test succeeds.

Proxy
The default proxy port 4001 is preconfigured.

When using a proxy for the Writeback server
If the Writeback server is accessed through a proxy or a different server URL, update the serverURL property in the extension's config.json file.
- Navigate to:
C:\Qlik Sense\StaticContent\Extensions\SenseOpsWriteback\config.json
- Open the file and replace the default URL with the URL configured for your proxy.
- Save the changes and verify the connection.
Other
The Other section contains the Mail and File Storage configuration options.

1. Mail Configuration
The Mail section allows you to configure SMTP settings for sending emails from the Writeback application.
Before configuring the settings, generate an app password for your email account if required.
- For a Google account, follow the Google app password instructions.
- For a Microsoft account, open Microsoft Security Info and follow the Microsoft app password instructions.
Expand Mail and configure the following fields:
- Server address-SMTP: Enter the hostname of your email provider's SMTP server.
- Port: Enter the SMTP port used by your email provider.
- Sender email: Enter the email address from which emails will be sent.
- Password: Enter the password or app password associated with the sender email account.
- Is secure: Enable this option if the SMTP connection requires a secure connection.
- TLS reject unauthorised: Enable this option to reject connections when the server's TLS certificate cannot be verified. Configure this according to your organization's security requirements.

Select Test connection to verify the SMTP configuration. Once the connection test succeeds, select Save to save the settings.
2. File Storage Configuration
The File Storage section allows you to configure storage locations for files used by the Writeback application.
- Expand File Storage.
- Under the Storages section, select New Storage.
- Select the required option from the Storage Type dropdown.
The available storage types are:
- Local Storage
- Microsoft Fabric Lakehouse
Local Storage
Select Local Storage from the Storage Type dropdown and provide the following details:
- Storage name: Enter a name to identify the storage configuration.
- Local Storage Path: Enter the directory path where files will be stored.
- Allowed file types: Specify the permitted file extensions, such as
.pdf,.xlsx, or.png. Enter*to allow any file type, or leave the field empty to use the global default.
Select Test connection to validate the configuration. After the connection test succeeds, select Save. Select Cancel to discard the configuration.
Microsoft Fabric Lakehouse
Select Microsoft Fabric Lakehouse from the Storage Type dropdown and provide the following details:
- Storage name: Enter a name to identify the storage configuration.
- Account URL: Enter the Microsoft Fabric storage account URL.
- Tenant ID: Enter the Microsoft Entra tenant ID.
- Client ID: Enter the application client ID.
- Client Secret: Enter the application client secret.
- Workspace/FileSystem Name: Enter the workspace or filesystem name.
- Lakehouse Name: Enter the name of the target Lakehouse.
- Folder Name (Folder in Files): Enter the folder name within the Lakehouse Files area.
- Allowed file types: Specify the permitted file extensions, such as
.pdf,.xlsx, or.png. Enter*to allow any file type, or leave the field empty to use the global default.

Select Test connection to validate the configuration. After the connection test succeeds, select Save. Select Cancel to discard the configuration.
Once the required settings are configured, proceed to Writeback Table Configuration to configure the Writeback table in a Qlik Sense application.