Hide WVS Visualization Based on Lifecycle State using customization
Hello Everyone,
I am working on a customization in Windchill PDMLink 13.1 to hide the existing WVS-published CAD visualization when a WTPart or EPMDocument is in the CANCELLED or OBSOLETE lifecycle state. The visualization should remain visible for all other states. I have extended AbstractVisualizationDelegate and overridden showVisualization() and showMiniVisualization(). The showVisualization() method works correctly on the Information Page, as I can retrieve the object using criteria.getContextObject() and check its lifecycle state. However, when the mini information panel is displayed, showMiniVisualization() gets executed with UIValidationCriteria as null, so I cannot identify the object or check its lifecycle state. Is there a supported customization point or API in Windchill 13.1 to access the WTPart/EPMDocument context and conditionally hide the mini visualization based on its lifecycle state? I only want to control visibility without deleting the existing Representation, preventing publishing, or modifying the original WVS JSP files.
Any guidance or working examples would be greatly appreciated. Thank you!

