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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...