title: Iron python script for creating filters in spotfire
body: <p>Can some one please provide iron python script to create multiple select list box filter ( with search option). When I click on button in which my script is embeded, data should be filtered for all of my four data tables present in my dashboard page.</p>
  
  <p>I have written some script but it is working if there is only one data table present, I am facing some error when I try to apply the filter for data in multiple data tables.</p>
  
  <pre><code>from Spotfire.Dxp.Applica‌​tion 
  import Filters as filters 
  
  CurPanel = Document.ActivePageR‌​eference.FilterPanel 
  FilterA = CurPanel.TableGroups‌​[0].GetFilter("column‌​name") 
  CheckBoxes = FilterA.FilterRefere‌​nce.As[filters.CheckB‌​oxFilter]() 
  strCityL = Document.Properties[‌​"propertyname"] 
     for CheckBoxVal in CheckBoxes.Values: 
         CheckBoxes.Uncheck(C‌​heckBoxVal) 
     for strVal in strCityL: 
         CheckBoxes.Check(st‌​rVal) 
  </code></pre>
  
  <p>Above script is for one data table and I cannot search my filter values</p>
  
  <p>Thanks</p>