in Portals to sort the values

instance
Tera Contributor

In Portals under My open incidents . i want on hold state records should be seen at top. and should be in Different colour. how to do this ?

 

1 ACCEPTED SOLUTION

@instance  

See thats how it is when you comes to sorting.

When you say Descending then state values will be used to order and show under widget.

Now if you still want onhold to apprear first then you will need to set Resolved at lower order.

Eg: right now resolved - 6 , on hold - 3 and in progress -2

So when you set to descending the 6 will come first which is Resolved, you can change the value to something like 1 but less than 3 so that resolved incidents will go at lower side . I will not recommend this just to have this behaviour under this widget and impact of doing this is instance wide.

 

There is also other option by just by not considering resolved incidents under 'My Open Incidents' which can be done by adding same in filter condition at same location like below:

sushantmalsure_0-1681292364149.png

and then you will have on hold at top

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure

View solution in original post

10 REPLIES 10

Ahmmed Ali
Mega Sage

Hello,

 

Are you using OOTB widget or custom widget to show the list? Can you post the widget code here?

 

Thank you,

Ali

If I could help you with your Query then, please hit the Thumb Icon and mark my answer as Correct!!

Thank you,
Ali

@Ahmmed Ali  I am Using OOB simple list widget . 

sushantmalsure
Mega Sage
Mega Sage

Please provide the widget code to help you better.

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure

sushantmalsure
Mega Sage
Mega Sage

if this is OOB widget instance then open 'My Open Incidents' from table 'sp_instance_vlist'.

here under Fields on list , appearance

sushantmalsure_0-1681291024326.png

 

In order by set that to 'state'.

You may need to add these fields from form layout if not visible.

once you set to order by to state , retest on portal

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure