VMware Cloud Community
sagarsavairam
Contributor
Contributor

WEB_PLATFORM.sendModelChangeEvent(ObjectId, "add") is not working properly in HTML client for both vSphere 6.5 and 6.7.

Hi,

I want to refresh the vmware grid after adding new entry, for that I am using below code after successful API call

WEB_PLATFORM.sendModelChangeEvent(ObjectId, "add");

WEB_PLATFORM.setGlobalRefreshHandler();

Same will work for update and remove for that I am using

WEB_PLATFORM.sendModelChangeEvent(ObjectId, "change");

WEB_PLATFORM.setGlobalRefreshHandler();

Is this a issue with vmware grid for add operation, or we have to do this using some other approach?

0 Kudos
0 Replies