5.3.2 UI Update
This topic provides the systematic instructions to UI Update developed in OBX.
To migrate services developed in previous versions of OBX to latest please follow the below steps:
- Navigate to UI (Web Component) specific folder inside the extension_home directory.
- Execute the command obx ui-update.
- This command will automatically start removing old libraries without changing the source folder. This help will help you retaining the business logic already written in web component.
- One done and executed successfully you will the below message.
- Now to run the command with new libraries run below command sequentially:
- sh npm-link.sh – It will create new node module folder inside the component with latest modules and dependencies.
- node startCS.js - Open a new tab in cmder and navigate to same web component directory and run command node startCS.js.
- npm start – From the main tab, where we executed npm-link command run the command npm start, it will automatically run the web component with latest libraries and launch it on the browser as well.
Parent topic: OBX Update Command