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

EQUALS_ANY_OF Condition In Plugin.Xml Extension is Not Working.

$
0
0

I am trying to apply a EQUALS_ANY_OF condition in plugin.xml file. but this condition is not working due to which my portlet is not appearing in plugin mode.

While on same extension when i am using  only EQUALS condition it is working fine and appearing in plugin mode.

Here is code below.

 

<extension id="mycompany.testPortlet">

     <extendedPoint>vsphere.core.datastore.summarySectionViews</extendedPoint>

     <object>

      <name>#{PortletName}</name>

         <contentSpec>

            <url>/ui/index.html?view=portlet-view</url>

            <metadata><entry><key>hasTitle</key><value>false</value></entry></metadata>

         </contentSpec>

      </object>

      <metadata>

         <objectType>Datastore</objectType>

         <propertyConditions>

            <com.vmware.data.query.CompositeConstraint>

                <nestedConstraints>

                    <com.vmware.data.query.PropertyConstraint>

                        <propertyName>summary.type</propertyName>

                        <comparator>EQUALS_ANY_OF</comparator>

                        <comparableValue>

                            <String>VVOL,NFS,NFS41,NAS,VMFS</String>

                        </comparableValue>

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

                </nestedConstraints>

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

        </propertyConditions>

    </metadata>

   </extension>

 

Please provide some solution on it.

Thanks in Advance.


Viewing all articles
Browse latest Browse all 2218

Trending Articles



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