how do i get the data automatically using the esrirequest() , when more data come in.or what is the best practice to do this.
esri.request({ url: 'html/anno/project-get-projects.php', content: { user: user }, handleAs: 'json', callbackParamName: 'callback' }, { usePost: true }).then(function (response) { if (response.success) { //console.log(response); //create dgrid for user to select project to load } else { console.log(response.message); app.error(response.message); } }, function (error) { console.log(error); app.error('An error has occured.') });
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.