Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Need replacement for the api mentioned in CS348452 for csm in Windchill 12
Hi @SJ_9465621
if the article says there is no replacement then you need to write own code that does same thing as the depreciated classes.
For example, I found some methods that were removed from ptc classes so I write own methods in my own package that does same thing.
PetrH
The end of that article referred to CS217792. I used this when accessing information about PartsLink classified parts.
Hi @avillanueva, these APIs are not applicable 12.1 onwards and we have 12.1 environment. These are only supported upto 12.0.1.
Request your kind support on the same.
I do not have a 12.1 environment but are you saying that wt.facade.classification.ClassificationFacade API no longer exists in 12.1? The article does say support for 11.0+ which means beyond though I do see that article refers to 10.2 to 12.0. I highly doubt that they would introduce then deprecate and remove an API that replaced earlier ones that quickly without any further notice. I checked and did not see anything in the knowledge base.
https://www.ptc.com/en/support/article/CS357412?source=search
The Hub link above does indicates it covers 12.1.
Where are you seeing these APIs (the ones replacing the wt.csm API) are not applicable to 12.1?
Hi @avillanueva
I just guess that he is trying to move/implement their customization to the Windchill+ where is very strict verification step to classes that are used and not supported or depreciated. This verification do not allow to use any code that is not mentioned in the java documentation classes.
in any other scenarios it is not so important I guess 😄
I've seen an another user to search for supported methods to do some action with deprecated classes and I didn't understand why but he's explained that Windchill+ does not allow depreciated classes.
PetrH
Hi,
I had actually raised this concern with Windchill customization team and they said that it is not supported in 12.1 environment. It was a bit surprising for me as well because they are just asking to change the code and not provide any APIs in place of the existing ones.
Yes they are missing from the windchill package in Windchill 12.1
so developer needs to develop alternative solution.
PS > I compared the java library within .11.1 and 12120 with MPMLink and conclusion is that earlier library contains that api (wt.csm.navigation*) the new one(12120 ) does not.
PetrH