Upgrading the existing custom sample library

If you have existing custom sample library, you need to upgrade that to the latest Angular version.

Procedure

  1. Download and install the Node v14.x.x from the Downloads site.
  2. Go to the $TOP/mdmui/samples folder.
  3. Extract the custom-library.zip file >(Angular-based custom sample library).
  4. Open the custom sample library in the Visual Studio Code editor.
  5. In the command terminal, run the npm install command.
  6. Override your existing components to the Angular custom sample library.
  7. Update your existing components according to the latest library.
  8. Copy the generated JS files to the $TOP/mdmui/custom/ui/js folder and JSON files to the $TOP/mdmui/custom/ui/json folder.
  9. Run the $TOP/mdmui/bin/updateRtProperties.sh script for WebSphere® Application Server-based on-premise deployments.
    The script copies files to the following folders in the WebSphere Application Server.
    • JSON files to $WAS_HOME/profiles/<WAS profile>/installedApps/<Node Cell>/mdm_ui.war.ear/assets/json
    • JS files to $WAS_HOME/profiles/<WAS profile>/installedApps/<Node Cell>/mdm_ui.war.ear/js/custom
    Note: For Operator-based deployments, see Customizing the Docker container.