I am trying to add a new column to existing VM list view by referring below code snippet from
Below is the sample code given in chassisRackVSphere-ui sample for the same.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<!-- Example of a VM list extension (not related to chassis and racks)
Using the extension point vsphere.core.vm.list.columns we add a 'hostname'
column to VM Objects tab.
-->
<extension id="com.vmware.samples.vm.columns">
<extendedPoint>vsphere.core.vm.list.columns</extendedPoint>
<object>
<!-- XML representation of com.vmware.ui.lists.ColumnSetContainer -->
<items>
<com.vmware.ui.lists.ColumnContainer>
<uid>com.vmware.samples.vm.column.hostname</uid>
<dataInfo>
<com.vmware.ui.lists.ColumnDataSourceInfo>
<headerText>#{vmList.hostNameColumn}</headerText>
<!-- Object property whose text value will be displayed (array of 1 elt) -->
<requestedProperties>
<String>hostName</String>
</requestedProperties>
<sortProperty>hostName</sortProperty>
<exportProperty>hostName</exportProperty>
</com.vmware.ui.lists.ColumnDataSourceInfo>
</dataInfo>
</com.vmware.ui.lists.ColumnContainer>
</items>
</object>
</extension>
--------------------------------------------------------------------------------------------------------------------------
MY Query :-
I am trying to add a column to existing VM list view to display related Chassis Name (Custom) Object.
However when i tried to do that using <String>chassisName</String> i am not getting proper query at java layer .
Can you please suggest a code snippet for plugin.xml which defines this querySpec.
As i want to display property/value in VMList view from my Chassis plugin.
Thanks,
Abhishek