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

Using metadata on the Related Object tab extension

$
0
0


I’m using metadata to prevent my extensions from appearing on specific Datacenter object tabs. The metadata is working as expected for the Summary Tab, Monitor Tab, and Manage Tab but not for the Related Objects Tab. On the Related Object Tab my extension is always hidden. Is metadata supported on the Related Objects view?



Here’s the metadata:



        <metadata>



            <objectType>Datacenter</objectType>



            <propertyConditions>



                <com.vmware.data.query.CompositeConstraint>



                    <nestedConstraints>



                        <com.vmware.data.query.PropertyConstraint>



                            <propertyName>myNamespace:isTest</propertyName>



                            <comparator>EQUALS</comparator>



                            <comparableValue>



                                <String>true</String>



                            </comparableValue>



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



                    </nestedConstraints>



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



            </propertyConditions>



        </metadata>    



When I remove the metadata the extension appears in the Related Objects Tab as expected.



Any thoughts?



Thanks,



-Darrell



Viewing all articles
Browse latest Browse all 2218

Trending Articles



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