You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Is it bad practice to access control._source.config.listOptions ?

Accepted answer
edited Oct 29, 2019 1:01AM in Intelligent Advisor for Fusion Service 2 comments


Hi all,

I have a requirement that a list of values be retrieved via Ajax and pushed into a drop down list.  There are several ways I can do this but one way I've tried I like but not sure if its best practice.

I have an attribute defined on my model as type Text.  I dropped the control for this on an interview screen as type Drop Down, with a customName property of "courseSearch".

I set the default value for the drop down to "... loading ..".  Then I wrote some JS that looks like this:


customInput: function (control, interview) {

if (control.getProperty("customName") == "courseSearch"){

var newOption = {

displayText : "Option1",


rawDisplayText : "RawOption1",

value: "1"






Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!