#331 new
Michael Gibson

feature for cascading select list from options provider

Reported by Michael Gibson | June 8th, 2011 @ 11:54 AM

In the case of a large result set from an options provider, it would be helpful to organize the json in a way that rundeck could present dynamic cascading select lists.

Comments and changes to this ticket

  • Alex-SF

    Alex-SF July 9th, 2011 @ 01:47 PM

    • Tag set to feature request, options dropdown
  • Michael Gibson

    Michael Gibson July 15th, 2011 @ 01:44 PM

    was able to work around this by embedding some hacky javascript into the option's description field which gets executed when the run page loads.

  • Alex-SF

    Alex-SF July 15th, 2011 @ 01:59 PM

    Hi Michael, would you mind uploading an example?

  • Michael Gibson

    Michael Gibson July 15th, 2011 @ 03:57 PM

    An example use case for this would be in the case of a GIT repo options provider where you want to dynamically select between different projects and their associated tags.
    I am attaching an example job with some very ugly javascript in the "project" option.
    In my case, project is tied to remote options provider which returns a listing of projects in our GIT repo.
    The tag option is tied to a remote options provider which returns a listing of all the tags for all of the projects in the repo.

    Both of these are very long lists and I want to display only the tags of the project option.
    I am setting the onchange event of the project option select list to reload then trim the tags select list to match the currently selected project.

  • Deleted User

    Deleted User July 15th, 2011 @ 04:19 PM

    Nice use of that description tag :)


  • victorpatrick

    victorpatrick January 2nd, 2024 @ 06:16 PM

    was able to get past this by buildnow gg inserting some rudimentary javascript into the description field of the option, which is what runs when the run page loads.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

(DEPRECATED) Please use github issues for issue tracking at http://github.com/dtolabs/rundeck/issues

Shared Ticket Bins