Display UI action even if list has no records
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2024 08:18 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2024 10:37 PM - edited 04-11-2024 10:38 PM
@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.
Sujatha V.M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2024 11:09 PM
Hi Sujatha,
Thankyou for the response. It is custom view that i created to show it in popup (using GlideDialogForm)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2024 11:23 PM - edited 04-11-2024 11:24 PM
@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.
Sujatha V.M.