Hi,
I use this function on my flex plugin before and run it in flex client, It work well.
But now, I start to develop html5 plugin by using using html client SDK6.5. I encounter some problems.
When I add following paragraph in plugin.xml of HTML5 plugin same with my flex-plugin and run it in HTML client , it not work.
<metadata>
<privilege>Company.View</privilege>
</metadata>
The plugin's name was always existing on the vsphere client,
even if the user doesn't have Company.View privilege. (It should auto-hide like my flex-plugin running in flex client)
Does it can fix in HTML5 plugin?
Thanks
Can you provide the whole extension xml snippet to see what you are filtering out?
HTML Client 6.5 released last November is not complete yet, so this could be something still missing. Have you tried the newer 6.5b version, or even a recent HTML Client Fling available at vSphere HTML5 Web Client ?
Hi laurenforster, where to get the 6.5b version?
The 6.5b Client is part of the vSphere 6.5b patch that you can download on the VMware site.
If you want to try an even newer Client without having to install vSphere the best is to use a recent Fling version at vSphere HTML5 Web Client
Thanks!
Hi laurentsd,
Thanks for your reply , I'll try newest fling version.
And this is my extension xml snippet, Is there something error that I made?
<!-- Main view -->
<extension id="com.company.mytestui.mainView">
<extendedPoint>vsphere.core.host.monitorViews</extendedPoint>
<object>
<name>MyPlugin</name>
<componentClass className="com.vmware.vsphere.client.htmlbridge.HtmlView">
<object>
<root>
<url>/vsphere-client/mywebplugin/resources/mainView.html</url>
</root>
</object>
</componentClass>
</object>
<metadata>
<privilege>Company.View</privilege>
</metadata>
</extension>