How to display a UI Action in a specific view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2022 09:41 PM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2025 01:09 AM - edited ‎02-13-2025 01:10 AM
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
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