Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

(SM) Support Tip: How to sort the pick list values of a Service Catalog user selection.

If a new value has to be inserted into a list of values for a user option there currently isn't a way to do this without re-entering each value or adding the new value to the end.

This functionality isn't available.

- Add one new display option, wizard.display_insert.line
*Screen ID*: wizard.display
*Unique ID:* wizard.display_insert.line
*GUID:* 6789 (or any unique ID here)
*Condition:*   name in $L.format="wizard-dynamic.field.wizard.add.picklist"
*RAD:* se.call.process
Names:                  Values
name                    user.option.insert.line
file                    $L.file

- Add one new Process: user.option.insert.line
*Process Name:* user.option.insert.line
*Initial Expressions:*
$pick.list=*insert*($pick.list, $L.line.number, $L.linkno)
$pick.list.label=*insert*($pick.list.label, $L.line.number, $L.linkno)
$pick.list.cost=*insert*($pick.list.cost, $L.line.number, $L.linkno)

- Go to Catalog item definition to modify picklist option with the  table, in toolbar, "More" , you will see "Insert line" here.

Note: This currently doesn't get sorted in Propel 2.20.  A QCCR has been opened on this.

Labels (1)
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.