Display UI action even if list has no records

Veronica11
Tera Contributor

Hi All,

 

I created a UI action , when we click on it it opens a dialog box which shows list of records based on query filter.
When list is not empty, then other two UI actions "X" and "Y" are visible at the bottom of that popup

but when list is empty or no records fulfilling the query , those two UI actions are not visible

I want those two UI actions to be visible all time even if list is empty.

 

Thanks

V

3 REPLIES 3

Sujatha V M
Kilo Patron
Kilo Patron

@Veronica11 Please check if you are rendering a UI page using GlideModal or GlideDialog window which holds the buttons and check for the conditions on those buttons.

Modify accordingly to display all the time on the popup. 

Reference Link for syntax identification  : https://www.servicenow.com/community/developer-forum/hide-ok-button-after-click-ui-page/m-p/1991500



Please mark this as helpful and accept it as a solution if this resolves your query.

Thanks,

Sujatha V.M.

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.

Veronica11
Tera Contributor

Hi Sujatha,
Thankyou for the response. It is custom view that i created to show it in popup (using GlideDialogForm)

@Veronica11 If its a custom view embedded on the GlideDialogForm, then you have created the UI actions on that view or on the dialog itself? 

 

If its on the view, navigate to UI actions and check for that buttons and modify the conditions accordingly. 

 

Reference : https://www.servicenow.com/community/developer-forum/difference-between-glidedialogform-glidedialogw....

 

Please mark this as helpful and accept it as a solution if this resolves your query.

Thanks,

Sujatha V.M.

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.