You can customize the branding that appears on the Order Hub login page to
reflect the specific brand name and logo of your organization.
Procedure
-
Access the orderhub-code folder.
- Customize the brand name as follows:
- Create a shell-ui/assets/i18n directory.
- Create the language-specific bundles such as en.json or
fr.json.
- Add the following configuration to the JSON files.
{
"loginPage": {
"Label_Title_orderHub": <customliteral>
},
"cuiTopBanner": {
"brand": <customliteral>,
"orderHub": <customliteral>
}
}
- Customize the logo image as follows:
- Create a shell-ui/assets directory.
- Create an app-bootstrap-config.json file in the
shell-ui/assets directory.
- Specify the path of the login image file in the
app-bootstrap-config.json file.
For example, if the login image
file is placed under the
shell-ui/assets folder, specify the path of the banner
file name in the
app-bootstrap-config.json
file.
{
"bannerFileName": "/order-management-customization/shell-ui/assets/icon2.png"
}
Note: Make sure to prefix the image path with order-management-customization
for the bannerFileName attribute.
What to do next
Verify your customizations by building the package-jar file, building
the custom image, and then testing the customizations. For more information, see Deployment process.