In this example, only after the selection of images from a list the <RETRIEVE> button becomes visible and includes the number of selected images.
This was originally implemented as the simple HTML in the description of the Active Choices parameter.
The HTML <div> element provides an element id that I use to render the dynamic button.
With the new secure configuration thsi fucntionality is now lost. Instead I get:
Workaround
Just in case you run into a similar issue, ou can move this HTML into a separate Active Choice Reactive Reference which will render it correctly!
Active Choice Reactive References work in the secure jenkins realm to in fact do things that are not normally allowed by Jenkins (such as injecting HTML and Javascript into the build form page).
So you can create a new 'anonymous' Active Choice reactive reference parameter and use it in place of the HTML in the Parameter Description
Green is the correctly rendered Active Choice while red is the non-rendered HTML