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
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,