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!

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...

AppDynamics is now part of Splunk Ideas

Hello Splunkers, We have exciting news for you! AppDynamics has been added to the Splunk Ideas Portal. Which ...

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...