cancel
Showing results for 
Search instead for 
Did you mean: 

Optimized Story Experience - GetResultSet after setfreshpaused(false) doesnt work anymore

Alexander_Blasl
Participant
0 Kudos

Hi experts,

after converting my old classic analytic application to new Story OSE the following code doesnt work anymore.

Table_1.getDataSource().setRefreshPaused(false);
var membersRes = Table_1.getDataSource().getResultSet({"006EIDM3RWZJKVLQMDKLWU6MG":"39217857-8320-4345-9347-722179101763"});
console.log(memberRes);


var "memberRes" is now undefined. It seems the code now doesnt wait for the Table to be loaded. How can I fix that?

View Entire Topic
JefB
Active Contributor
0 Kudos

Also facing quite some issues with this.

Try these 2 things to see if it helps:

1) adding this to the beginning of the onInitialization() script:
var ds = Table_1.getDataSource();

2) enable the 'Always initialize on startup' option on the table widget.

Alexander_Blasl
Participant
0 Kudos
@JefB thanks, but those 2 things didnt help. I dont have this in OnInitialization - its in OnSelect at the Tabstrip.