Using standalone perspectives in Business Central
Abstract
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
- Ensure Business Central is deployed and is running on a web/application server.
- Ensure you are logged in to Business Central.
Chapter 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.
Chapter 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
- Log in to Business Central.
In a web browser, enter the appropriate web address:
For accessing the standalone library perspective without the
header
parameterhttp://localhost:8080/decision-central/kie-wb.jsp?standalone=true&perspective=LibraryPerspective
The standalone library perspective without the breadcrumb trail opens in the browser.
For accessing the standalone library perspective with the
header
parameterhttp://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.
Chapter 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
- Log in to Business Central.
In a web browser, enter the appropriate web address as required, for example,
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.
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.
Chapter 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
- Log in to Business Central.
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.
Chapter 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
- Log in to Business Central.
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.
Appendix A. Versioning information
Documentation last updated on Wednesday, May 8, 2019.