- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Regarding API info in vSphere 8.0 client SDK
Hi,
I'm going through the vSphere client 8.0 release notes and it is mentioned that a new javascript API(refreshPluginItemsState) was introduced. However, I could not find it in the SDK documentation
Could please provide some info on the usage and when to use?
Thanks,
Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Kumar,
This JS API refreshes the plugin views that rely on filtering conditions.
For example: Plugin A introduces a view that is dynamically filtered based on a property value of some object.
If the property value is changed by the plug-in using the public vSphere APIs, then the plug-in needs to call this API to signal the UI to re-evaluate the state of the initiator's plug-in related items.
Usage: htmlClientSdk.app.refreshPluginItemsState();
Let us know if you have any questions.
Best Regards,
Denis