Execute ServiceHelper.callService in background mode

Hi Community,

 

I am running a configuration service from client side inside onEntityInitialized() method using ServiceHelper.callService. How can I run the configuration service in the background mode? I just notice, client side page freezes until such time execution is done. I want client side to be responsive while configuration service is running

 

Thanks 

Like 0

Like

2 comments

Hi Fulgen,

Using ServiceHelper.callService *is* asynchronous - you can test this by placing a line if code after the call and it should reach that line before the service returns. Could it be that something else is blocking?

Ryan

Ryan Farley,

 

Hi Ryan, thanks for your reply, lookup fields data and details data will not load until such time configuration service execution is done. Any idea how can I fix this?

Show all comments