Results 1 to 5 of 5

Thread: Automatic Refresh

  1. #1
    citapinc is offline Sugar Community Member
    Join Date
    Sep 2011
    Location
    Anaheim, CA
    Posts
    81

    Default Automatic Refresh

    Is there an addon for SugarCRM CE 6 that will automatically refresh the screen every 30 seconds while in list views?

  2. #2
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Automatic Refresh

    There is something like that for dashlets on the home page but not for the list view.

  3. #3
    citapinc is offline Sugar Community Member
    Join Date
    Sep 2011
    Location
    Anaheim, CA
    Posts
    81

    Default Re: Automatic Refresh

    You're right and I used the wrong term there. I meant Dashlets.

    I see that there is a refresh button they can press, but I'm looking for a way to have the screen refresh automatically when a dashlet is updated with new data. In fact the client would live to have the Dashlet flash or turn red when new data is automatically updated.

  4. #4
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Automatic Refresh

    In the recent versions if you click on the dashlet edit icon you'll see an "Auto-Refresh" option that you can set. It doesn't highlight the changes but it will refresh the dashlet without having to manually click the refresh button.

    The challenge with highlighting changes is that it constantly refreshes. For example, if you have it set to 1 minute and leave your computer for 5 minutes you may have 1 new record at minute 1. Lets say it shows up in bold. Now at minute 2 it no longer shows in bold as there are 2 new records on this minute. When you come back at minute 5 the system can't tell accurately what you as a user have or have not seen. The only way is to have some sort of "read" flag but that would only be set if you go to the detail/edit view of the record which would be annoying to have to do as a user.

  5. #5
    rafael.q.g@hotmail.com's Avatar
    rafael.q.g@hotmail.com is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Florianópolis - Brazil
    Posts
    782

    Default Re: Automatic Refresh

    Is possible to include some javascript function at your page that call the function setInterval with the desired period. The function called by set interval could reload your page.

    Code:
    function refresh(){
      window.location=window.location;
    }
    
    setInterval("refresh()",30000);
    Rafael Queiroz Gonçalves
    Advanced OMG UML Certified Professional
    Sun Certified Enterprise Architect for the Java Platform
    Sun Certified Programmer for the Java 2 Platform
    IBM Certified Advanced Application Developer - Lotus Notes and Domino
    IBM Certified Application Developer - IBM WebSphere Portlet Factory
    Computer Science Mastering / UFSC - PPGCC

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. refresh page not refresh data
    By emimarz in forum Developer Help
    Replies: 0
    Last Post: 2011-04-15, 12:48 PM
  2. subpanel refresh
    By hiko in forum Developer Help
    Replies: 4
    Last Post: 2011-03-08, 08:48 AM
  3. automatic refresh page in meetings
    By rakeshray in forum Developer Help
    Replies: 10
    Last Post: 2010-09-21, 09:01 AM
  4. Automatic E-Mail Refresh
    By DanBrown in forum Help
    Replies: 3
    Last Post: 2008-10-24, 12:31 PM
  5. Pipeline doesn't refresh
    By jayskersonic in forum Help
    Replies: 0
    Last Post: 2006-03-31, 03:38 PM

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
  •