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!

Cloud Platform | Customer Change Announcement: Email Notification Will Be Available ...

The Notification Team is migrating our email service provider since currently there’s no support ...

Mastering Synthetic Browser Testing: Pro Tips to Keep Your Web App Running Smoothly

To start, if you're new to synthetic monitoring, I recommend exploring this synthetic monitoring overview. In ...

Splunk Edge Processor | Popular Use Cases to Get Started with Edge Processor

Splunk Edge Processor offers more efficient, flexible data transformation – helping you reduce noise, control ...