Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to hide all the Ui actions in a custom view

Roshini
Giga Guru

I have a Ui action name "on hold", this Ui action will be calling a particular view  "on_hold", but this view is having all Ui actions. But I don't want to display  any Ui actions/Ui buttons in the popup view. Can someone help

1 ACCEPTED SOLUTION

Roshini
Giga Guru

Was able to achieve it with below code

var items = $$('BUTTON').each(function(item) {

   
            if (item.innerHTML.indexOf('Update') == -1) {              
                item.hide();
            }

View solution in original post

3 REPLIES 3

Anurag Tripathi
Mega Patron
Mega Patron

There is no direct way to do it , You will have to add the Add this to each ui action individually.

 

Open the ui action and at the bottom you will find this related list

AnuragTripathi_0-1729607418311.png

 

Click on Edit and add views you want this to be visible to.

 

 

-Anurag

Roshini
Giga Guru

Was able to achieve it with below code

var items = $$('BUTTON').each(function(item) {

   
            if (item.innerHTML.indexOf('Update') == -1) {              
                item.hide();
            }

Hi @Roshini ,

 

Will this hide all the UI actions of the popup? Also, what is the button parameter and is it client script?