# 2025.2

### General

* Updated technical frameworks to the later versions.

### **Bug Fixes**

* Fixed an issue where users had to click twice to switch the stacked navigation tab.
* Resolved an issue where auto-refresh in the Portal cleared the selected record.
  * To improve this behavior, row preselection now works more reliably, provided that a primary column is defined in the Table configuration.
* Fixed an issue where the List of Values in the Filter portlet was incorrectly shared between users.
* Document viewer - Fixed an issue where the special character `/` was breaking JSON formatting.
* Document viewer - Corrected an issue to use the Binary Document Viewer to display images and enable downloads for unsupported file types, while still allowing PDFs to be handled via the Binary Workflow. See a set-up example below.

**Binary Document Viewer – Display Images and Enable File Downloads**

Setup Instructions:

1. Query/Machine Step Configuration\
   In your Query or Machine step, include the `Data` column only if the file is not a PDF. For example:

   ```sql
   SELECT
     DocumentMgmtId,
     DocumentMgmtType,
     FileName,
     IIF(DocumentMgmtType <> 'pdf', Data, NULL) AS Data
   FROM DocumentMgmt
   WHERE FileName = {filename}
   ```

   > ❗ It's important to return `NULL` for the `Data` column when the document type is PDF.
2. Binary Workflow Configuration\
   Set up a Binary Workflow that returns:
   * `FileName`
   * `FileType`
   * `Data`

Behavior:

* If `Data` is returned in the data source, the viewer will render images directly or display a Download button for unsupported file types.
* If `Data` is `NULL` (e.g., for PDFs), the Binary Workflow will be triggered to load and display the PDF.
