Using standalone perspectives in Business Central

Red Hat Decision Manager 7.8

Guide

概要

This document describes how to use standalone perspectives in Business Central, including standalone custom pages (custom dashboards that you can include in your application), in Red Hat Decision Manager 7.8.

Preface

As a business rules developer, you can embed standalone perspectives from Business Central in your web application and then use them to edit rules, processes, decision tables, and other assets.

Prerequisites

  • Business Central is deployed and is running on a web/application server.
  • You are logged in to Business Central.

第1章 Standalone perspectives in Business Central

Business Central provides specialized editors for authoring assets based on the asset’s format. Business Central has a feature that enables you to use these editors individually. This feature is known as the standalone perspective mode of the editor or simply the standalone perspectives.

As a business rules developer, you can embed a standalone perspective in your web application and then use it to edit rules, processes, decision tables, and other assets. After embedding a perspective you can edit an asset in your own application without switching to Business Central. You can use this feature to customize your web application. In addition to standalone perspectives you can also embed standalone custom pages (dashboards) in your applications.

You can access a standalone perspective by using a specific web address in a browser with the standalone and perspective parameters. A standalone perspective’s web address may also contain additional parameters.

第2章 Using the standalone library perspective

You can use the library perspective of Business Central to select a project you want to edit. You can also perform all the authoring functions on the selected project.

The standalone library perspective can be used in two ways, with and without using the header=UberfireBreadcrumbsContainer parameter. The difference is that the address with the header parameter will display a breadcrumb trail on top of the library perspective. Using this link you can create additional Spaces for your projects.

Procedure

  1. Log in to Business Central.
  2. In a web browser, enter the appropriate web address:

    1. For accessing the standalone library perspective without the header parameter

      http://localhost:8080/decision-central/kie-wb.jsp?standalone=true&perspective=LibraryPerspective

      The standalone library perspective without the breadcrumb trail opens in the browser.

    2. For accessing the standalone library perspective with the header parameter

      http://localhost:8080/decision-central/kie-wb.jsp?standalone=true&perspective=LibraryPerspective&header=UberfireBreadcrumbsContainer

      The standalone library perspective with the breadcrumb trail opens in the browser.

第3章 Using the standalone editor perspective

You can use the standalone editor perspective of Business Central to access an asset’s specific editor. By using this perspective, you can open an asset’s editor and can modify the asset as required.

The web address for accessing an asset’s standalone editor perspective contains the standalone and path parameters. The path parameter must contain the complete path to the asset and the web address can end with #StandaloneEditorPerspective string. Also, by varying the path parameter, you can access a specific asset’s editor in the standalone mode.

Procedure

  1. Log in to Business Central.
  2. In a web browser, enter the appropriate web address as required, for example,

    1. For editing a process:

      http://localhost:8080/decision-central/kie-wb.jsp?standalone&path=default://master@MySpace/Shop/src/main/resources/com/purchase.bpmn#StandaloneEditorPerspective

      The Process Designer opens in the standalone mode.

    2. For editing a form:

      http://localhost:8080/decision-central/kie-wb.jsp?standalone&path=default://master@MySpace/Mortgage_Process/src/main/resources/ApplicationMortgage.frm#StandaloneEditorPerspective

      The Form Modeler opens in the standalone mode.

第4章 Using the standalone content manager perspective

By using the standalone content manager perspective in your application, you can create and edit your application’s content and its navigation menus.

Procedure

  1. Log in to Business Central.
  2. In a web browser, enter the following web address in the address bar,

    http://localhost:8080/decision-central/kie-wb.jsp?standalone=true&perspective=ContentManagerPerspective

    The standalone content manager perspective opens in the browser.

第5章 Using standalone custom pages(dashboards)

Apart from standalone perspectives, you can also embed custom pages, also known as dashboards, in your application. For accessing the custom pages from your application, provide the name of the custom page as the value of the perspective parameter. Note that the perspective parameter is case-sensitive.

Procedure

  1. Log in to Business Central.
  2. In a web browser, enter the custom page’s web address in the address bar, for example,

    http://localhost:8080/decision-central/kie-wb.jsp?standalone=true&perspective=CustomPageName

    The standalone custom page opens in the browser. Replace the value, CustomPageName, with the name of the custom page you want to use in the standalone mode.

付録A Versioning information

Documentation last updated on Tuedday, March 8, 2022.