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

Re: How to modify NmCommandBean

$
0
0

Hi Prabhash,

 

My requirement is to update a soft attribute "XX" of a WTPart while persisting based on the conditions like if number starts with PK then the attribute XX value should set to Phantom etc.

 

So I thought of changing nmcommandbean by updating the value against the key XX and couldn't achieve this.

As you said there is no need to modify nmcommandbean object, I updated WTPart from ObjectBean by extending doOperation method of FormProcessor and now its working as expected.

 

Thanks,

Niranjan M


Viewing all articles
Browse latest Browse all 8876

Trending Articles



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