I am trying to find a way to get "user data" value of a Classification node Class in RAC Java Customization Plugin, which I am using as G4mSave Post Action Custom Hook.
If anyone of you have any idea on how to get "user data" attribute & LOV values of ICO objects from Java APIs, please shed some light.
Appreciate your time.
you should be able to use the AbstractG4MContext object that you inherited. That gives you access to the form (in which the to be saved ICO values are). The current active view is also available here...
I assume you need "user data 1/2" from the class in which you want to classify. So the code snippet would be:
Thanks for your time.
I am using TC 9.1, it says,
"The method getClassExtension() is undefined for the type ICSView"
Adding to my question, I found a class
But I need to find which method returns this Object (ClassDef) so that I can get the details.
Also, there could be some ways from, still exploring.
FYI, I have ClassID & ClassName, with that I need to get that UserData values & LOV Keys & Values of ICOs.
oh Tc9.1., this function is not available there.
The class you are refering to is used for SOA response objects, so they are not related. But this seems to be a good alternative, use the Classification SOA getClassDescriptions(). This takes the class id as input.
Hi Danila, thanks again.
I am able to get write that method but while running, I am getting ClassDefNotFound error for ClassificationService class. I think am missing some obvious things in setup.
Here is the snippet from my code. please advise me on what am missing here. I am trying it now in TC 10.1.2