Introduction to the Embedded User Interface (UI)

Overview

Unqork's Embedded User Interface (Embedded UI) enables Creators Also known as Unqork Users, or Designer Users; is anyone who is inside the Unqork platform. to embed an Unqork application or component directly into a web page or application outside of the Unqork platform. This modern approach offers a secure and user-friendly alternative to traditional iframes.

The Unqork Vega (2.0) The Vega (v 2.0.0) runtime is the next-generation engine of the UDesigner platform. Vega uses cutting-edge technologies to improve the Creator and end-user experience. runtime is required for Embedded UI.

The Embedded UI feature is intended for developers who have a strong understanding of the Unqork Designer Platform and JavaScript JavaScript is an object-oriented computer programming language. It is most-commonly used for interactive effects in the browser..

Embedded UI is currently in open beta. Please contact your Unqork representative for more details and access.

Understanding How Embedded UI Works

Embedded UI works by inserting a JavaScript file named embedded.js into an external website. This script is a lightweight wrapper for the Runtime API APIs (application programming interfaces) are a set of protocols and definitions developers use to build and integrate application software. APIs act as the connective tissue between products and services., providing a simple interface to authenticate, initialize, and render Unqork modules. After inserting the file, the Unqork application displays on the external website.

End-users Includes the Short Answer component, Long Answer component, Select Boxes, Radio component, Dropdown, Number component and Single Checkbox. can then interact with the Unqork application in a variety of ways:

  • Respond to actions in the host application.

  • Send data to and request actions from the Unqork application using the Vega Operation Interface.

The embedded.js interface is JavaScript and framework agnostic. Meaning, the underlying Unqork technology won't impact a host application's ability to operate or render, regardless of its technology stack.

CSS Styling Overlap

To prevent the host application's CSS Cascading Style Sheets (CSS) is a style sheet language used for presenting how a HTML or XML document looks to end-users. from overlapping with the Unqork application, the Unqork runtime creates a new shadow root A Shadow Root is the root node of a Shadow DOM, which is a hidden DOM subtree attached to an element in the main DOM. It is a fundamental concept in Web Components, providing encapsulation for HTML, CSS, and JavaScript within a component. to safely render and insert its styles. Doing so prevents any conflicts with the host application's styling.

Embedded UI Advantages

The advantage of using Unqork's Embedded UI feature is that you do not experience the same limitations and security risks as iframes. Advantages include:

Seamless End-User Experience

Embed applications picture-to-picture, avoiding iframe limitations and risks to improve the end-user's End-users, also known as Express Users, are the individuals accessing an application through Express View. In most cases, end-users are the customers using the product. experience.

Unqork Functionality Outside Unqork

Embed applications containing integrations and logic outside of Unqork. These applications function as they would in Unqork.

Reusable Applications

Configure reusable applications that you can embed across multiple pages and domains. All application instances can share the configuration.

Incremental Legacy Reconfiguration

Embedded UI lets you build and embed smaller applications immediately, while incrementally reconfiguring your large legacy applications to be codeless.

Embedded UI Limitations

Consider the following when using Embedded UI in a website:

Third-Party Cookies

Browser privacy settings and third-party cookie policies can affect Embedded UI functionality. Consider the following:

For Embedded UI to function correctly, end-users must ensure that third-party cookies are enabled for the Unqork domain.

Embedded UI FAQ (Frequently Asked Questions)

Discover common questions about Embedded UI in the section below:

Can it be embedded in React or Angular?

Unqork does not officially support specific JavaScript frameworks like React or Single-SPA . However, some frameworks may be compatible based on the implementation. Creators can validate select framework requirements with the technical constraints of Embedded UI.

Can you embed Unqork Workflows?

Embedded UI does not support embedding Workflows at this time.

How does authorization work?

Unqork's Embedded UI feature uses cookies to store an end-user's End-users, also known as Express Users, are the individuals accessing an application through Express View. In most cases, end-users are the customers using the product. authentication token. These cookies are used by Unqork to authenticate the end-user.

Can end-users navigate between modules?

No, module navigation is not supported in Embedded UI at this time. However, Creators can use Dynamic Refresh in the embedded moduleto change module content.

Get Started With Embedded UI

Check out our how-to guide and in-depth conceptual articles on Embedded UI: