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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Persisting Combobox value on AffectedItemData Link

NT_10748259
5-Regular Member

Persisting Combobox value on AffectedItemData Link

Not sure what I am doing wrong here but stumped on how to get the value to persist. 

I dont see the value in any of the method parameters (meaning if I select "No" in the drop down then nothing shows up in any of the method parametes aka BinaryLink, MethodContext, etc.) 

Not sure how this customization is supposed to work and the limited kb for this on ptc windchill help is not very helpful. 

Here is my github code. 

WCComboBox 

 

also I was trying to follow along to this :

https://support.ptc.com/help/windchill/r12.1.2.0/en/index.html#page/Windchill_Help_Center/customization/WCCG_BusLogicCust_ChangeMgmt_EditAttrChangeRelTable_Step3.html# 

1 REPLY 1

Hi @NT_10748259 

Every information is stored in a NmCommandBean object

in a processor, where is method doOperation or preProcess method contains that object

HelesicPetr_0-1698043185349.png

OOTB doOperation is in EditChangeItemFormProcessor.class

here is example how the information from wizard is stored in the NmCommandBean

example attribute KLR

HelesicPetr_1-1698043285424.png

in the object from the processor code>

HelesicPetr_2-1698043315001.png

 

Your combo box is in the comboBoxParameter

example how to get comboBox

Map var10 = var1.getComboBox();

 

PetrH

Top Tags