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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Windchill 12.0 Java API for LWCCommands

KU_10897245
2-Explorer

Windchill 12.0 Java API for LWCCommands

I have below code snap for Windchill 11.0 it is working but when i try to check with 12.0 the  LWCCommands class is not available deprecated is there any alternate? I am trying to access getTypeAttributes method for below code.

 

import com.ptc.core.lwc.client.commands.LWCCommands;

 

LWCTypeDefinition lwcObj = (LWCTypeDefinition) persistables[0];

ArrayList<AttributeDefinitionReadView> typeList = LWCCommands
.getTypeAttributes("OR:" + lwcObj.toString());

 

-Any help or suggestions will really help me.

-Regards,

WC_User

1 REPLY 1

Hi @KU_10897245,

Thank you for your question!

Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Also, feel free to add any additional information you think might be relevant. It sometimes helps to have screenshots to better understand what you are trying to do.

 

Thanks,

Catalina
PTC Community Moderator
Announcements
Top Tags