Customizing the Catalog service details page
You can customize the Catalog service details page by:
Customizing the maximum quantity
You can customize set a maximum quantity that users can request for a particular service. The default is 100.
To customize the maximum quantity
- Stop the Platform Manager.
- Open the PreferenceGroup.json file for editing.
You can find the file in the installationFolder/configuration/preferences folder. Find the
MaxRequestQuantity
attribute.... { "cloudClass" : "com.bmc.cloud.model.beans.PreferenceGroupNameValuePair", "guid" : "4a6c40cc-3426-495a-8e19-023b3f5921f9", "name" : "MaxRequestQuantity", "preferenceGroup" : "/preferencegroup/ffd5922e-68fd-4970-83b0-2c47641402d1", "value" : "100" } ...
- Change the
value
line to the maximum quantity you want to set. - Empty the installationFolder/Platform Manager/cache folder.
- Restart the Platform Manager.
Customizing which fields are displayed
You can customize which fields are displayed on the details page when a user requests a service. The Service Name field is always shown, but you can configure which of the following fields are shown or hidden:
- Server Hostname Prefix
- Server user Name
- Server password (and Confirm Server Password)
- Description
The following video (1:36) describes how you can show and hide fields on the catalog service details page.
To show and hide fields in the Catalog service details page
- Stop the Platform Manager.
- Open the PreferenceGroup.json file for editing.
You can find the file in the installationFolder/configuration/preferences folder. Locate the following lines in the PreferenceGroup.json file:
{ "cloudClass" : "com.bmc.cloud.model.beans.PreferenceGroupNameValuePair", "guid" : "97e8c4fb-cfd5-4efa-8f8d-2eb0ddb222d9", "name" : "Service Request Customization", "preferenceGroup" : "/preferencegroup/ffd5922e-68fd-4970-83b0-2c47641402d1", "value" : "{\"FieldsVisibility\" : [{\"hostName\" : \"visible\", \"userName\":\"visible\",\"password\":\"visible\",\"description\": \"visible\"} ]}" }
- In the
value
line, specifyhidden
orvisible
for each field. - Save and close the PreferenceGroup.json file.
- Empty the installationFolder/Platform Manager/cache folder.
- Restart the Platform Manager.
Customizing the Option Choice field in the Catalog Service details page
(Applicable for 4.6.07.003 and later) In the Catalog Service details page, you can display the option choices in a drop-down list instead of a radio button when the number of option choices is greater than a certain number. To configure the number, do the following:
- Stop the Platform Manager.
- Navigate to the <CLM_Installation_Directory>/configuration/preferences directory and open the PreferenceGroup.json file.
Search for the OptionChoiceDropdownModeValue attribute and set the value parameter to the required number. The default value of the OptionChoiceDropdownModeValue attribute is 10.
{ "cloudClass" : "com.bmc.cloud.model.beans.PreferenceGroupNameValuePair", "guid" : "4a6c40cc-3426-495a-8e19-023b3f5921f9", "name" : "OptionChoiceDropdownModeValue", "preferenceGroup" : "/preferencegroup/ffd5922e-68fd-4970-83b0-2c47641402d1", "value" : "10" }
Note: Display of the option choices in the Cloud End User Portal
If the number of option choices are greater than 10, then the option choices are displayed as a drop-down list in the Cloud End User Portal. If the number of option choices is less than 10, the option choices are displayed as radio button.
Restart the Platform Manager.
- Clear the browser cache.
Comments
Log in or register to comment.