UI Action List

zschneider
Kilo Expert

In Eureka there is a new field type called "UI Action List". This field allows ui actions to be links in a table list. Does anyone have experience on how to use this field type? We want to create links in a column from a gauge on a homepage to take a user to an associated visual task board. This field would solve this perfectly, but I can't find any documentation on how to use it.

14 REPLIES 14

Where exactly do i set the comma separated sys_ids?


I created a new UI Action List field on the sysapproval_approver table. I want it to contain the approve and reject ui actions. But i cannot find where in the field's dictionary i set those...


Thanks.


Ulrich Jugl
ServiceNow Employee
ServiceNow Employee

Raul, not sure if you are still searching for the solution. What you need to do is to either set it as a default value for the field, or set it with e.g. a Business Rule during Insert of a new record.



The Business Rule has the advantage, that you could configure a system parameter which would contain the sys_id's, so your script would not set them directly.


Ulrich, How do you add a new filed of type "UI Action List", i don't see this field type as an available option when creating a new field.



Thanks


Marc


Ulrich Jugl
ServiceNow Employee
ServiceNow Employee

Marc, bare with me, but I'm not a 100% sure if this is already available to everyone.


Wow, I'm waking up an extremally old topic, but it still may be useful to someone



If you need to use that field - change the field type using the background script as an example (you can't pick it directly from the list).



Simply:


var gr = new GlideRecord('sys_dictionary');


gr.get('PUT_FIELD_SYS_ID_HERE');



gr.internal_type = 'glide_action_list';


gr.update();


will do the trick



So as a summary:


1) create UI action you want to use from the list


2) create a new field (type may be string or whatever)


3) change the field type using the script I've put above


4) go back to the field record and set "default" value to sys_id of your UI action (comma separated values should allow multi-actions, but never tried that yet)