Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Any UI from any apps can be used as the default UI .
The default UI here serves as the landing page when someone navigates to Joget.
Figure 1: Default UI Selection
In the default installation, an app called "App Center" with the UI named "App Center" is preloaded.
In order to edit it, as a Joget administrator, simply navigate to "All Apps" in the admin bar, then click on the "App Center" app.
Then, click on the "App Center" UI to edit.
In the UI Builder, edit the UI menu called "Home".
It is a List UI Menu that points to a JSON API named "Published Apps".
By defining the content of the form, we can alter the content of the current app center. Simply click on the navigation icon beside the selected form to edit the form.
In the form's design, there are 2 custom HTML elements.
Edit the second Custom HTML to reveal its code.
<div id="main-action-help"><i class="fa fa-info-circle"></i></div> <div id="search"></div> <ul id="apps"></ul> <p> <script src="/jw/js/appCenter7.js"></script> <script> AppCenter.searchFilter($("#search"), $("#apps")); AppCenter.loadPublishedApps("#apps"); </script> </p>
The logo that is displayed in the App Center can be changed under Settings > Theme > Advanced > Home Banner.
Just upload a logo of your preference to the app's Resources, then copy the new resource's generated hash variable and replace the image source.
The "Home Banner" and "Custom CSS" can be customized.
The help guide feature can be disabled, by scrolling to the bottom of the same page.
<div id="main-action-help"><i class="fa fa-info-circle"></i></div> <div id="search"></div> <ul id="apps"></ul> <p> <script src="/jw/js/appCenter7.js"></script> <script> AppCenter.searchFilter($("#search"), $("#apps")); AppCenter.loadPublishedApps("#apps"); </script> </p>
Line number 1 can be removed to remove the "help" icon.
The list of published apps is loaded by AppCenter.loadPublishedApps method. This method has extra 2 arguments to customize the published app list.
AppCenter.loadPublishedApps(container, customUrl, excludes); container : This is the container to populate the app list customUrl : This can change to a custom url to load the app list instead of the default url (e.g: /web/json/apps/published/userviews?appCenter=true ) excludes : This is used to exclude any unwanted userview(s) from the app center list. It is an array of string in syntax of "appId:userviewId" Example: AppCenter.loadPublishedApps(container, null, ["isr:isr", "crm:view"]);
To disable the Hint pop-up, edit the App Center UI.
Navigate to Settings.
Under Settings, navigate to "Configure Layout > Configure Theme > Advanced".
Scroll down to the bottom of the page, and check the "Disable help guide feature?" option.
Then click on "SAVE" to save the UI.