Upgrading the existing custom sample library
If you have existing custom sample library, you need to upgrade that to the latest Angular version.
Procedure
- Download and install the Node v14.x.x from the Downloads site.
- Go to the $TOP/mdmui/samples folder.
- Extract the custom-library.zip file >(Angular-based custom sample library).
- Open the custom sample library in the Visual Studio Code editor.
- In the command terminal, run the
npm installcommand. - Override your existing components to the Angular custom sample library.
- Update your existing components according to the latest library.
- Copy the generated JS files to the $TOP/mdmui/custom/ui/js folder and JSON files to the $TOP/mdmui/custom/ui/json folder.
- 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.