Skip to content

Sample integrations of HCL Leap with HCL Digital Experience

This section provides an overview of the possibilities offered by the integration of HCL Leap and HCL Digital Experience. Follow the Installation and Configuration steps before following the example guide.

Showing HCL Leap data on HCL Digital Experience pages

In this example, you can integrate data from HCL Leap to your HCL Digital Experience pages using the Digital Data Connector. For more information, see Digital Data Connector.

Integrating the HCL Leap application in HCL Digital Experience

There are several ways to integrate HCL Leap applications into HCL Digital Experience.

Integrating HCL Leap applications using the embedded JavaScript API

There is an option to integrate HCL Leap applications with HCL DX by using the embedded JavaScript API. For instructions, refer to Embedding API in the HCL Leap documentation.

With this method, you can use a Content Template to allow a business user to select the application and form ID. These details are then used in a Presentation Template with the JavaScript API to call the right Leap application and form.

Integrating HCL Leap applications with Web Application Bridge

Web Application Bridge uses reverse proxy technology to integrate web-based content providers such as HCL Leap with HCL Digital Experience. Administrators must first create the content providers profiles, policies, and web dock applications. More details are available in Web Application Bridge.

Warning

As described in Troubleshooting the Web Application Bridge, the Web Application Bridge exposes the proxied application on the same context root as the original Resource path. This can cause overlaps in the routing if the application (in this case Leap) is deployed and exposed on the same host as HCL Digital Experience.

To prevent this, use and configure an Ingress Controller to expose the applications on different host names or subdomains.

  1. Create Content Provider Profiles.

    For information on how to create content provider profiles, policies, and connections, refer to the following:

    Follow these steps to create the profile:

    1. In the Profile Host, you can set a Unique profile title (for example Leap Content Provider Profile).
    2. For the Hostname or IP address, enter http://hostname:port/ which is the host (and port, if required) of the Leap environment. If the Leap deployment is deployed in the same Kubernetes cluster as HCL Digital Experience, the Kubernetes Service DNS name can be used here to only access the application through the Web Application Bridge proxy.
    3. Save the content provider profile.
  2. Create Web Dock Applications.

    For information on how to create web dock applications, refer to Web Dock application.

    1. Add a Unique web dock application title (for example, Leap). Make sure the title describes the Web Dock portlet you want to add to the page.
    2. In the Content provider profile dropdown, select the newly created profile Leap Content Provider Profile.
    3. Add a path to the Leap page to display as the Resource path (for example, /apps/landing/org/app/8a667f9a-aa60-4691-829a-9a8bf4220c04).
    4. Save the web dock application.
  3. Add the created Web Dock Application to the DX Page.

    1. Enable Edit mode on the DX page you want to include Leap on or create a new page. To create a new page, click the menu icon on the right of the Web Dock Application to open the Context menu. You can create either a child or a sibling page.
    2. Click the plus icon on the left navigation panel to Add page components and applications to the page. In the navigation panel, go to the Applications tab and search for the newly created web dock application (in this case, Leap).
    3. Click the Add To Page button.

The HCL Leap Page should be visible within the HCL Digital Experience page.

HCLSoftware U learning materials

For an introduction and a demo on how to integrate DX with HCL Leap as a business user, go to DX Integration with HCL Leap for Business Users. To try it out yourself, refer to DX Integration with HCL Leap for Business Users Lab and corresponding DX Integration with HCL Leap for Business Users Lab Resources.

For an introduction and a demo on how to integrate DX with HCL Leap as a developer, go to DX Integration with HCL Leap for Developers. To try it out yourself, refer to DX Integration with HCL Leap for Developers Lab.

Support for this feature is not available in the HCL Support Center. For questions and issues, reach out either in the DXers - The HCL DX User Group on Discord or in the HCL DX forum.