Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
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,
Solved! Go to Solution.
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.
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
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.