VMware {code} Community
sonunarula04
Contributor
Contributor

Problem in defining custom icon and label for ObjectCollectionNode

Hi,

While trying to implement custom icon and label for ObjectCollectionNode in my plugin using "vise.inventory.representationspecs" extension, I am facing some issue.

After adding following code in plugin.xml, control doesn't come to DataAdaptor code for querying value of "reachable" property.

<extension id="com.myplugin.handle.iconLabelSpecCollection">

      <extendedPoint>vise.inventory.representationspecs</extendedPoint>

      <object>     

        <objectType>sample:Rack</objectType>

           <specCollection>

            <com.vmware.ui.objectrepresentation.model.IconLabelSpec>

               <iconId>#{alert.icon}</iconId>

               <labelId>Disconnected</labelId>

               <conditionalProperties><String>reachable</String></conditionalProperties>

            </com.vmware.ui.objectrepresentation.model.IconLabelSpec>

         </specCollection>

      </object>

   </extension>



please let me know if there is any other per-requisite for this extension.


Thanks & Regards,

Sonika

0 Kudos
1 Reply
sonunarula04
Contributor
Contributor

I am stuck with this issue.. can somebody pls help on this?

0 Kudos