How to Get URN for SWLIB Entity

To get URN for the SWLIB through EMCLI:

$OMS_HOME/bin/emcli list_swlib_entities -show_entity_rev_id -name="<Name of SWLIB entity>"

To get URN for the SWLIB through EM UI:

  1. Select Enterprise > Provisioning and Patching > Software Library.
  2. Click View > Columns > Internal ID. Select this option.
  3. Go to the uploaded entity and copy the Internal ID for the uploaded entity. The internal ID is the URN.