Skip to main content
Jan 18, 2022 9:22 AM UTC
Solved

Suggestions on Alternate APIs for deprecated APIs in windchill

Hi all, LifeCycleHelper.service.allStates() and The method addMiniInfo(NmOid, String) from the type IconComponent is deprecated. Can any of you suggest alternate APIs for the same. Thanks.
Jan 18, 2022 10:34 AM UTC

Hello @gmydoor-2 ,

 

You can use 

State.getStateSet();

 addMiniInfo(NmOid, String)  does not have an alternative.

In a javaDoc there is alternative but it is also deprecated. 

HelesicPetr_0-1642502041081.png

 

1 reply

Jan 18, 2022 10:34 AM UTC

Hello @gmydoor-2 ,

 

You can use 

State.getStateSet();

 addMiniInfo(NmOid, String)  does not have an alternative.

In a javaDoc there is alternative but it is also deprecated. 

HelesicPetr_0-1642502041081.png