Splunk Search

How to populate type:list input in setup.xml

harshpatel
Contributor

Hi everyone,

I was trying to get radio buttons in an app's setup page. And I thought that maybe list would be ok as stated in the documentation.

Quoting doc:

list: Displays values from a comma-separated list, allowing the user to select a single value.

From this, we can tell that it must be shown as a dropdown when the setup page is loaded. But I tried to populate it using a comma separated string but that didn't work and it was rendered as text input.

There's also no explanation in the documentation on how to populate it and now I don't know if it even works or not. Also want to reference the same question from 2013 here: link

Hoping to get an answer here.

Thanks,
Harsh

0 Karma
Get Updates on the Splunk Community!

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureThursday, March 27, 2025  |  11AM PST / 2PM EST | Register NowStep boldly ...

Splunk AppDynamics with Cisco Secure Application

Web applications unfortunately present a target rich environment for security vulnerabilities and attacks. ...

New Splunk Innovations Enhance Performance and Accelerate Troubleshooting

Splunk is excited to announce new releases that empower ITOps and engineering teams to stay ahead in ever ...