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

We are happy to announce the new Windchill Customization board! Learn more.

External Enumerated Value List and NmCommandBean

aacciano-2
10-Marble

External Enumerated Value List and NmCommandBean

Hello.

I am working on a customization.

I have my external enumerated value list customization on which I  pass a string as parameter (from the type and attribute management) to find a specific context.

This works fine, however I'd like to pass to the parameter, the context gathered from the "create window" via NmCommandBean.

Is this even possible?

I know I can get the context from a datautility, maybe is it possible to pass it to the external enumerated class?

Thank you for your help.

Antonio

3 REPLIES 3

Has anyone any suggestions for this?

Thanks

Antonio

I'm afraid you can't.

In EnumerationInfoProvider, the initalize method is called only once.

Once it's done, you can only invalidate the cache, but you can't pass any parameters.

Even if you change the enumeration's content, it's global, ie in case of concurrent acces, you may encounter some trange behavior !

A solution is to create your own JCA component to manage the attribute.

Thank you Olivier,

make sense.

Antonio

Top Tags