cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Help on deprecated Windchill API

Ely_64
4-Participant

Help on deprecated Windchill API

Hello,

 

I'm working on deprecated API and some on the information on the javadoc is missing.

Could you please tell me how to replace this following deprecated Windchill API :

wt.effectivity.EffectivityHolder

wt.prefs.PreferenceHelper

wt.prefs.WTPreferences

 

Kind regards,

 

 

 

 

 

 

ACCEPTED SOLUTION

Accepted Solutions
avillanueva
22-Sapphire II
(To:HelesicPetr)

Agree with @HelesicPetr, the JavaDoc is missing a lot of information on classes and API. I can tell that in 11.1, WTPreference is marked deprecated but the information is still listed. PTC can remove that at any time in future versions but if it exists at all, likely that it is untouched and an older API write up still applies. Check it with your IDE to be sure. My first step on upgrading versions is to look for these things but I find PTC rarely removes them. WTPreference is still documented in the Customizer's guide of 12.0.2.0 if that tells you anything.

View solution in original post

3 REPLIES 3
HelesicPetr
22-Sapphire I
(To:Ely_64)

Hello @Ely_64 

Good question. I would contact directly PTC support to get an answer. 

 

I use deprecated API a lot with PTC products. If the method is removed in new version I usually find another way how to replace the removed function but it does not happen very often.

 

PetrH 

avillanueva
22-Sapphire II
(To:HelesicPetr)

Agree with @HelesicPetr, the JavaDoc is missing a lot of information on classes and API. I can tell that in 11.1, WTPreference is marked deprecated but the information is still listed. PTC can remove that at any time in future versions but if it exists at all, likely that it is untouched and an older API write up still applies. Check it with your IDE to be sure. My first step on upgrading versions is to look for these things but I find PTC rarely removes them. WTPreference is still documented in the Customizer's guide of 12.0.2.0 if that tells you anything.

Ely_64
4-Participant
(To:avillanueva)

Thanks a lot for your answers ! @HelesicPetr @avillanueva 

 

Elea

Announcements


Top Tags