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!

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...

AI Adoption Hub Launch | Curated Resources to Get Started with AI in Splunk

Hey Splunk Practitioners and AI Enthusiasts! It’s no secret (or surprise) that AI is at the forefront of ...