Quantcast
Viewing all articles
Browse latest Browse all 2218

Help with Global View

I am writing a plugin, and I can get my application to show up in the global view.  In the VMware 5.1 documentation regarding global views it says, "global view can be a simple single-level data view that uses the entire vSphere Web Client main workspace, or a complex nested view with its own internal navigation structure and organization"   ... or as I understand it, as simple or as complicated as you like.

 

The documentation and sample code for the SDK seem to take the "simple" route.  That is, the global view is a simple, gray page.  That is exactly how mine looks... I can add buttons or text or links, but it is a basic page.

 

What I want to do is make one that looks like the vCenter Orchestrator "Home".  This has "Getting Started", "Summary", and "Manage" tabs all within the main "home" screen.  That's what I want to do.

 

I cracked open the .war file making up the Orchestrator plugin.  Within this file, it has the plugin.xml.  Holy man, it is over 4000 lines long... that isn't what I want.  I have tried to study it and use the pieces that I think I need, but it simply fails.

 

Here is my problem: the documentation doesn't talk about 90% of the things used in the Orchestrator's plugin.xml file.  For example, the O's plugin.xml uses a "com.vmware.ui.views.TabbedView" class, which is what I think I want.  But that isn't listed in the ...vsphere-client-sdk/docs/vsphere-client-asdoc/index.html documentation as far as I can see.  Or the xml tag <actionDisplayInfos> looks like what I might want for the "Getting Started" screen... but searching communities.vmware.com, the vmware documentation, or even google itself give me no results (at least not related to VMware).

 

Am I missing some link/file for more detailed documentation?  Based on the documentation that I have seen, there is NO WAY anyone could ever create the plugin.xml file that Orchestrator is using, so I feel like I must be missing something.

 

I have attached my "rendition" of the plugin.xml file, which is mostly just picked-pieces out of the Orchestrator plugin.xml file.  (you can open the orchestrator .war file with anything that opens zip files... you can find the orchestrator .war file in your [VMware\vsphere-web-client\plugin-packages\vco-plugin] path, if you want a comparison).

 

For my "views" (as you would see in the plugin.xml), I have a GettingStartedView (which is for the "getting started" screen) and a MainView (which is for the "Summary" screen).  Neither of these do much but have a one word text in each of them.

 

My current error is:

Failed to navigate to desired location.

Error details: Could not retrieve IExtensionActivator interface.

 

Thanks for any help.


Viewing all articles
Browse latest Browse all 2218

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>