Hi _vladi_ , laurentsd,
I wanted the change the icons based on the status.
I am able to change the icons based on the status by using extension id="com.xxx.xxx.xxx.controller.iconLabelSpecCollection" and vise.inventory.representationspecs.
But I also wanted to change the icons as shown in the below screenshot.
Can you please help me out?
Hi laurentsd, _vladi_, Denis_Chorbadzhiyski, Daryll
, Kris, bhanu
Any update on this?
Hi Sujeet,
Good question!
With the extensibility for local plugins you can achieve this using either <conditionalProperties> tag with a condition to check or <condition> tag with a PropertyConstraint that checks a certain property. Both are available for vise.inventory.representationspecs extensions.
These approaches are demonstrated in the old ChassisB sample (see the plugin.xml of chassisB-html project). The sample is available in the 6.5U1 version of the SDK.
While still supporting this, recent versions of the SDK (for both local and remote plugins) deprecate custom objects and recommend using own global views to display any custom object lists. This gives you the freedom to implement any kind of UI switching logic without depending on specific extensibility. You can see this pattern in the latest HTML sample (6.7U3 SDK).
What approach to make use of is up to you depending on what you want to support.
Cheers,
Vladi
Hi _vladi_,
Thanks for the update,
Is there any example in the latest HTML sample (6.7U3 SDK), where we can refer to the example.
or
Can you please provide a sample example of this?
Thanks,
Sujeet Kalaskar
This is deprecated extensibility so it is not available in the latest HTML sample in 6.7U3.
That said, it is still supported and works in vSphere Client 6.7U3. Just download an older SDK: 6.5U1 from vSphere Web Client SDK - VMware {code} which contains the ChassisB sample you are interested in.
Cheers,
Vladi