Post

2 followers Follow
0
Avatar

Prevent multiple select for Custom Action

I wish to prevent a custom action from running if multiple objects are selected, is that possible?  Here is my example, I am trying to update a field in a project based on form input.  My PMs have accidentally done this to multiple projects which is not the desired outcome, each project must be done separately.  I would like to either throw an error or disable the custom action button if more than one project is selected.

Melissa Answered

Please sign in to leave a comment.

1 comment

0
Avatar

Hello Melissa,

It is not possible to know how many objects are selected when running a Custom Action. However, there is a workaround - you can create a Custom URL Field that contains a link to that Custom Action that is internal (not otherwise visible in the interface). This would make it impossible to run that Custom Action on multiple items.

Please let me know if this helps.

Roland Pumputis 0 votes
Comment actions Permalink