AnsweredAssumed Answered

Tool validator value list append doesn't work?

Question asked by lgtateos on Mar 28, 2014
Latest reply on Apr 14, 2014 by dhoneycutt-esristaff
Hi Folks,

if you put the following code into a script tool 'toolValidator' class 'updateParameters' method, it only puts 'fee' in the list (no error is thrown). 
self.params[0].filter.list = ['fee'] self.params[0].filter.list.append('foo')


The documentation says the 'list' filter property is a Python list.  My question is, why can't I append?  (The examples in the documentation all hard code the list... which makes me wonder if the authors know about this problem but didn't have time to fix it).

Thanks!

Outcomes