Skip to main content
Nintex Community Menu Bar

I have a Static Dropdown with 2 Values "Hello" "World"

 

14431i111F39F55A4CA494.jpg

 

I wonder if is possible to overwrite the Runtime Variable to reflect perhaps this static from a JS or JQuery List....

 

//<!tCDATAA
Sys.Application.add_init(function() {
$create(SourceCode.Forms.Controls.Web.DropDownBehavior, {"_dataSourceType":"Static","_fixedListItems":""{"display":"Hello","value":"World"},{"display":"Second","value":"Second"}]","_tabIndex":0,"_waterMarkText":"Select an item","id":"00000000-0000-0000-0000-000000000000_12b85519-823f-7099-17e7-b2152c0c9dbb"}, null, null, $get("00000000-0000-0000-0000-000000000000_12b85519-823f-7099-17e7-b2152c0c9dbb_DropDown"));
});
//]]>

 

Or perhaps have a K2 Service Instance with SMO that directly retrieve this feed from URL and is able to use as DataSource Dynamic from a specific URL.

 

Any ideas...

Dear ,

 

If i understood u right , this specific request ive seen before , and no i dont believe its possible to accomplish ,

having dynamic drop down list with different value ,

what people could do is to create multiple drop downs and show/hide the ones they need and the ones they dont need ,

and if u want to have 1 drop down list and  1 data source , u could do some kind of filtering into the "populate list with data" to retrieve different data eacah time depending on some kind of a parameter ,

 

Hope it helps!

Regards.

 


Understoo Ahmad, and makes perfect sense... I was just exploring the options and think outside the box, however agree with your solution and sounds like much more stable and robust.

 

Thank you Dino.


Reply