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

How to specify the vsphere.core.folder.monitorViews as the target of vise.home.shortcuts.

$
0
0

Hello,


I am learning the samples about vsphere web client plugin extensions.

I want to specify the vsphere.core.folder.monitorViews as the target of vise.home.shortcuts.

But it isuseless.It is redirected to blank screen after I click the sample icon in home view.

This part of plugin.xml is as follow.

----------------------

<extension id="sample.viewspropertiesui.folder.monitor">

  <extendedPoint>vsphere.core.folder.monitorViews</extendedPoint>

  <object>

  <name>sample</name>

  <componentClass

  className="sample.views.vcenterSample.vcenterSampleView" />

  </object>

  <metadata>

  <objectType>Folder</objectType>

  <propertyConditions>

  <com.vmware.data.query.CompositeConstraint>

  <nestedConstraints>

  <com.vmware.data.query.PropertyConstraint>

  <propertyName>isRootFolder</propertyName>

  <comparator>EQUALS</comparator>

  <comparableValue>

  <String>true</String>

  </comparableValue>

  </com.vmware.data.query.PropertyConstraint>

  </nestedConstraints>

  </com.vmware.data.query.CompositeConstraint>

  </propertyConditions>

  </metadata>

</extension>

<!-- Home view shortcut -->

<extension id="sample.shortcut">

  <extendedPoint>vise.home.shortcuts</extendedPoint>

  <object>

  <name>sample</name>

  <icon>#{ui.icon}</icon>

  <categoryUid>vsphere.core.controlcenter.administrationCategory

  </categoryUid>

  <targetViewUid>sample.viewspropertiesui.folder.monitor</targetViewUid>

  </object>

</extension>

----------------------

 

I don't know the reason and how to solve the problem. Please give me some help.

I am looking forward to your reply.

 

Any help is greatly appreciated!!

Regards,

lily


Viewing all articles
Browse latest Browse all 2218

Trending Articles



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