4.4 Maintenance Detail and Summary

This topic describes the process of creating the Maintenance Detail and Summary component using OBX.

Here we must remember that we will be generating two web components one will be detail component and another one for summary component.
Following are the steps needed to be followed:
  1. Navigate to extension_home folder from cmder.
  2. Use the command obx ui –mnsm.
  3. Once this command is executed, this will take you to next section where it will prompt other set of questions. Answer them accordingly to your setup and requirement.
  4. It will automatically generate the libraries for the components.
  5. At this point of time go to browser and navigate to http://localhost:8002. You will be able to component server home page like:

    Figure 4-16 OBX Component Server



  6. Select the component which you want to reuse in your extension and paste it in module.exports = []; inside the metadata.js file.
  7. Once done come back to main tab in cmder where is waiting with question Please modify the Metadata.js file before proceeding. Once done press y to proceed?
  8. On completing the above process, it will automatically generate the source folder for maintenance details screen and same process will followed for summary screen as well.
  9. For this case we will be not able to see the component running locally as we have to 2 components generated.
  10. To start the component, one needs to go inside the component are run it manually.