How to display a UI Action in a specific view

miyu
Tera Guru

I am creating a UI Action for a list banner button.
However, I want to display this UI Action only in the "Custom View".
I do not want it to appear in the Default view.
Is there any way to implement this requirement?

5 REPLIES 5

1__vipind
Tera Contributor

Hi Miyu,

If I understood your questions correctly, you would like to restrict UI button visibility for a particular view. If it is yes! then certainly you can achieve by either of the ways listed below:-

1)  Go to application navigator <sys_ui_action.LIST < open your UI action < under related links open UI Action Visibility <edit the view which you want to restrict or make available .- This is the best practice 

1__vipind_0-1739437603780.png

2) Open Ui action/create new < on condition field type   RP.getParameterValue('sysparm_view')=="custom view"(in your case) .  If this answer helps please accept this solution and mark it as helpful