cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 9

Sorting the Items of a DropDownList in an Open Order Template

Hi,

I made an OpenOrder Template for getting some Reports. In this Template I use a DropDownList and I'm wondering how I can define the sorting of the Items? 

In my Template it looks like:

{ "Key":"inactiveDays",
"Value":{
"Type":"DropDownList",
"DefaultValue": "30",
"Label":"inactive for the last xxx Days?",
"Description":"which ComputerAccounts has been inactive in the last xxx days?",
"Items":[
{
"Value":"30",
"DisplayValue": "30 days"
},
{
"Value":"60",
"DisplayValue":"60 days"
},
{
"Value":"90",
"DisplayValue":"90 days"
},
{
"Value":"180",
"DisplayValue":"180 days"
},
{
"Value":"360",
"DisplayValue":"360 days"
},
{
"Value":"740",
"DisplayValue":"740 days"
}
]
}
 
and if I use the Template it gets mixed up (see Image)
 
image01.JPG

 
Cheers,
Tatjana
 
 

 

0 Kudos
1 Reply
Level 10

Hi Tatjana,

 

unfortunately the sorting is automatically done and there is no property to change it. Maybe adding and incremental counter would help:

 

a, 60 days

b, 90 days

 

or the same with numbers

 

Regards

Paul

0 Kudos