Skip to main content
4-Participant
Feb 11, 2011 2:48 PM UTC
Question

Picker callback function

Hi all,

I want to set the hiddenvalue as 'number' and display value as 'name' in an item picker.for thatI defined custom callback function in validate.js and calling this callback in an datautility class

If i set picked attribute as number.then the JSONObject i am getting the number value.

If i set picked attribute as name.then the JSONObject i am getting the name value.

how to get both together.

please share the code,if anyone worked like this

Regards

Gangadharan.N



Regards

Gangadharan.N

1 reply

1-Visitor
Feb 16, 2011 7:53 PM UTC
You can specify both name and number as comma separated list to pickedAttributes param.

-Nirmesh

Nirmesh Jain
Windchill Lead Application Developer
Ingersoll Rand Climate Solutions
314 West 90th Street
Minneapolis, MN 55420

Office +1.952.887.2460
Fax +1.866.806.9284
Translate