Quantcast
Channel: VMware Communities : Discussion List - vSphere Client SDK
Viewing all articles
Browse latest Browse all 2218

vSphere H5 Navigation

$
0
0

Hi _vladi_

 

I wanted to add the navigation from one view to other.

Example: Similar to Breadcrumb, where we can navigate to is parent node by clicking the link(href)

Home->Host->Controller->Logical

Logical is my current view, whenever I click on the Home link it should navigate to "vsphere.core.controlcenter.domainView".

Similarly for the Host "com.xxx.xxx.host" and "com.xxx.xxx.controller".

 

I tried using the below code, on click on "Home" link callHome() function is called

targetViewID is "vsphere.core.controlcenter.domainView"

what will be the object ID, when navigating to "vsphere.core.controlcenter.domainView"?

 

callHome(){

     const navConfig = new NavConfig("vsphere.core.controlcenter.domainView", "");

     this.gs.getClientSdk().app.navigateTo(navConfig);

}

 

 

I need some clarification of targetViewID and ObjectID.

targetViewID -> The view which we want to display?

ObjectID -> It should be the current page object ID or targetView's object ID?

 

Thanks,

Sujeet Kalaskar


Viewing all articles
Browse latest Browse all 2218

Trending Articles



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