Step 1: Identifying the Parent Folder in Software Library
Any new entity created in Software Library must be placed in a folder. You can either choose an existing folder, or create a new one. To do so, follow these sections:
Creating a New Folder
To create a new folder, the parent folder should be identified. If the parent folder is the root folder (displayed as the top level "Software Library" folder), then use the following EM CLI verb:
emcli create_swlib_folder -name="myFolder" -desc="myFolder description" -parent_id=ROOT
Output:
Folder myFolder
is created in Software Library
folder, identifier is oracle:defaultService:em:provisioning:1:cat:C771B5A38A484CE3E40E50AD38A69D2
.
You can use the identifier of the newly created folder that is part of the output message when creating or modifying entities, or for creating other sub-folders.
Choosing an Existing Folder
To choose an existing folder, you can use either of the following approaches:
Approach 1: Using Enterprise Manager UI
Follow these steps:
- From the Enterprise menu, select Provisioning and Patching, then select Software Library.
- On the Software Library home page, from View menu select Columns, and then select Internal ID. By default, the Internal ID column is hidden.
- Copy the Internal ID column value of the folder you want.
Approach 2: Using Enterprise Manager Command Line Interface
Use the following EM CLI verb:
emcli list_swlib_folders -parent_id=ROOT -show_folder_id
Output:
Java EE Provisioning,Java EE Application Provisioning Entities,oracle:defaultService:em:provisioning:1:cat:C771B5AAF4A4EED9E040E50AD38A6E98
MultiOMS,List of Oracle shipped Directives,oracle:defaultService:em:provisioning:1:cat:C771B5AAF1ACEED9E040E50AD38A6E98
myFolder,myFolder description,oracle:defaultService:em:provisioning:1:cat:C771B5A38A484CE3E040E50AD38A69D2
OSBProvisioning,OSBProvisioning Entities,oracle:defaultService:em:provisioning:1:cat:C771B5AAF3F1EED9E040E50AD38A6E98
..........
If the folder you want to access is a sub-folder of myFolder
, then use the following verb to list the sub-folders by specifying the identifier of myFolder
, as follows:
emcli list_swlib_folders -parent_id='oracle:defaultService:em:provisioning:1:cat:C771B5A38A484CE3E040E50AD38A69D2' -show_folder_id
Output:
mySubFolder,mySubFolder description,oracle:defaultService:em:provisioning:1:cat:C771B5A38A494CE3E040E50AD38A69D2