Skip to content

Server Configuration

After installing the Writeback server, connect it to Qlik Sense and to your databases from the Writeback settings page.

Database-based Writeback

This page applies to Database-based Writeback. File-based Writeback needs no server configuration.

The Settings Page

Open http://localhost:4001/settings in a browser on the Writeback server. After you enable HTTPS, use https://localhost:4001/settings — the browser may warn that the certificate does not match localhost, which is expected here.

Note

Always use localhost. The settings page only accepts connections from the server itself, so opening it with the server's host name or IP address returns Don't have access to the config setup!, even on the server.

The page has four tabs:

Tab What you configure
Connection Database connections and the tables Writeback may use
Qlik Connection to Qlik Sense Enterprise or Qlik Cloud
Proxy The Writeback server's port and HTTPS certificate
Other File storage for attachments, and mail settings

Writeback settings page

Writeback settings page

How saving works on every tab

  • Save stays disabled until Test connection succeeds. Editing any field disables Save again until you test again.
  • Saved passwords and secrets are shown as ********. Leave them unchanged to keep the stored value.
  • After saving, select Sync in the page header to apply the changes. The server restarts and the page reloads after a few seconds.

Recommended order: Qlik → Connection → Proxy → Other.

Qlik

Select the platform your Qlik Sense apps run on.

Qlik Sense Enterprise

Field Description Default
Qlik host Fully qualified host name of the Qlik Sense server — the name in its certificate, for example qlik.company.com —
Qlik repository port Qlik Repository Service port 4242
Qlik proxy port Qlik Proxy Service port 4243
WebSocket port Qlik Engine port 4747
Qlik root admin Root admin user in DOMAIN\user format —
Client cert client.pem —
Client key cert client_key.pem —
Root cert root.pem —

Qlik Sense Enterprise configuration

Qlik Sense Enterprise configuration

Use the certificate host name

Enter the host name exactly as it appears in the Qlik Sense certificate. localhost, an IP address or a short name fails certificate verification even when the certificates are correct.

Tip

The certificate files must keep their exact names: client.pem, client_key.pem and root.pem. See Prerequisites for how to export them.

Select Test connection, then Save.

Qlik Cloud

Writeback connects to Qlik Cloud with an OAuth client that can act on behalf of a Qlik user.

Create the OAuth Client

  1. In Qlik Cloud, open Administration › OAuth and select Create new.

    Create OAuth client

  2. Complete the form:

    Field Value
    Client type Web
    Name / Description For example SenseOps Writeback
    Scopes user_default, admin_classic, offline_access
    Redirect URLs / Allowed origins The Writeback server address, for example https://writeback.company.com:4001
    Allow Machine-to-Machine (M2M) Enabled
    Allow M2M user impersonation Enabled
  3. Select Create. Copy the Client ID and Client secret.

    Warning

    The client secret is shown only once. Store it securely.

    OAuth Client ID

  4. Open the menu (⋮) next to the new OAuth client, select Change consent method, choose Trusted, and confirm.

    OAuth consent method

  5. Open Administration › Users, find the user Writeback should act as, and copy the IdP subject.

    IdP subject

Enter the Qlik Cloud Details

Field Description Default
HTTPS port Qlik Cloud port 443
Qlik user mail Email address of the user from step 5 —
IdP subject IdP subject from step 5 —
Qlik tenant host Tenant host name, for example company.eu.qlikcloud.com —
Client ID From step 3 —
Client secret From step 3 —

Qlik Cloud configuration

Qlik Cloud configuration

Select Test connection, then Save.

Connection

Add a connection for each database Writeback will write to.

Create a Database Connection

  1. Open the Connection tab and select New connection.
  2. Select the database type in Dialect.
  3. Enter a Connection name.
  4. Complete the fields for the selected database (below).
  5. Select Test connection. If it fails, the message shows the reason reported by the database.
  6. Select Save, then Sync.

Connection Fields

Select the Authentication method.

Field Description Default
Host Database server host name or address localhost
Port SQL Server port 1433
User name / Password SQL Server login —
SSL Require No effect for SQL Server — connections are always encrypted and the server certificate is verified Off
Trust server certificate Accept the server certificate without verifying it. Use only for a SQL Server with a self-signed certificate. Off
Field Description Default
Host / Port Database server and port 1433
Domain Windows domain of the account —
Windows user name / Windows password Domain account with database access —
Instance name Named instance, if any Optional
SSL Require / Trust server certificate As for SQL Server authentication Off
Field Description
Server Database server address
Tenant ID Microsoft Entra tenant ID
Client ID Application (client) ID
Client Secret Client secret value
Database Target database

See Microsoft Entra application setup.

Field Description
Server Warehouse SQL endpoint, for example xxxx.datawarehouse.fabric.microsoft.com
Tenant ID Microsoft Entra tenant ID
Client ID Application (client) ID
Client Secret Client secret value
Database Warehouse name

Note

Requires Microsoft ODBC Driver 18 for SQL Server on the Writeback server. A paused or unreachable warehouse fails the test after 35 seconds. See Microsoft Entra application setup.

Field Description Default
Host Database server host name or address localhost
Port PostgreSQL port Usually 5432
Database Target database postgres
User name / Password Database login —
SSL Require Encrypt the connection and verify the server certificate Off

Tip

The Port field may be pre-filled with 4432. Replace it with your PostgreSQL port — normally 5432.

Field Description Default
Host Database server host name or address localhost
Port Listener port 1521
User name / Password Database login — must own the destination tables —
Service/Instance Name Oracle service or SID —
SSL Require Encrypt the connection Off
Field Description Default
Host Database server host name or address localhost
Port Database port 3306
User name / Password Database login —
SSL Require Encrypt the connection Off
Field Description Example
Account Snowflake account identifier myorg-myaccount
User name / Password Snowflake login —
Role Role used for the session PUBLIC
Warehouse Virtual warehouse —
SSL Require Encrypt the connection Off

Port numbers

Port fields accept values up to 9999.

Microsoft Entra Application Setup

SQL Server with SPN authentication, Fabric Warehouse and Fabric Lakehouse storage use a Microsoft Entra application (service principal).

Create the application and client secret
  1. Open the Microsoft Entra admin center and go to Entra ID › App registrations.
  2. Select New registration, enter a name and select Register.
  3. On the Overview page, copy the Directory (tenant) ID and Application (client) ID.
  4. Open Certificates & secrets › Client secrets and select New client secret.
  5. Enter a description and expiry, select Add, and copy the secret Value immediately. Use the Value, not the Secret ID.
  6. Grant the application access to the target database, warehouse or Lakehouse. For Fabric, a Fabric administrator may need to enable service principal access in the tenant settings and add the application to the workspace.

See Microsoft's application registration guide for details.

Client secrets expire

Note the expiry date. Create a new secret and update the connection on the settings page before it expires, or Writeback will stop saving.

Table Access

Each saved connection has a Full Access option and a Table Entitlements list. They control which tables appear in the Writeback configuration wizard.

Setting Effect
Full Access on The wizard lists every database, schema and table the database account can see.
Full Access off The wizard lists only the tables added under Table Entitlements. Use Add Table to add an existing table.

Create a Table

Create Table under Table Entitlements creates a new table in the database. Define each column's name and data type. Text lengths can be 1–8000 or max; numeric precision can be up to 38.

Create Table replaces an existing table

If a table with the same name already exists, Create Table deletes it and creates it again — all its data is lost. Check the name first, or ask your database administrator to create the table.

Use Create Table to create a history table as well: it must contain all columns of the main table plus the Created by and Created at columns.

Proxy (HTTPS)

The Proxy tab sets the port the Writeback server listens on and enables HTTPS.

Field Description Default
Port Port users' browsers connect to 4001
Is secure Serve HTTPS Off
Proxy cert Certificate in .pfx format, issued for the server's host name —
Password Password of the .pfx file —

Writeback proxy configuration

Proxy configuration

To enable HTTPS:

  1. Select Is secure.
  2. Upload the .pfx certificate and enter its password.
  3. Select Test connection, then Save, then Sync.
  4. Open https://<server host name>:4001/health to confirm. HTTP requests are redirected to HTTPS automatically.
  5. Make sure serverURL in the extension's config.json uses the same https:// address. See Installation › Prepare the extension.

Check HTTPS really started

If the certificate or password is wrong, the server starts with plain HTTP instead and writes an error to the log. Always confirm step 4.

Changing the port

After changing the port, also update the Windows firewall rule and serverURL in config.json. If the page shows a message about SenseOps Engine › Sync All, ignore it and select Sync in the page header.

Other

File Storage

Configure where files uploaded through a File column are stored. Each storage has its own list of allowed file types.

  1. Expand File Storage and select New Storage.
  2. Choose the Storage Type and complete the fields below.
  3. Select Test connection, then Save.
Field Description
Storage name Name shown when configuring a File column
Local Storage Path Folder for uploaded files, relative to the installation folder, for example uploads\attachments
Allowed file types See Allowed file types

Warning

Use a relative path. Absolute paths such as D:\Files can pass the test but fail when a file is saved.

Field Description
Storage name Name shown when configuring a File column
Account URL OneLake URL, for example https://onelake.blob.fabric.microsoft.com
Tenant ID / Client ID / Client Secret Microsoft Entra application — see setup
Workspace/FileSystem Name Fabric workspace name
Lakehouse Name Target Lakehouse
Folder Name (Folder in Files) Folder under the Lakehouse Files area
Allowed file types See Allowed file types

File storage configuration

File storage configuration

Allowed File Types

Entry Meaning
.pdf, .xlsx, .png Only these extensions are accepted
* Any document type
(empty) Use the server-wide default (* unless changed — see Advanced settings)

Whatever you allow, executable files are always rejected, and a file whose content does not match its extension is rejected. The maximum file size is 25 MB by default.

Mail

The Mail section stores SMTP settings. It is optional — the current release does not send email — and is reserved for notification features.

Field Description
Server address (SMTP) SMTP host name
Port SMTP port
Sender email / Password Sending account. For Google or Microsoft accounts, use an app password.
Is secure Use a secure (TLS) connection
TLS reject unauthorised Reject the SMTP server if its certificate cannot be verified

Mail configuration

Mail configuration

Advanced Settings

A few settings are available only in the configuration file config\globalConfig.json in the installation folder.

Edit with care

Back up the file before editing, keep it valid JSON, and do not edit encrypted values. Restart the SenseOps Writeback service after saving.

Setting Default Description
validation.fileSize 25 Maximum upload size in MB
validation.fileTypes ["*"] Server-wide allowed file types, used when a storage's Allowed file types is empty, for example [".pdf", ".xlsx"]
validation.production_origins [] Additional addresses users open Qlik Sense from, such as a DNS alias, for example ["https://bi.company.com"]
auditChangedColumnsOnly false What a history row contains for an edited row — the full row, or only the changed columns. See History table content.

Database connection options — inside a connection's option object:

Setting Default Description
sslCa — File name of the database's CA certificate, placed in data\cert
sslRejectUnauthorized true false accepts an unverified database certificate. Use only for testing.

History Table Content

auditChangedColumnsOnly decides what is written to a history table when a user edits an existing row. It applies to all history tables on the server.

Every history row is a complete copy of the row after the change.

Region Product Forecast Comment Status Created by Created at
North Laptop 1200 Q3 uplift Open jsmith 2026-11-03 10:15
  • Best for: reporting and point-in-time views — each history row shows the whole record as it was.
  • History table columns: may be defined NOT NULL where the main table is — unless you also use bulk update with history (see What is not affected below).

Each history row keeps the key columns, any File columns, the columns whose value changed, and the user and timestamp. Every other column is stored as NULL.

Region Product Forecast Comment Status Created by Created at
North Laptop 1200 NULL NULL jsmith 2026-11-03 10:15
  • Best for: seeing at a glance what each user changed.
  • History table columns: every column other than the keys and audit columns must allow NULL, otherwise the save fails and is rolled back.

What is not affected

Situation History row content
New rows (inserts) Always the full row, whatever the setting
Bulk updates Always the key columns, the changed column and the user and timestamp; other columns NULL — whatever the setting. If you use bulk update with history, the history table's non-key columns must allow NULL.
No history table configured Nothing is written; the setting has no effect
The row's previous values cannot be matched The full row is kept, so no change is ever lost

Performance

The number of history rows is the same with either setting — one per inserted or edited row. With true, the server compares each edited row with the values the user started from. That comparison happens in memory using values already sent with the save, with no extra database queries, so the effect on save time is negligible. History rows are smaller, which can reduce storage for wide tables.

Choosing a setting

Keep the default (false) if reports read the history table as a series of complete snapshots. Use true when the history table is mainly an audit trail and the main table is wide.

Change the setting with care

Switching to true on an existing history table changes the meaning of its rows from that point on: older rows are complete, newer rows are partial. Make sure the history table's columns allow NULL before switching, and tell the people who report on it.

When to use production_origins

The server accepts requests from the configured Qlik host or tenant. If users reach Qlik Sense through a different address — an alias, a load balancer or a reverse proxy — add that address here, or saving fails from those addresses.

Once the server is configured, continue to Table Configuration.