Skip to main content

The Liberty Next workspace

The framework's own pages — the editors of the configuration, the administration of the install, its operation, its deployment and its documentation — form a workspace of their own, Liberty Next, offered to superusers in the application picker after the applications. The applications' menus keep their space for the end users.


At a glance​

Liberty NextLiberty Next▾LIBERTY NEXTOverview›Build›Data›Screens›Logic›Insight⌄AdministerAppPoolsAccessTheme›Operate›Deploy›DocumentENFR◐▦⏻App ✕App⟳ Reload configSave↶ DiscardThe installationServerDisplayLicenseSigning inSign-inOpenID Connect (SSO)SERVERAPP NAMEACME ERPENVIRONMENTproductionBIND HOST0.0.0.0PORT8000Hot-reload config TOML files on changeThe app pickerLiberty Next, after the appsOverview firstthe apps and the way to build oneBuild → Insightthe order an app is built inAdminister, Operate…the install, its runs, deliveryDeploy, Documentcheck, deliver, referenceThe framework's pagesfrom any app; Back to <app>Header buttonsDiscard, Save, Reload configList, then the picked itemthe same frame everywhere

Opening it​

  • In the application picker of the sidebar, Liberty Next comes after the applications.
  • The button at the right of the top bar — Liberty Next — the framework's pages — opens it from any application; inside the workspace, the same button reads Back to <app> and returns to the last application used.

Users who are not superusers see neither the entry nor the button.


The menu opens on Overview and then follows the order an application is built in.

GroupPageEditsSee
—OverviewThe applications of the installation and the eight steps that build one.Overview and Studio
BuildStudioThe map of an application — menu, screens, data, services — edited in place.Overview and Studio
AssistantOpens the Screen Assistant.Screen Assistant
DataConnectorsQueries, tables, sequences and lookups of SQL connectors; endpoints of API connectors; connector settings.Connectors, Queries, API endpoints
DictionaryEntries, enums, lookups, sequences.Dictionary
ScreensScreensGrids, record forms, actions — the Screen Designer.Screens
MenusThe sidebar tree of each application.Menus
LogicServicesSequences of steps drawn as a flow, run and exposed as endpoints.Services
TestsNon-regression tests of the API endpoints.Tests
NotificationsNotification rules.Notifications
AIWhat each application ships for the AI assistant: starter questions and playbooks.AI assistant
InsightDashboards, ChartsDashboards and their cards; saved charts.Dashboards, Charts
ExplorerThe Data Explorer's models.Build a model
Report templatesThe report templates written by the operators; the PDF branding of the install is under App.Report templates
AdministerAppEvery setting of the install, in four groups: the installation, signing in, what is switched on, running it.App settings
PoolsThe installation's connections — databases, HTTP servers, LDAP directories: address, account, schemas, database links, tuning — with Test connection.Connectors
AccessUsers and roles.Users, Roles and permissions
ThemePalette, fonts and text size, previewed in dark and in light.—
OperateTest resultsHow the tests went, run after run.Test results
MonitoringThe live view of the instance.The Monitoring page
JobsThe Nomaflow jobs.Jobs
DeployIntegrityThe cross-checks of the whole configuration: check, then deliver.—
Package, Changes, HistoryPackages, change packages, configuration history.Packages, Change packages, Configuration history
DocumentDeveloper reference, Documentation reportsThe reference of every setting; the generated reports.Developer reference, Documentation reports
Release notesThe notes of the running version, one version at a time, with a search across every version.—

Each page has its own address — /liberty/screens, /liberty/app… —, so a page can be bookmarked or sent as a link.

One frame for every editor​

The editors share the same frame: the list on the left with a line that says what each item is, the picked item beside it, and the page's buttons — Discard, Save, the Add of the page, Reload config — in the page header, always at the same place. What is drawn is drawn the same way everywhere: a screen as six stages, a table as its read and write statements, a pool, an endpoint, a job and a service as flows of cards, with the picked card edited beside the flow. In the sidebar, the menu's right edge is dragged to resize it.

What the forms say​

The forms of the editors name each setting in plain words — Dictionary item, Kind of field, History table, Read only when changing — with one short sentence of help under the field; more, at the end of that sentence, opens the longer explanation and its examples. A choice is said in words too, with its code beside it when it has one (LOOKUP — A list read from a table).

An editor names what it edits by its label, followed — smaller — by its application and its technical id: Screen Designer · Orders demo · orders. A new screen, dashboard or service is given a name (Its name:); its technical id is made from that name and shown while it is typed — Customer orders gives customer_orders, followed by _2 when the id is already taken.


Saving​

  1. Save sends the edited configuration; the server validates it against its model and refuses an invalid one, listing what to correct — see A refused save.
  2. The file is written. A version of the previous content is kept in Deploy → History.
  3. The change is applied: at once when the server watches its files (Hot-reload config TOML files on change in Administer → App → Server, the default), or with Reload config otherwise.

Reload config, at the top of every editor page, re-reads every configuration file into the running server — Reloaded — 12 connectors, 340 dictionary entries, 4 apps. A reload rebuilds the connectors from the new files; if they fail, the previous configuration stays active. The pools are not reloaded by the file watcher, so that a running query never loses its connection: after changing a pool, use Reload config.

Files are rewritten from the saved model: comments written by hand in a file are not kept.

A refused save​

A save the server refuses writes nothing. The editor shows, above what is being edited, one line per thing to correct: where it is, in the editors' own words — the application, then each object by its label and the field by its form label —, then what is wrong, and Open to go to the object.

Screens↻ Reload configConnector:crmdemo💾 Save↶ Discard+ Add screenNot saved — 2 things to correct:demo › Screen "Orders" › Column "B" › Kind of fieldmust be textOpendemo › Screen "Orders" › Column "ABAN8" › Dictionary itemis requiredOpencustomersCustomers · demo.customers_get · 2 tabs · 9 fields✎ RenameordersOrders · demo.orders_get · 1 tab · 6 fields✎ RenameNothing writtenthe file stays as it wasWhere, in the editors' wordsapplication › object › fieldWhat is wrongone line per problemOpengoes to the object
Part of a lineExample
Wheredemo › Screen "Orders" › Column "B" › Kind of field
What is wrongis required, must be text, must be a whole number, must be yes or no, must not be empty, has characters that are not allowed here, "…" is not a setting that exists here…
OpenOpens the object in its editor — the screen in the Screen Designer, the entry in the Dictionary, the menu entry in its tree. No Open when the object is the one already in front.

A refused save keeps the designer or the editor window open, with the problems shown in it: what was typed is not lost.

Some editors check before sending, and say what to correct the same way:

  • Menus — an entry that opens nothing, two entries with the same id, an entry under a folder that does not exist. See Build the menu tree.
  • Jobs — a job without an id or whose id is another job's, a step without a name or without what it acts on (its source, target, query, function, address, recipients…), a step that starts a job that does not exist, two presets with the same name. See Create a job.

Tips​

  • Save one editor at a time and check the result before moving to the next.
  • Keep the configuration under version control on the server; History keeps the recent versions, not the whole story.
  • Prefer the editors to hand edits: they refuse what the server would refuse. The Developer reference says, for every setting, which page edits it.