Ninext plugin v3.x Beta
๐ Ninext 3.1.0 beta is available!
Hello everyone,
A beta version of Ninext 3.1.0 is now online. It brings several major new features and a solid round of fixes compared to 3.0.5. Your feedback on this beta is very welcome before the official release.
โ๏ธ Installation: to use this plugin, you first need to uninstall Ninext v3 and then install Ninext v3 Beta.
What's new
An interactive console to run Ninox code

A new "Console" tab lets you write Ninox code and run it on the fly, like an interpreter. The execution context is configurable:
- Live โก โ automatically uses the record currently open in Ninox (follows you as you switch records)
- Record โ you pick the record yourself
- Formula โ the context is defined by a formula you write
- None
The editor offers syntax highlighting, auto-completion, input help, error markers, a history of the last 50 commands (Alt + โ/โ), and results displayed as raw value, expandable tree, or record table (with direct opening of records).

Visual and interactive dependency tree

The dependency tree has been completely rebuilt. You can now explore dependencies downstream (as before: which formulas depend on a field) but also upstream (which fields feed a formula). It's available as a hover preview on a field and as a full tab inside Fields & Fx:
- Cells sharing the same parents are grouped into clusters you can drag with the mouse
- Memorization of positions, hidden cells and pagination
- Colored level bands (-2, -1, 0, +1, +2โฆ), chain highlighting on hover, secondary branches dimmed
- Fullscreen mode, image copy (PNG, SVG, or clipboard)
Information badge on field hover

In admin mode, a badge appears when hovering a field and gives 4 shortcuts โ no need to pre-select the field to edit it:
- Returned type of the field (or declared type)
- Full formula in a tooltip (syntax-highlighted, with a Copy button) โ click to open the Ninox formula editor directly
- Key button to open the Ninox field editor window directly
- Dependency counter (color = criticality level) โ hover for the graphical preview, click to select the field in Fields & Fx
The Finder now explores reports too
Search and the dependency tree now analyze the content of Ninox print reports: text templates with formulas in braces, formula-generated HTML blocks, revision columns, image fields with formula, and Carbone data sources.
Note about Carbone: only the data source formula is analyzed. The names of fields inserted in the Word file are not yet accessible to Ninext.
Field navigation history

An icon in the Ninext panel header opens the list of fields you have already visited through Ninext:
- Up to 50 entries kept throughout the day
- List with timestamps and breadcrumbs, plus a button to clear history
- Also tracks reports, global functions and the After Open trigger
Heads-up: fields opened directly from Ninox (without going through Ninext) are not yet recorded in the history.
Code Finder: search history and saved preferences
- Last 20 searches in a dropdown
- Per-database memorization of search preferences (regex, case sensitivity, whole words, filters)
- Result pagination in batches of 100
Support for external databases
When your database uses fields or tables from other databases of the same team, they now appear in the Fields & Fx list and in the dependency graph, marked with a dedicated icon.
New onNinextLoaded hook in the After Open trigger
If you define an onNinextLoaded(event) function in the After Open trigger of your database, Ninext automatically calls it once it is truly loaded and operational. The current Ninext version is passed via event.version.
Why it matters: when Ninox starts up, the After Open trigger runs before Ninext is installed. As a result, NativeJS is not yet operational at that point, and any JavaScript code depending on it silently fails if you try to run it directly from After Open.
With onNinextLoaded, you finally have a reliable entry point to:
- run JavaScript code through NativeJS at startup, knowing for sure that Ninext is ready
- adapt your database's behavior based on the detected Ninext version (
event.version) - trigger initializations that depend on Ninext features (badges, console, history, etc.)
Minimal example:
function onNinextLoaded(event : any) do
alert("Ninext " + event.version + " is ready");
" โฆ your JavaScript / NativeJS code here";
end;
This is a beta โ we'd love your feedback!
If you give this version a try, please report any unexpected behavior, improvement suggestion or new idea:
- Directly in this forum thread
- info@umangenius.com
Many thanks to everyone who takes the time to test it.
Happy testing!
2 replies
-
๐ง Ninext 3.1.1 is available
Hello everyone,
Here is Ninext 3.1.1, following 3.1.0. It brings a few improvements (multilingual help, support for the After Open trigger, a clearer dependency tree) and, above all, a solid round of fixes to make the Errors tab, buttons, view clicks and help page more reliable.
โ๏ธ Installation: uninstall the previous version of Ninext, then install Ninext 3.1.1.
New & improved
Ninext function documentation is now multilingual
The help for Ninext-specific functions is now available in 10 languages (French, English, German, Italian, Spanish, Catalan, Polish, Russian, Simplified and Traditional Chinese). It automatically follows your Ninox language, with no need to reload the plugin.
The "After Open" trigger in Fields & Fx and the dependency tree
The database "After Open" trigger now appears as a dedicated entry (next to Global Functions) at the top of the Fields & Fx list, with its own icon. Its content is analyzed by the Finder, so you'll find it in search and in the dependency tree. A natural complement to the
onNinextLoadedhook introduced in 3.1.0.Dependency tree: more precise highlighting
In multi-level trees, each cell now highlights the name of its direct parent (the field or formula it depends on), instead of always highlighting the central field. Dependency chains are easier to follow.
Console: date and time on every result
Each result shown in the Console now displays its full date and time, next to the execution time. The information is preserved after the database is reloaded.
Fixes
Reliable "Errors" tab
- No more false errors at startup. The tab could show "ghost" errors (typically NativeJS formulas
#{ โฆ }#wrongly flagged) when the database loaded, and stay stuck on them until you edited the schema. Fixed: these transient errors now clear by themselves once the database is truly loaded. - Consistent error count. At startup, the announced count could mismatch the displayed list (e.g. 5 lines shown but "1 error"). The counter and the list are now always in sync.
- Cleaner layout. A single separator line between errors instead of two.
Custom buttons (
onUpdate)A button's caption, color and badge are again applied correctly when your
onUpdatefunction does asynchronous work. Previously they could fail to show.Many thanks to Bob for reporting this bug and for his patience!
View click (
onclick)Fixed a case where an asynchronous
onclickcould trigger the selection twice (the default selection and your custom one). The decision is now fully driven by your code.Help page
Fixed horizontal overflow of the help page and the rendering of code blocks and examples: long lines now wrap, and the stray separator lines between rows (inherited from Ninox's styling) are gone.
Change
Reworked navigation history
The history moves from a back / forward logic (the two โ โถ buttons) to a "most recently used fields" (MRU) list, with a single button in the header:
- Each field you visit moves to the bottom of the list, with no duplicates.
- The bottom of the list therefore always reflects the fields (or global functions) you actually used last.
- Clicking an entry selects the field without reordering the list, and highlights that entry.
- Still up to 50 entries kept throughout the day.
Your feedback
Please report any unexpected behavior or suggestion:
- Directly in this forum thread
- info@umangenius.com
Many thanks to everyone who takes the time to test it. Take care!
- No more false errors at startup. The tab could show "ghost" errors (typically NativeJS formulas
Content aside
-
5
Likes
- 19 hrs agoLast active
- 2Replies
- 46Views
-
2
Following

