Good Morning Diego.
Below is a possibilty to customize the description field length in USS portal.
With my apology upfront, the line numbers me be different.
...usm\explorer\scripts\browse.widget.js
Copy from:
C:\Program Files\CA\Service Catalog\view\webapps\usm\explorer\scripts
Into and edit from here:
C:\Program Files\CA\Service Catalog\filestore\custom\explorer\scripts
file name : browse.widget.js
function name : truncateOfferingDescription: function() {
truncateOfferingDescription: function() {
if (this.offering_description.length > 32) {
return this.offering_description.substring(0, 32) + "..."
} else {
return this.offering_description
}
},
Change:
return this.offering_description.substring(0, 32) + "..."
into:
return this.offering_description.substring(0, 42) + "..."
Or another value of your choice.
Similar for: truncateOfferingName
C:\Program Files\CA\Service Catalog\filestore\custom\explorer\scripts
Lines 507-512:
"truncateOfferingName" : function(){
if(this.offering_name.length > 22)
return this.offering_name.substring(0, 22)+'...';
CHANGE>> return this.offering_name.substring(0, 45)+'...';
else
return this.offering_name;
}
- Stop SC-service
- Delete translets
- Clear browser cache
- Start SC-service
- Restart USS-service
Thanks and kind regards, Louis van Amelsfort.