UI Action-How to set visibility of UI action on selection of list view

Priyanka22Yadav
Mega Guru

I have created a UI action on the list view. I wish to set its visibility when operational Status field value is NonOperational. If in list selection i select operational Status field value contain operational and NonOperational the UI action becomes disable.

I can perform further operation in the script using to use g_list.getChecked() and g_lis.listID. For Visibility facing issue.

 

Please suggest what should i use. I have created scriptInclude in the condition field , but it's not working, 

1 ACCEPTED SOLUTION

Priyanka22Yadav
Mega Guru

The thing is on the list view selection of any record we can't set the visibility of UI Action. Because the record selection from the list is browser activity, UI Action is server-side activity. Changed the proposed solution. While selecting of NonOperational and Operational status. It generates a message. 

View solution in original post

3 REPLIES 3

Priyanka22Yadav
Mega Guru

The thing is on the list view selection of any record we can't set the visibility of UI Action. Because the record selection from the list is browser activity, UI Action is server-side activity. Changed the proposed solution. While selecting of NonOperational and Operational status. It generates a message. 

@Priyanka22Yadav  Even though there are multiple records selected from the list the action will only be executed for the ones that satisfies your condition that is written on the UI Action.

 

Please mark the appropriate response as correct answer and helpful

the requirement was it should work when condition matches and that is not possible