New Posts New Posts RSS Feed: Remote Server Method and Progress bar
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Remote Server Method and Progress bar

 Post Reply Post Reply
Author
BillG View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 05-Dec-2007
Location: Monroe, MI
Posts: 233
Post Options Post Options   Quote BillG Quote  Post ReplyReply Direct Link To This Post Topic: Remote Server Method and Progress bar
    Posted: 05-Jul-2013 at 9:28am
i have a remote server method that querys a table and pulls anywhere from 100 to 1000 records out and looping through them does some processing and writes the rows back to another table and does come calculations. Is there any way to send info back to the client so i can update a progress bar showing the percentage completion of the process?
 
Bill
 
Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 05-Jul-2013 at 12:33pm
Hi Bill,

You can convert your remove server method call into a DevForce push notification service. This way you can broadcast the server's progress back to the client. See http://drc.ideablade.com/xwiki/bin/view/Documentation/push-notification for more info.
Back to Top
kdev View Drop Down
Groupie
Groupie
Avatar

Joined: 03-Jan-2013
Posts: 83
Post Options Post Options   Quote kdev Quote  Post ReplyReply Direct Link To This Post Posted: 06-Jul-2013 at 2:10pm
the push service doesn't exist anymore in devforce 2012 so if you plan to upgrade to 2012 someday you might want to consider SignalR from start to avoid having to rewrite all your code.
Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 06-Jul-2013 at 3:24pm
kdev and BillG,

You can vote here if you think Push should still exist in DevForce 2012.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down