As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
I was trying to fetch data from mycollection to store one field of each row in an array. but each time I ran the App it doesn't return anything and when I made a breakpoint it appears that dataStore.find doesn't return anything. Here is my code
function getHisTransmitters(){
var arr=[]; // the array to store the field from the collection
var dataStore = $kinvey.DataStore.collection('User1Bases', $kinvey.DataStoreType.Network); //my collection
var stream = dataStore.find();
stream.subscribe(function onNext(entity) {
arr.push(entity.base_id);
}, function onError(error) {
console.log('error')
}, function onComplete() {
return arr;
});
return arr;
}
Braiek Miled
Hello,
I was trying to fetch data from mycollection to store one field of each row in an array.
but each time I ran the App it doesn't return anything and when I made a breakpoint it appears that dataStore.find doesn't return anything. Here is my code
can you help me please ?
Thanks,,,