tag:blogger.com,1999:blog-1078032318127767231.post8600627453019246779..comments2024-03-20T01:42:16.872-05:00Comments on Spotfire Developer: Change filters programaticallyJose Leviaguirrehttp://www.blogger.com/profile/12377756211132280060noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-1078032318127767231.post-52392138357020884382021-12-08T18:52:26.658-06:002021-12-08T18:52:26.658-06:00Hi! What do I need to code if my filter scheme is ...Hi! What do I need to code if my filter scheme is called "Center"<br /><br />This is only affecting the main Filtering Scheme<br /><br />filt=Document.FilteringSchemes[0].Item[myDataTable].Item[myDataTable...<br />Thank you!!!elenarchttps://www.blogger.com/profile/10627553309066319262noreply@blogger.comtag:blogger.com,1999:blog-1078032318127767231.post-39260023456310012492015-09-28T08:39:02.375-05:002015-09-28T08:39:02.375-05:00Hello Payal Kumar
What error are you referring to...Hello Payal Kumar<br /><br />What error are you referring to? Without much feedback, I can only guess that you are referring to line #4 -or second statement that ends like: ".As[CheckBoxFilter]()"-<br /><br />If you want to make it work on your end, then change myDataTable to the table that contains the "Region" column. Try creating a Data Table Script parameter called myDataTable. If your table does not have a Region column, then use the proper name. Also, make sure that the filter you are trying to change programatically with this script is actually a CheckBoxFilter (right click on your filter from the filter panel and select the check boxes option)<br /><br />Remember that this, an all other scripts in this blog are only snippets of code for guide and reference for experienced users. You will have to change it according to your needs.<br />Jose Leviaguirrehttps://www.blogger.com/profile/12377756211132280060noreply@blogger.comtag:blogger.com,1999:blog-1078032318127767231.post-91341400859653480662015-09-28T06:42:22.720-05:002015-09-28T06:42:22.720-05:00Error given by the first lineError given by the first lineAnonymoushttps://www.blogger.com/profile/13524082493846928161noreply@blogger.com