Hi Laurent,
I am trying to add a new column in the datastore grid. I have to fetch the device id of the underlying lun for each of the datastores in the datastore grid.
I have written a java class referring to DataProviderImpl class from WSSDK sample. I am trying to fetch the property using DataService.
The entry in plugin.xml looks like below
<extension id="com..datastore.list.columns">
<extendedPoint>vsphere.core.datastore.list.columns</extendedPoint>
<object>
<items>
<com.vmware.ui.lists.ColumnContainer>
<uid>com.datastore.column.deviceId</uid>
<dataInfo>
<com.vmware.ui.lists.ColumnDataSourceInfo>
<headerText>#{datastoreView.title.deviceId}</headerText>
<requestedProperties>
<String>vsi:DeviceId</String>
</requestedProperties>
</com.vmware.ui.lists.ColumnDataSourceInfo>
</dataInfo>
</com.vmware.ui.lists.ColumnContainer>
</items>
</object>
</extension>
I see that the methods of the new class are not getting called and so the property is not fetched. Below are the list of questions that i have
1. The only changes i have made is created a new class which implements PropertyProviderAdapter and made an entry in the plugin.xml as above. Do i need to make any other changes for the property to be fetched in the datastores grid?
2. Is it right to fetch the UUID property of the LUN using DataService?
3. Is there any other entry i need to make in the plugin.xml. As of now i see a new column that is added in the datastores grid, but the values are not fetched.