Nexeed

Web Portal

    • Developer documentation
      • Concepts
        • General
        • Navigation
        • Dashboard
        • Cross-module communication
        • Documents
        • Security
        • Limitations
      • How to…​
        • register your module & views
        • implement context contribution
        • develop a Web Portal-compatible frontend
        • use the iframe integration library
        • build widgets
        • check the integration status
        • develop from localhost
        • improve UI performance
      • Troubleshooting
    • API documentation
    • Glossary
Web Portal
  • Industrial Application System
  • Core Services
    • Block Management
    • Deviation Processor
    • ID Builder
    • Multitenant Access Control
    • Notification Service
    • Reporting Management
    • Ticket Management
    • Web Portal
  • Shopfloor Management
    • Andon Live
    • Global Production Overview
    • KPI Reporting
    • Operational Routines
    • Shift Book
    • Shopfloor Management Administration
  • Product & Quality
    • Product Setup Management
    • Part Traceability
    • Process Quality
    • Setup Specs
  • Execution
    • Line Control
    • Material Management
    • Order Management
    • Packaging Control
    • Rework Control
  • Intralogistics
    • AGV Control Center
    • Stock Management
    • Transport Management
  • Machine & Equipment
    • Condition Monitoring
    • Device Portal
    • Maintenance Management
    • Tool Management
  • Enterprise & Shopfloor Integration
    • Archiving Bridge
    • Data Publisher
    • Direct Data Link
    • Engineering UI
    • ERP Connectivity
    • Gateway
    • Information Router
    • Master Data Management
    • Orchestrator
Nexeed Learning Portal
  • Web Portal
  • Developer documentation
  • Troubleshooting
✎

Troubleshooting

Issue with Cypress tests and login flow in iframe integration

  • Module developers have reported that the integration and login flow of their module is working well in production.

  • However, when Cypress tests are executed, the Multitenant Access Control login page is displayed instead of the module page in Web Portal.

  • ⇒ Currently, there is no solution available for this issue.

Troubleshooting deep-linking issues

  • When sending a URL change event to Web Portal, ensure that the URL sent is in accordance with the HTML file attribute used for registering the views.

  • For example, if the HTML file attribute for the view is "/rema/Schedule/Configuration", the URL change event should send the URL as "rema/Schedule/…​". If the URL sent does not include the "rema" keyword in front, Web Portal will not be able to match the HTML file attribute.

Migration from old UI library versions

Changes

  • The new class IframeIntegrationLibrary provides a common API for all types of views (embedded, view, widget, widget settings, dialog).

  • Developers can now detect how their views are being displayed within applications and react accordingly using the MODE variable.

  • The library will block features that are not currently available and display a message in the console.

  • If a module UI is used as both a normal view and a dialog for other modules, the current mode (view or dialog) will be set during initialization and can be used to adjust the view’s behavior.

Migration notes

With the release of version 5.10 of the iframe-integration-library, a new API is required. The communication method via postMessage remains the same. The old APIs (view, embedded, widget, widgetSettings, dialog) have been marked as deprecated and will no longer be maintained.

It is recommended to upgrade to the improved and more secure unified IframeIntegrationLibrary API as soon as possible. This API is aware of the mode the application is running in.

  1. Functionality-wise, nothing has changed significantly.

    1. Some function names have changed, but a simple find and rename should suffice.

    2. Mainly, replace view, embedded, dialog, widget, and widgetSettings with IframeIntegrationLibrary.

  2. A new method called init (see below documentation) needs to be called during the bootstrapping of your application.

    1. Refer to the documentation for an example.

    2. Web Portal uses the init implementation to communicate the mode the view will operate in and the origin to secure the communication.

  3. The init method for widgets and widget settings has been renamed to avoid clashes with the init method of the IframeIntegrationLibrary.

    1. For widgets, replace widget.init with IframeIntegrationLibrary.initWidget.

    2. For widget settings, replace widgetSettings.init with IframeIntegrationLibrary.initWidgetSettings.

  4. It is now possible to determine the mode in which your view is operating, allowing for responsive UI within different uses in Web Portal. Refer to the getMode functionality.

  5. It is now possible to check if a function is available within the current mode using the isFunctionAvailable method. This allows the application to react accordingly based on its current usage. Refer to the functionality section for more details on what functions are available in each mode.

Contents

© Robert Bosch Manufacturing Solutions GmbH 2023-2025, all rights reserved

Changelog Corporate information Legal notice Data protection notice Third party licenses