Sorting Service Request Area
Example:
Hardware and Peripheral Requests
Active Directory Requests
Network Requests
Can this list be sorted using a custom javascript or am I out of luck?
Best Answer
-
David_Morris1 Member Advanced IT Monkey ✭✭✭Hi,
the list values are based on enumeration IDs so if for instance you have a value currently "hardware" and change the name to "US based Hardware" this will change all current requests in the system that have this area to the new displayname as the background item remains the same.
you can move these items up and down in the list section of the console at will to make them alphabetical or in any other order you like but to promote this change up to the portal you need to delete the lists from the portal database and let the cache builder recreate them
to do this run the following against your portal db ("Servicemanagement" by default)DELETE DisplayString WHERE ElementID IN (SELECT EnumerationID FROM Enumeration WHERE CreatedBy = 'c6745a66-5ccc-4fbc-b1d8-ab9797cdea2d'); DELETE Enumeration WHERE CreatedBy = 'c6745a66-5ccc-4fbc-b1d8-ab9797cdea2d'; TRUNCATE TABLE LastModified;
and then restart your cache builder service.
**Please be aware that this will rebuild all lists in the portal and can take a little while to do so, so i would suggest running it out of hours**5
Answers
the list values are based on enumeration IDs so if for instance you have a value currently "hardware" and change the name to "US based Hardware" this will change all current requests in the system that have this area to the new displayname as the background item remains the same.
you can move these items up and down in the list section of the console at will to make them alphabetical or in any other order you like but to promote this change up to the portal you need to delete the lists from the portal database and let the cache builder recreate them
to do this run the following against your portal db ("Servicemanagement" by default)
and then restart your cache builder service.
**Please be aware that this will rebuild all lists in the portal and can take a little while to do so, so i would suggest running it out of hours**