Posts: 1,275
Threads: 135
Joined: Dec 2010
Dean,
I figured it out. Here is what I ended up doing.
Instead of passing the dereferenced variable driver field as a parameter, I passed it referenced and then insert $ to it on the template preload.
Posts: 40,483
Threads: 491
Joined: Aug 2002
Yep that would work as well, and also avoids dereferencing until it's required.
Dean Roddey
Explorans limites defectum
Posts: 740
Threads: 33
Joined: Oct 2008
Dean,
Is there a better way to populate a static list browser with data?  I would use a web browser but seems the Riva IOS client does not support that.  
Can I read data from file and populate list browser on template "OnLoad"? or is there a better way? 
When there are changes just takes to long to edit quoted/comma separated data.
This is what my screen currently looks like:
XMRadio Screen shot
"1   XM Preview          XM Preview","2   SiriusXM Hits 1     Today's Pop Hits","3   Venus               Pop Music You Can Move To","4   Pitbull's GlobalizatWorldwide Rhythmic Hits","5   '50s on 5           '50s Pop Hits","6   '60s on 6           '60s Pop Hits w/ Cousin Bruc","7   '70s on 7           '70s Pop Hits","8   '80s on 8           '80s Pop Hits", "9   '90s on 9           '90s Pop Hits"
_______________
Denon 3808ci, 2112ci ,Sonos, NoVo Grand Concerto, Z-Wave(Lights,Locks), Hue, SmartThings,
iPads,Tivo,Hikvision,Elk-M1,TED5000,Somfy RTS blinds+ZRTSI, Amazon Echos+Dots, Polk XRT12,
Honeywell Wi-Fi 9000, Caleo Wi-Fi Thermostats, Rainmachine
Posts: 40,483
Threads: 491
Joined: Aug 2002
You could read it from a file, but it would require CML to do that. You could return the list back into a variable at the action level.
Dean Roddey
Explorans limites defectum
Posts: 740
Threads: 33
Joined: Oct 2008
(04-12-2017, 09:03 AM)Dean Roddey Wrote: You could read it from a file, but it would require CML to do that. You could return the list back into a variable at the action level.
Thanks Dean.  Set up a variable in the variables driver and use the set value to cut/past the data from a file. Much easier than one a single line in the template window. Will work on reading from file and writing to global var later.
Would love to have a way to populate a Static List Browser from a http: get.  
Kevin
_______________
Denon 3808ci, 2112ci ,Sonos, NoVo Grand Concerto, Z-Wave(Lights,Locks), Hue, SmartThings,
iPads,Tivo,Hikvision,Elk-M1,TED5000,Somfy RTS blinds+ZRTSI, Amazon Echos+Dots, Polk XRT12,
Honeywell Wi-Fi 9000, Caleo Wi-Fi Thermostats, Rainmachine
Posts: 40,483
Threads: 491
Joined: Aug 2002
You could do it from a GET but it would require CML as well.
Dean Roddey
Explorans limites defectum