Product: TIBCO Spotfire®
Analysis loads in TIBCO Spotfire with error 'Read callback 'InitializeFilters' failed.'
In TIBCO Spotfire Analyst or TIBCO Spotfire Web Player, loading an analysis with filter control in a Text Area might throw an error like:
Read callback 'InitializeFilters' failed.
Type: TypeError
Message: Cannot read property 'left' of undefined
Stacktrace: TypeError: Cannot read property 'left' of undefined
at bi (http://localhost:8000/?package=js:41:1593474)
at fr (http://localhost:8000/?package=js:41:1593774)
at a (http://localhost:8000/?package=js:41:1594290)
at r.ui [as update] (http://localhost:8000/?package=js:41:1596332)
at Object.create (http://localhost:8000/?package=js:41:1597019)
at eval (eval at evaluate (http://localhost:8000/?package=js:41:404615), <anonymous>:1:170)
at eval (<anonymous>)
at Object.evaluate (http://localhost:8000/?package=js:41:404615)
at Object.<anonymous> (http://localhost:8000/?package=js:41:3316612)
at Function.each (http://localhost:8000/?package=js:22:15094)?????
This issue can be seen if there is a filter control commented out in Text Area HTML.
For example, the following screenshot is the HTML view of a Text Area where a Spotfire filter control has been commented out. Spotfire still attempts to render this filter but since the DOM element will not be present, the initialization of the filter will fail resulting in the "Read callback 'InitializeFilters' failed" error.
To resolve this issue, remove the commented code from the Text Area (the green text in above image) which contains filter control and save the analysis file.
Doc: How to use Text Area
Comments
0 comments
Article is closed for comments.