tacticalrmm icon indicating copy to clipboard operation
tacticalrmm copied to clipboard

Feature Request: Make multi-select custom fields easier to use

Open NiceGuyIT opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. Using a collector script to populating multiple items in a multi-select fields is very restrictive. It accepts only a comma separated list of values on one line.

Describe the solution you'd like It would be nice if it also accepted a list of values separated by newlines. For example, one value per line. Another option, albeit a little more intense, is to use JSON to represent the multiple values.

Describe alternatives you've considered N/A

Additional context It took a while to figure out how to set multiple values in a multi-select custom field.

NiceGuyIT avatar Aug 05 '22 02:08 NiceGuyIT

I believe this is a restriction with Postgres arrayfield. That is how it stores them in the database. In the django app, it will convert the returned values into an array which makes it really easy to use. But using scripts this conversion needs to happen client side.

sadnub avatar Aug 14 '22 23:08 sadnub

We'll close as a won't fix unless someone has a better idea.

silversword411 avatar Oct 26 '22 12:10 silversword411