Starting with the WebUI 25.3 release, the WebUI App introduces a new feature that analyzes the WebUI setup (specifically the webui.json file) and reports issues related to widget, page, or other configuration aspects. This feature helps developers quickly identify and resolve issues through clear, actionable feedback.

If any issues are detected during WebUI startup or on the landing page, a webui-issues-icon warning icon appears in the WebUI Application header. When the header is too narrow to show all of its buttons, the warning icon moves into the “…” menu of the header, and its red dot is shown on the “…” button instead. See Header at reduced width.

_images/webui-issues-icon-1.gif

Clicking the webui-issues-icon warning icon opens a dialog displaying all identified issues.

  • Application Level Issues: These are issues identified during WebUI startup and are grouped under this header.

  • Page Level Issues: These are specific to the currently loaded page, helping to understand the issue within the context of that page, along with its resolution and potential impact.

Each issue includes a clear title, a descriptive message, and an action button.
For application-level issues, the button usually offers a “Navigate to Page” action that directs the user to the relevant page for further review and resolution.
For page-level issues, the button typically provides a direct fix or links to documentation with resolution steps suggested by the AIMMS WebUI team.

Note

  • This is a feature intended for App Developers only. Warnings and related issues are not visible to End Users.

Example

Issue with Table Sorting Configuration:

When rows or columns have been sorted, and additional actions such as applying a new sort or using the Visibility feature to hide adjacent rows or columns are performed, the table may sort incorrectly. This issue arises from how sorting information was previously stored. See the illustrations below for more details.

_images/webui_issue_with_table_sorting_2.gif

Because Table data can be dynamic and condition-based, we chose not to auto-correct sorting when the WebUI app loads or by default. Instead, these sorting issues are initially reported under Application Level Issues at startup, with relevant context and a button to navigate to the affected page. Reported again on the specific page containing the affected table, where more detailed context is provided. A Resolve button is made available, when clicked, it automatically corrects the table’s sorting configuration.

Important

  • Sorting-related issues are currently identified and reported only for Table V2 widgets. In WebUI apps where Table V2 is not yet enabled and Table V1 widgets are still in use, these issues will not be reported. We recommend upgrading to the latest Table V2 widget for enhanced functionality and continued support.

  • There is no Undo option for a sorting resolution once it is applied. Before clicking Resolve, ensure the table is fully loaded with the correct data, columns, and rows. The stored sorting information only holds the position of the sorted row or column, so Resolve works out which row or column that is:

    • If a row or column is shown at that position, Resolve keeps the table sorted on it, which is the row or column the table is sorted on right now.

    • If the table is sorted on an identifier column, and fewer identifier columns are shown than that position, for instance because columns before it are hidden, Resolve sorts the table on the identifier at that position in the table’s contents. A message tells you which identifier the table is now sorted on, so you can check that it is the intended one.

    The resolved sorting is applied to the table right away.

  • When App Developers or End Users reapply or newly apply sorting in Table V2, the sorting configuration is now saved correctly, and no further issues are expected.

  • When Resolve cannot correct the sorting, it keeps the stored sorting and the issue, and shows one of these messages:

    • “Resolution failed. Please try again.” The table has not finished loading yet, or the sorted row or column could not be retrieved from it. Wait until the table shows its data, and click Resolve again.

    • “The row or column this table is sorted on is not shown in the table right now. Show it and click ‘Resolve’ again, or sort the table again from its header.” The table is sorted on a row or column of elements that is currently hidden, for instance through the Visibility feature.

    • “The row or column this table is sorted on can’t be determined. Sort the table again from its header.” The stored sorting information does not point to a single row or column, for instance because the identifier at the stored position is listed more than once in the table’s contents.