How do I get a List Banner UI Action to not require selecting an item?

bcronrath
Kilo Guru

I am trying to figure out how I can have a List Banner Button not require a selection when clicked.   What I want is a "normalize" style button that basically creates a record for the table in question and gives it certain default values without needing any additional input from the user.

The server side script is simple and shouldn't require a thing from the user or any selected item, it just uses glideRecord to create the record and should finish on its own.   I'm almost there but the only problem is currently no matter what I try, when I click the button from the List view it says "No records selected" in a popup, and forces me to have to select at least one record.   If I select a record and click the button it works as expected (using no info from whatever item is selected of course) and creates the new entry.   The default "New" UI action does not require this at all, but when I check that UI action I can't see any specific reason why it gets away with not requiring a selected item yet mine requires one.

Is there something additional I need to do in order to have a List Banner Button level UI action that does not require selection of items when being pressed?

Best regards,

Brian

1 ACCEPTED SOLUTION

Just a quick update - I found that it seems to be an issue that can be resolved by naming the action name the prefix "sysverb" and then anything after that.   There must be some hardcoded check to see if sysverb is prefixed in the action name, and if so it will not require selection from the list view.


View solution in original post

8 REPLIES 8

Just a quick update - I found that it seems to be an issue that can be resolved by naming the action name the prefix "sysverb" and then anything after that.   There must be some hardcoded check to see if sysverb is prefixed in the action name, and if so it will not require selection from the list view.


Thanks Brian!


Huge help.


Thanks for the tip. very helpful...!!

Tanvisha_1
Tera Contributor

Hi,

 

I have added  'sysverb_new' as action name but it is showing me error as 'action not authorized' when i click to button.any solution for this error " action not authorized"