Is there a way to refresh "Recent Tasks" window or call Global Refresh from HTML Bridge plugin?
From my HTML Bridge plugin I am submitting VMware Task like reconfigure VM and I want the task to show up immediately in "Recent Tasks" windows. For this I need to call "Recent Tasks" window refresh or Global Refresh. Is there a way to do this?
Sorry, this is not possible. However in Web Client 6.0 users can configure the auto-refresh rate of the Recent Tasks view (parameter tasks.refresh.rate in webclient.properties, the default is 1 minute)
Thanks for the response. I am not sure how happy customer will be to increase the refresh rate. If I am not wrong, I read there is some side-effects of increasing the refresh rate? This is going to be bit inconvenient to keep manually refreshing the page.
Is this limitation only for HTML Bridge plugin?
So if I add my custom Tasks definition under my extension, it is going to be the same. User will have to manually refresh the "Recent Task" window when we create our custom task on vCenter Server?
There is a work-around when using the Flex API described a while ago here: Re: Update vcenter TaskPane on webclient UI
Unfortunately it is not possible to trigger this taskPanelRefreshRequest event within an HTML plugin. We could add this in the next release but it won't be necessary because tasks will be refreshed automatically, i.e. without relying on a timer.
For now increasing the timer frequency is your best bet. There is no real performance penalty when the view is showing only "My tasks", which should be the default.
Another thing regarding custom tasks created on vCenter: make sure that the task username is set to the VC session name and not the Web Client user name, otherwise they won't show up in the "My Tasks" mode.