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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Picker callback function

gnatesan
3-Visitor

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

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
Top Tags