Introducing a new way to review your PRs.

Read the announcement

combodo / itop

A simple, web based CMDB & IT Service Management tool

View on GitHub

17 documents · Updated Nov 20, 2026

docs / application-experience

Application experience

The back-office application is the main web workspace for iTop operators. It turns an incoming request into a user-aware page with navigation, object views, forms, search, dashboards, and small interactive updates. The experience joins the request lifecycle with shared page layouts and reusable UI blocks, while related pages explain request routing and UI rendering, identity and user state, search, dashboards, and news, and HTTP request contracts.

Request and page lifecycle

The application starts at the public front door and prepares the session and data model before it handles back-office work. The main UI entry point first checks login state, then gives named routes to the router and keeps older operation-based requests working for pages that still use them. Shared request helpers validate route and operation values before dispatch and track archive visibility for the current request. They also sanitize other request values and provide the application-root URL used by generated links. Controllers can return a full HTML page, an asynchronous page, a focused form update, JSON, or a download. The application data model declares the back-office portal at pages/UI.php and keeps portal users outside this entry point. References: index.php• L3-34, application/startup.inc.php• L28-80, application/datamodel.application.xml• L76-85, pages/UI.php• L228-269, sources/…/Controller.php• L63-67, sources/…/Controller.php• L264-317, application/utils.inc.php• L278-321, application/utils.inc.php• L337-475, application/utils.inc.php• L1030-1047

This flow shows how a browser request becomes an application response.

flowchart LR
    A[Browser request] --> B[Application front door]
    B --> C[Session and environment]
    C --> D[Data model]
    D --> E[User login and rights]
    E --> F{Named route?}
    F -->|Yes| G[Route controller]
    F -->|No| H[Legacy UI operation]
    G --> I{Response type}
    H --> I
    I -->|HTML| J[Back-office page]
    I -->|Async| K[Partial or form update]
    I -->|JSON or file| L[Direct response]
    J --> M[Page layout and UI blocks]
    K --> M
    M --> N[HTML and client scripts]

The front door sends an unconfigured instance to setup. A configured instance sends normal traffic to pages/UI.php, which loads the application classes and startup service. Startup opens the session, selects the active environment, and loads the data model from its configuration. Configuration lookup uses the current environment first and falls back to the production environment when needed. The UI page then checks login state before it dispatches a route or an operation. Basic authentication can supply that login state through the login state machine. It reads the request credentials, checks them against internal users, and records the authenticated user in the session. References: index.php• L3-34, application/startup.inc.php• L28-80, application/datamodel.application.xml• L76-85, pages/UI.php• L249-283, application/utils.inc.php• L934-985, application/loginbasic.class.inc.php• L24-82

Named routes provide the newer request path. Legacy operations remain important because they cover object details, object search, create and modify forms, state changes, deletion, bulk work, and full-text search. The page keeps these operations under one user-facing entry point, so links can preserve the current application context as the user moves through a task. References: pages/UI.php• L249-283, pages/UI.php• L288-450, pages/UI.php• L572-716, application/applicationcontext.class.inc.php• L90-124

Interactive requests use the same authenticated application boundary. pages/ajax.render.php checks the user and protects non-GET calls before it sends a named route or legacy operation to a controller. The response can replace a block, return data for a widget, run client code, update activity or navigation state, refresh custom form fields, change an object, acknowledge a welcome message, or deliver a file. References: pages/ajax.render.php• L31-116, pages/ajax.render.php• L589-626, pages/ajax.render.php• L2253-2389

Back-office shell

The back-office shell gives each normal page a stable frame around changing content. It combines the navigation menu, top bar, page content, banners, footer, deferred blocks, and client templates. A page can replace or extend these areas without changing the main request flow.

The shell presents these user-facing areas:

AreaUser purpose
Navigation menuMove between enabled application areas and filter menu entries.
Top barStart quick creation, use global search, follow breadcrumbs, and access page actions.
Page contentShow the current page, object, form, list, or dashboard.
Banners and alertsShow access limits, archive mode, application messages, and extension content.
Deferred blocks and templatesSupport content that must render outside the main flow, such as dialogs and loaders.

The shell is built by iTopWebPage and rendered by the back-office Twig templates. The page object collects content blocks and assets first. Its final render then passes the layouts, styles, scripts, translations, and templates to Twig. References: sources/…/iTopWebPage.php• L123-157, sources/…/iTopWebPage.php• L773-949, templates/pages/backoffice/itopwebpage/layout.html.twig#L3-L48, templates/base/layouts/page-content/layout.html.twig#L1-L24

The navigation menu derives its groups from the application menu and the current context. It can show the application brand, a collapsed or expanded state, an organization filter, newsroom access, and the current user's identity. The top bar holds optional quick create, global search, breadcrumbs, toolbar blocks, and extension actions. These parts make navigation and task actions available without taking space from the page content. References: sources/…/NavigationMenu.php• L107-132, sources/…/NavigationMenu.php• L317-415, sources/…/TopBar.php• L38-74, sources/…/TopBar.php• L204-257, sources/…/TopBarFactory.php• L52-81, templates/base/layouts/navigation-menu/layout.html.twig#L1-L123, templates/base/layouts/top-bar/layout.html.twig#L1-L18

The application data model supplies the menu structure that the shell presents. It groups the welcome dashboard, shortcuts, user management, query tools, integrations, notifications, and system tools. Menu entries can also carry access resources, so the visible navigation follows the user's rights instead of exposing every application area. References: application/datamodel.application.xml• L87-220, sources/…/NavigationMenu.php• L107-132

Content and interaction model

The application represents page content as a tree of UI blocks. A UI block is a reusable unit that can provide markup and declare the assets or client behavior needed for that markup. A page content layout places these blocks in the main area. This model lets object details, forms, lists, panels, tabs, activity views, and dashboards share the same page frame.

DisplayBlock is the query-backed bridge for common object content. It can turn an object filter or set into a list, search form, count, summary, chart, CSV view, or action badge. It applies application context and read rights before it renders the result, so the same block model supports both page content and dashboard content. References: application/displayblock.class.inc.php• L34-40, application/displayblock.class.inc.php• L520-596, application/displayblock.class.inc.php• L633-797, application/displayblock.class.inc.php• L1365-1427

Object details use the shared panel layout to show the object's class and current status as part of the page header. The class label can link to the data model schema when that menu is enabled, while the status area gives the user a visual state marker. The layout keeps this identity and status metadata available to the page and client behavior. References: templates/base/layouts/object/object-details/layout.html.twig#L3-L28

Content can be added in two ways:

  • A page adds a block to the current content layout.
  • A page selects a named content layout and then places blocks into its main area.

When a page has tabs, added content goes to the active tab. When a block needs content after the main page markup, the page records it as deferred content. This supports dialogs, loaders, and asynchronous UI without mixing their markup into the main content. References: sources/…/WebPage.php• L492-527, sources/…/PageContent.php• L37-61, sources/…/PageContent.php• L68-117, sources/…/iTopWebPage.php• L956-1049, sources/…/TabContainer.php• L37-57

The browser receives the assets in a known order. Early scripts run before linked files. Normal scripts run after linked files. Initialization and ready scripts run when the document is ready. This order allows a UI block to add the client code it needs while keeping page startup predictable. Asynchronous responses can return only data or can return blocks with their assets and scripts. References: sources/…/WebPage.php• L38-60, sources/…/WebPage.php• L657-821, sources/…/AjaxPage.php• L178-240, templates/pages/backoffice/webpage/layout.html.twig#L22-L49, templates/pages/backoffice/webpage/layout.html.twig#L86-L145

The asynchronous boundary supports both small controls and larger page changes. Search results, dashboard widgets, object pickers, dependent form fields, custom form fields, shortcut dialogs, user-picture changes, activity panels, menu counts, object changes, and welcome-message acknowledgement can update part of the current page without rebuilding the full shell. Display blocks can show a loading state, replace their own container, and refresh at a configured interval. The caller decides whether it needs HTML, JSON, plain text, or a client-side action. References: pages/ajax.render.php• L116-179, pages/ajax.render.php• L519-579, pages/ajax.render.php• L906-1043, pages/ajax.render.php• L1165-1291, pages/ajax.render.php• L2253-2389, application/displayblock.class.inc.php• L557-596, application/displayblock.class.inc.php• L799-848

Action controls and accessibility metadata

Action controls give pages one shared way to expose a link, a client action, or a visual separator. The action model carries a stable identity with its label, icon, and tooltip. The UI layer maps these actions into buttons, top-bar actions, activity-panel actions, or popover items. This keeps extension actions usable across different parts of the back office. References: sources/…/tActionCommon.php• L23-81, sources/…/tActionJs.php• L23-56, sources/…/tActionURL.php• L23-56, sources/…/TopBarQuickActionFactory.php• L34-73, sources/…/ActivityPanelActionFactory.php• L37-148

Object lists, object details, and dashboards can add standard popup actions such as exports, printable views, dashboard import or export, and shortcuts. The menu layer checks the user's rights before it exposes these actions, then adds extension actions to the same action set. References: application/utils.inc.php• L1423-1489, application/utils.inc.php• L1492-1580

UI blocks can attach data-* values for client behavior and ARIA values for assistive tools. The block keeps these values with the rendered element and passes them through when an action moves between a button and a popover item. Buttons and action controls use their visible label as the accessible name when one exists. Icon-only controls use their tooltip as the fallback. References: sources/…/UIBlock.php• L146-153, sources/…/UIBlock.php• L574-685, sources/…/DataAttributes.php• L12-80, sources/…/AriaAttributes.php• L12-64, sources/…/Button.php• L276-293, sources/…/PopoverMenuItem.php• L162-186

Button bars keep action groups usable when the available width is small. They show a selected set of buttons in the bar and move the remaining items into a popover. The bar can fit items to the available width, keep a fixed number visible, or start overflow after a chosen marker. The same action and separator remain available in the overflow menu. References: sources/…/ButtonBar.php• L33-99, sources/…/ButtonBar.php• L130-193, sources/…/ButtonBar.php• L196-289, sources/…/ButtonBarUIBlockFactory.php• L41-133, sources/…/PopoverMenuItemFactory.php• L143-189

Fields join a label to a value block and can carry state such as read-only, mandatory, hidden, or needing a change. They can also expose field actions. When the action list is long, the field groups those actions behind a menu instead of expanding the page. References: sources/…/Field.php• L18-71, sources/…/Field.php• L293-431, sources/…/FieldUIBlockFactory.php• L42-108

Forms and user workflows

Forms turn an object task into a guided exchange between the browser and the application. The same page model supports full-page forms and smaller asynchronous forms. Form blocks carry the action and submit behavior. Object operations add fields, validation state, buttons, and application context so a user can create, edit, delete, or change the state of one or more objects.

Designer forms also support focused controls such as choice fields, nested subforms, property sheets, and dialogs. These controls preserve the values and labels supplied by the workflow while applying read-only rules and validation before the form reads submitted parameters. This gives interactive editors a consistent way to present choices without changing the larger form submission model. References: application/forms.class.inc.php• L28-140, application/forms.class.inc.php• L196-304, application/forms.class.inc.php• L1227-1304, application/forms.class.inc.php• L1613-1773

Wizard-backed forms rebuild the target object from the values held by the browser. The workflow can include linked objects, uploaded documents or images, external references, dates, tags, and sets. The helper also returns field defaults and allowed-value updates so dependent fields can refresh while the user stays in the form. Custom fields can request only the affected controls and receive a JSON update for the current form. References: application/wizardhelper.class.inc.php• L39-177, application/wizardhelper.class.inc.php• L180-224, application/wizardhelper.class.inc.php• L231-326, pages/ajax.render.php• L2253-2279

A state-change workflow can either complete at once or ask for fields that the target state requires. The application checks that the action is valid for the object and user. If more data is needed, it sends the user to a form. After submit, it validates the transaction and action before it writes the object and returns the user to its details or result view. References: pages/UI.php• L55-101, pages/UI.php• L1033-1081, pages/UI.php• L1085-1119, sources/…/Form.php• L13-89

The application context is the small set of navigation values that must survive a link or form submit. It can include the selected organization and menu. The context helper adds these values to links, hidden form fields, UI form blocks, and query data. This keeps a workflow in the same user scope as the page that started it. References: application/applicationcontext.class.inc.php• L99-167, application/applicationcontext.class.inc.php• L185-275, application/applicationcontext.class.inc.php• L297-385

The controller form path supports more than a full page refresh. A submitted form can return a focused update for the fields affected by the user's trigger. The application uses a Turbo form response for this case and returns the full form when no smaller redraw is available. The asynchronous endpoint also supports JSON updates for custom form fields. This keeps dependent fields, custom controls, and validation feedback current while the user stays in the same workflow. References: sources/…/Controller.php• L498-509, sources/…/Controller.php• L522-583, sources/…/Controller.php• L1111-1131, pages/ajax.render.php• L2253-2279

Quick create offers a short path to begin a new object task from the top bar. It limits choices to classes the current user can create and can show recent or popular choices. The full form then uses the normal object workflow. References: sources/…/QuickCreate.php• L37-91, sources/…/QuickCreate.php• L121-158, templates/base/components/quick-create/layout.html.twig#L1-L200

Personal OQL shortcuts turn a useful object query into a reusable navigation item. A user can save the query with its table settings and an optional refresh interval. The application adds the new shortcut to the current navigation menu, then supports rename and delete actions for that user's shortcuts. References: application/shortcut.class.inc.php• L30-64, application/shortcut.class.inc.php• L188-224, application/shortcut.class.inc.php• L226-345, pages/ajax.render.php• L1165-1291

Activity panels connect an object to its history and case-log work. They group entries by author and source, show case-log tabs that the object allows, and load more history when needed. For writable logs, the panel gives the user an entry form and can offer state transitions or extension actions from the same action area. References: sources/…/ActivityPanel.php• L46-134, sources/…/ActivityPanel.php• L290-361, sources/…/ActivityPanel.php• L520-585, sources/…/ActivityPanel.php• L932-979, sources/…/ActivityPanelFactory.php• L64-86, sources/…/ActivityPanelFactory.php• L179-228

Case-log entry forms support two workflow modes. In a create or edit form they join the host object submit. In an object view they can submit on their own. The form provides text entry, save and cancel controls, optional transition choices, and extension actions. Rights and the object mode decide which controls are available. References: sources/…/CaseLogEntryForm.php• L28-78, sources/…/CaseLogEntryForm.php• L136-184, sources/…/CaseLogEntryForm.php• L250-350, sources/…/CaseLogEntryFormFactory.php• L36-80, sources/…/CaseLogEntryFormFactory.php• L111-147

Themes and templates

Themes control the visual language of the back office without changing the request or content model. The application chooses a configured default theme and can allow a user preference to override it. It serves a compiled stylesheet for the selected theme. If the selected theme is unavailable or out of date, the theme service falls back to the default and can compile the needed CSS.

The theme choice follows this order:

  1. Use the user's theme preference when theme override is allowed.
  2. Otherwise use the application default theme.
  3. If that theme cannot load, use the built-in default theme.
  4. Recompile when the CSS is missing, its inputs changed, or runtime checks require it.

References: application/themehandler.class.inc.php• L45-97 application/themehandler.class.inc.php• L118-219 application/themehandler.class.inc.php• L227-393

Twig templates provide the stable HTML frame and the visual form for UI blocks. The main page template defines the document and asset slots. The iTop back-office template fills those slots with the menu, top bar, content, deferred blocks, and reusable client templates. Extensions can add page banners, headers, footers, scripts, styles, and Sass inputs through the page extension points. References: templates/pages/backoffice/webpage/layout.html.twig#L3-L68, templates/pages/backoffice/itopwebpage/layout.html.twig#L3-L48, sources/…/iTopWebPage.php• L786-832, sources/…/iTopWebPage.php• L862-911

User preferences

The preferences page gives each operator control over the parts of the back-office experience that should persist across requests. It saves language, theme, list size, tab behavior, activity-panel state, obsolete-data visibility, summary cards, toast position, favorite organizations, keyboard shortcuts, newsroom display, and a user-picture placeholder. The page keeps the selected application context when it returns the operator to the workspace. References: pages/preferences.php• L42-119, pages/preferences.php• L743-844

Preference changes affect both server state and the next rendered shell. Language changes cause a page reload so labels use the new language. Favorite organizations reset the navigation menu layout. A picture change uses a JSON response to update the selected image, navigation menu image, and success message without a full reload. References: pages/preferences.php• L764-844, pages/preferences.php• L435-492, pages/ajax.render.php• L2285-2302

The preferences page also provides the user's saved shortcuts and newsroom controls. Shortcut management stays tied to the current user, while newsroom options are shown only for enabled providers that apply to that user. These settings connect personal choices to navigation and notification areas rather than to one isolated form. References: pages/preferences.php• L214-256, pages/preferences.php• L263-356, pages/preferences.php• L845-919, application/shortcut.class.inc.php• L30-64

Welcome messages can also keep a per-user acknowledgement record. This lets the application avoid treating a message as new for a user who has already acknowledged it. References: application/datamodel.application.xml• L45-74, pages/ajax.render.php• L2372-2385

Dashboards and visual summaries

Dashboards give users a page for lists, counts, charts, and other focused views of CMDB data. A dashboard definition describes its layout and dashlets. A dashlet is a dashboard widget that reads the data or context it needs and renders a focused result. The dashboard runtime places visible dashlets into rows and columns, then adds refresh and edit behavior when the page allows it.

The application data model defines shared dashboard property types for grouped summaries, badges, dynamic and static headers, object lists, and plain text. These types give dashboard definitions a common language for selecting data and presenting it without changing the page shell. References: application/datamodel.application.xml• L854-1016, application/dashboard.class.inc.php• L713-864

The dashboard experience has two states:

StatePurpose
ViewShow data in a chosen layout and refresh it when configured.
EditLet a user change layout and dashlet properties, add widgets, and save a personal version.

The runtime first uses a user's saved dashboard when one exists. Otherwise it reads the supplied definition. A user can edit the result without changing the shared definition. The saved personal definition is linked to the user and dashboard identity. References: application/dashboard.class.inc.php• L713-864, application/dashboard.class.inc.php• L918-982, application/dashboard.class.inc.php• L1052-1065

The dashboard layout turns cells into rows and columns and asks each visible dashlet to render. A dashlet can show a list or a grouped summary. Grouped summaries can appear as a table, pie chart, or bar chart. Failed or unavailable dashlets do not need to break the full page because the dashlet layer can show a fallback or an error inside the widget. References: application/dashboardlayout.class.inc.php• L31-51, application/dashboardlayout.class.inc.php• L101-175, application/dashlet.class.inc.php• L45-79, application/dashlet.class.inc.php• L237-288, application/dashlet.class.inc.php• L884-979

Dashboard changes use focused updates when the current page can keep its shell. Users can reload or toggle a dashboard, edit dashlets, save or revert a personal layout, and import or export a definition. The response either replaces the dashboard markup or returns data and scripts for the client to apply. Dashboard action menus also build links from the configured application root, so export and related actions remain tied to the current installation. References: pages/ajax.render.php• L844-1136, application/utils.inc.php• L1530-1546, application/utils.inc.php• L1020-1047

The application experience is split across focused knowledge-base pages so engineers can follow a concern without losing the shared model:

These pages describe the child systems that supply the main shell with requests, user state, focused data experiences, and transport contracts. References: pages/UI.php• L231-269, sources/…/iTopWebPage.php• L862-876, sources/…/NavigationMenu.php• L123-131, pages/ajax.render.php• L64-116

Change checklist

When these files or sections are changed, remember to consider these:

  • Changes to the request front door or pages/UI.php must preserve both named-route dispatch and legacy operation links.
  • Changes to route and operation input handling must keep the allowed value rules aligned with registered routes, legacy operations, and generated links.
  • Changes to controller response types must keep full pages, asynchronous fragments, focused form updates, JSON responses, and downloads aligned with their consuming templates or clients.
  • Changes to ApplicationContext must keep organization and menu scope in links, full-page forms, UI form blocks, and asynchronous dashboard requests.
  • Changes to the page layout contract must update both the data prepared by iTopWebPage and the Twig blocks that consume it.
  • Changes to object-detail metadata, status, or class-label markup must keep the panel template, client selectors, schema link, and menu availability aligned.
  • Changes to theme selection or compiled CSS paths must preserve the fallback path for setup, maintenance, and missing-theme cases.
  • Changes to dashboard identity or saved definitions must preserve the link between a user and the dashboard code.
  • Changes to UI block assets must preserve the page asset order and the no-duplicate rules used by asynchronous responses.
  • Changes to shared action metadata must preserve action identity and data or ARIA attributes when actions move between bars, buttons, top-bar controls, activity controls, and popover menus.
  • Changes to button-bar overflow rules must keep the visible control and its popover item tied to the same action.
  • Changes to activity-panel Ajax operations must keep saved panel state, case-log submission, and incremental history loading aligned with the panel client.
  • Changes to custom-field or object-update Ajax operations must keep the JSON field-update and object-response shapes aligned with their form and object clients.
  • Changes to ShortcutOQL or its Ajax operations must preserve the link between the saved OQL, table settings, refresh interval, user, and navigation menu.
  • Changes to the preferences page or preference Ajax operations must keep saved values, the next page render, navigation state, and live user-picture updates aligned.
  • Changes to application menu definitions must keep parent groups, dashboard nodes, and access resources aligned with the navigation menu and the rights model.
  • Changes to dashboard property types must preserve the fields that dashboard definitions use to select data, group results, and choose a display style.
  • Changes to the back-office portal definition must preserve the access boundary between back-office users and portal users.
  • Changes to application-root URL or trusted-proxy handling must keep links for pages, downloads, dashboard actions, and asynchronous requests on the correct host and scheme.
  • Changes to LoginBasic must keep credential parsing, login mode selection, internal credential checks, session user state, and the login error path aligned.
  • Changes to DisplayBlock styles or parameters must keep block callers, asynchronous reloads, dashboard refreshes, list search state, and result rendering aligned.
  • Changes to popup menu assembly must keep built-in and extension actions under the same rights checks and stable action identities.
  • Changes to request sanitization must preserve the accepted value shapes for routes, operations, context values, block parameters, and element identifiers.
  • Changes to designer form choice rendering must preserve the supplied labels, selected values, read-only behavior, and client validation contract.
  • Changes to wizard form data must keep browser values, object reconstruction, linked records, uploaded files, and dependent-field updates aligned.

Important failure modes

TriggerConsequenceGuard
The configured application file is missing or not readable.The request goes to setup or shows a configuration error instead of the back office.Keep the front-door checks and configuration file access rules aligned.
Session or data-model startup fails.Login and page dispatch cannot build a valid user-aware application state.Treat startup as a required stage before UI dispatch.
A route is not registered while a link uses it.The request falls back to legacy handling or reaches a missing operation.Keep route names, page links, and route or operation input filters in sync.
A controller response type does not match the client request.A full page, partial update, JSON result, or download can be rendered as the wrong content.Keep page-type selection and response headers aligned with the caller.
A basic-auth request has no supported credentials or fails the internal check.The login state machine cannot establish the authenticated user and the protected page remains unavailable.Keep credential parsing, internal credential checks, and login error handling in the same mode contract.
A selected theme has no usable compiled stylesheet.The page can lose its intended visual style or fail while loading the theme.Keep the default-theme fallback and compile checks available.
A dashboard definition refers to an unavailable dashlet.The dashboard shows a fallback widget rather than the intended data.Keep unknown-dashlet handling and preserve the original definition when possible.
A form drops its application context.The user returns to the wrong organization or menu scope after the action.Carry context through links, hidden fields, and asynchronous parameters.
An asynchronous response loads a script or style twice.Client behavior or style rules can conflict after a partial update.Use the page asset registers and the UI block asset path.
A display block receives an unsupported style or loses a required parameter.A list, search, chart, or summary can render as an empty or unsupported block.Keep block styles, allowed parameters, and their callers aligned.
A display block has no readable class in its result set.The page shows an unauthorized or empty result instead of object data.Preserve the read-right check before list and related block rendering.
An action has no stable identity or loses its metadata during conversion.A control can lose its client hook, accessible name, or link behavior in another UI surface.Preserve the action UID and its data and ARIA attributes across conversions.
A button bar and its overflow menu use different action state.The visible button and the overflow choice can trigger different behavior.Build both views from the same button objects.
A popup action ignores the list, object, or dashboard rights check.A user can see an operation that the related data area does not allow.Apply rights before adding built-in and extension popup actions.
A case-log panel mixes autonomous and bridged entry forms.One part of the panel can submit through a different path or fail the panel workflow.Keep the submission mode consistent for every case-log form in the panel.
A saved shortcut loses its OQL, table settings, or user scope.The navigation item can show the wrong list or expose another user's saved query.Save and load shortcut data with its owning user and current table settings.
A preference Ajax call returns the wrong response shape.A live control such as the user-picture selector cannot update its state or show its result.Keep the operation's response type and client update contract aligned.
A custom-field update returns fields outside the requested form path.The form cannot apply the update to the correct control or shows stale values.Keep the requested field set, form path, and JSON response structure aligned.
A menu points to a missing parent or access resource.The intended navigation item is misplaced or hidden from users who should see it.Keep menu hierarchy and access-control resource names valid together.
A portal user reaches the back-office portal entry point.A user can enter an application area intended only for back-office operators.Keep the portal denial rule and the login and rights checks aligned.
A dashboard definition uses a property type with missing or incompatible fields.A dashboard cannot be edited or cannot render the selected summary.Keep property-type definitions compatible with dashboard definitions and dashlet readers.
A request builds an application link from untrusted proxy values.Pages, downloads, or async actions can point to the wrong host, port, or scheme.Trust forwarded values only when the deployment marks the proxy as trusted.
A designer form choice label is changed before rendering.A menu can lose meaningful spacing or show a label that does not match the workflow definition.Render the supplied choice label and keep field display separate from value parsing.
Wizard data contains invalid linked-set JSON or an unsupported field shape.The form cannot rebuild its target object and the workflow stops before save.Keep wizard serialization, field structure, and object value conversion aligned.

Key files

FileWhy to read it
index.phpShows the configured-instance and setup-instance split at the public entry point.
application/startup.inc.phpShows the session, environment, and data-model startup stage.
application/datamodel.application.xmlShows the back-office portal boundary, menu topology, menu access resources, dashboard property types, and application events.
application/utils.inc.phpShows shared request input checks, configuration fallback, archive visibility, application-root URL handling, and popup actions used by pages and dashboards.
application/loginbasic.class.inc.phpShows how basic authentication enters the login state machine and establishes internal user state.
application/displayblock.class.inc.phpShows how query-backed lists, searches, counts, summaries, charts, and asynchronous blocks feed the shared UI.
pages/UI.phpShows the back-office request decision between routes and legacy operations.
pages/ajax.render.phpShows the authenticated asynchronous boundary for widgets, dashboards, shortcuts, forms, search, preferences, activity, navigation, object updates, and welcome messages.
sources/…/Controller.phpShows access checks, operation dispatch, page types, Twig output, and focused form updates.
application/applicationcontext.class.inc.phpShows how navigation scope follows links and forms.
sources/…/iTopWebPage.phpShows how the back-office shell assembles layouts, blocks, assets, and templates.
sources/…/WebPage.phpShows the common page response and client asset model.
sources/…/AjaxPage.phpShows the partial-response path used by interactive updates.
sources/…/UIBlock.phpShows the shared block tree, asset, visibility, and HTML metadata model.
sources/…/NavigationMenu.phpShows menu groups, user data, organization scope, and menu state.
sources/…/TopBar.phpShows the shared top-bar components and extension actions.
sources/…/TopBarFactory.phpShows how configuration and extensions add top-bar tools.
sources/…/ButtonBar.phpShows how action bars keep controls usable when they overflow.
sources/…/Field.phpShows how labeled values and field actions form a reusable page unit.
sources/…/PageContent.phpShows how changing page content is placed into the common shell.
templates/base/layouts/object/object-details/layout.html.twigShows the object-detail header metadata, status display, and optional link to the data model schema.
application/forms.class.inc.phpShows the shared form controls used by dialogs and property sheets, including choice labels, nested forms, validation, and read-only behavior.
application/wizardhelper.class.inc.phpShows how wizard values become object fields and how dependent field updates return to the page.
sources/…/ActivityPanel.phpShows object history, case-log tabs, entry loading, and activity actions.
sources/…/CaseLogEntryForm.phpShows the case-log entry workflow and its submit modes.
application/shortcut.class.inc.phpShows how personal OQL shortcuts render saved queries and preserve table and refresh settings.
pages/preferences.phpShows the preference page, personal navigation settings, themes, shortcuts, newsroom, and live picture choice.
application/themehandler.class.inc.phpShows theme choice, compilation checks, and fallback behavior.
application/dashboard.class.inc.phpShows dashboard loading, personal customization, rendering, and editing.
application/dashboardlayout.class.inc.phpShows how dashboard cells become rows and columns.
application/dashlet.class.inc.phpShows the widget contract and the safe rendering boundary for dashlets.
templates/pages/backoffice/itopwebpage/layout.html.twigShows the final back-office page composition.
templates/pages/backoffice/webpage/layout.html.twigShows the document, asset slots, script order, and async asset registers.