
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2022 08:02 AM
Hi all,
Is it possible to show a UI Action button on a related list if there are no records in the related list?
Scenario is when my related list comes back with 0 records, I need a UI Action (one of three) on the related list tab 'Purchase New', which will kick off a separate process.
Currently my UI Action only shows up when I have records in the related list.
If the New button can be displayed on a table w/ no records, I'd think I could do something similar w/ my own UI Action on a related list.
Thoughts?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2022 08:58 AM
Hi
just tested it out with a new blank UI Action:
Result is a Test button which can be used without selecting any records
After removing the sysverb_ prefix I have to select records first.
So the best is to start with a completely new UI Action and add more and more configurations to fit your needs. Do not reuse an existing one. There was a case where I had wasted several hours of searching and getting crazy until I found out, that I forgot to remove a role at UI Action tab "Requires Roles"
Kind regards
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2022 08:12 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2022 08:38 AM
Maik-
Thanks for the quick response. Unfortunately I'm not getting the button to show up on the related list.
Here's my UI Action info:
Active: true
Show insert/update: true
Client: true
List v2: true
List banner button: true
Action name: sysverb_purchaseSW
Condition: gs.hasRole('sam') && current.state == 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2022 08:58 AM
Hi
just tested it out with a new blank UI Action:
Result is a Test button which can be used without selecting any records
After removing the sysverb_ prefix I have to select records first.
So the best is to start with a completely new UI Action and add more and more configurations to fit your needs. Do not reuse an existing one. There was a case where I had wasted several hours of searching and getting crazy until I found out, that I forgot to remove a role at UI Action tab "Requires Roles"
Kind regards
Maik

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2022 09:21 AM
Well, you were right. I started from scratch and whola. I am noticing that when I add something in the condition value, the button goes away. When it's empty, the button is there.
Oh well, small victories. Thanks again!