Garima Verma 2 Posted October 9, 2020 Posted October 9, 2020 I am using Spotfire JavaScript API to integrate and show spotfire report in my angular/JavaScriptapplication. User can filter the data by selecting some filters from the spotfire report. Now I have to read the values from the modified filer columns in order to read the filter values applied. I have written a small function like this- testFtn(){ doc.filtering.getModifiedFilterColumns('Filtering scheme', spotfire.webPlayer.includedFilterSettings.ALL_WITH_CHECKED_HIERARCHY_NODES, function(data) { console.log('modified column array: '+data) }); } The problem I'm facing currently is that I don't see the callback function being triggered. The console.log statement never gets logged. Can somebody please help me here, thanks in advance. Once I start getting the data array, i would extract the required values from it.
Tyger Guzman 2 Posted October 13, 2020 Posted October 13, 2020 The call back function should be as follows testFtn(){ doc.filtering.getModifiedFilterColumns('Filtering scheme', spotfire.webPlayer.includedFilterSettings.ALL_WITH_CHECKED_HIERARCHY_NODES, function(filterColumns) { console.log(filterColumns) }); }https://docs.tibco.com/pub/sfire_dev/area/doc/api/TIB_sfire_Web_Player_J...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now