Init Script to configure a Mobile Custom Query not working

If you think that something doesn't work in Aware IM post your message here
Post Reply
johntalbott
Posts: 619
Joined: Wed Jun 17, 2015 11:16 pm
Location: Omaha, Nebraska
Contact:

Init Script to configure a Mobile Custom Query not working

Post by johntalbott »

Support,

Modifying config.dataSource in the Init Script for a Mobile Custom Query does not work. It seems to be a timing issue in that the Kendo dataSource has already initialized so it's too late to change the configuration.

I'm using v8.1.

Thanks,
JT
VocalDay Solutions - Agility - Predictability - Quality

We specialize in enabling business through the innovative use of technology.

AwareIM app with beautiful UI/UX - https://screencast-o-matic.com/watch/crfUrrVeB3t
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: Init Script to configure a Mobile Custom Query not worki

Post by aware_support »

Try setting the new dataSource into parser.m_dataSource as well as in the config:

config.dataSource = newDataSource;
parser.m_dataSource = newDataSource;
Aware IM Support Team
Post Reply