Alpha Video Training
Results 1 to 3 of 3

Thread: Update Map Component after 3rd party database update? Can I poll using a timer?

  1. #1
    Member
    Real Name
    Steven D
    Join Date
    Jan 2013
    Posts
    2

    Default Update Map Component after 3rd party database update? Can I poll using a timer?

    Hi All,

    I am currently evaluating A5 with the hope of using it for a web app shortly.

    I am trying to figure out what is the best way in A5 to update the markers on a google map component (icon/info text) after a database table is updated by a 3rd-party? That is, I am not updating the data in an A5 grid via the web interface (and thus can't use the AfterUpdateRecord server-side event I don't believe?), but instead waiting for a table to be updated by a 3rd-party.

    I was thinking the best option would be some sort of timer that fires a SQL Query every x seconds, and updates the marker info if there is a change from previous? I do not know where to start with timer events for A5 web applications though and any help would be greatly appreciated.

    I am trying to avoid a user having to sit and refresh the page manually and would love to have the map appear to update in 'real-time' without manual refresh.

    Thanks for any advice you can provide,

    Steven

  2. #2
    Volunteer Moderator Peter.Greulich's Avatar
    Real Name
    Peter Greulich
    Join Date
    Apr 2000
    Location
    Boston, MA
    Posts
    11,652

    Default Re: Update Map Component after 3rd party database update? Can I poll using a timer?

    If you map is based upon a grid you can set the grid's auto-refresh option to whatever interval you like.

  3. #3
    Member
    Real Name
    Steven D
    Join Date
    Jan 2013
    Posts
    2

    Default Re: Update Map Component after 3rd party database update? Can I poll using a timer?

    Fantastic - that does the trick well. Thanks.

Similar Threads

  1. New Dialog Map Feature Pack won't update
    By GregOnline in forum Application Server Version 11 - Web/Browser Applications
    Replies: 3
    Last Post: 06-27-2012, 11:56 AM
  2. Replies: 1
    Last Post: 11-09-2011, 11:50 PM
  3. Replies: 0
    Last Post: 09-15-2011, 03:50 PM
  4. Do you use 3rd party Tools Poll
    By csda1 in forum Alpha Five Version 8
    Replies: 11
    Last Post: 09-27-2008, 02:37 AM
  5. How to update Third Party Applications
    By Tom Patten in forum Alpha Five Version 4
    Replies: 1
    Last Post: 09-20-2001, 11:11 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •