Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all articles
Browse latest Browse all 8876

Re: How to get role of current user?

$
0
0

In Windchill 10 M010~M030 ,I try to check constraints for WTPart and WTDocument in some page by LWC API.


com.ptc.core.lwc.common.view.TypeDefinitionReadView view= com.ptc.core.lwc.server.TypeDefinitionServiceHelper.service.getTypeDefView(com.ptc.core.meta.common.TypeIdentifier);

 

Finally, I got com.ptc.core.lwc.common.view.ConstraintDefinitionReadView objects in collection.

It maybe a way to try to find out what APi can  help you to achieve  constraints of attributes.

 

Menu permission is a general customize to do by Filter.



 



Viewing all articles
Browse latest Browse all 8876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>