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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Add dropdown list in activity

smcvr
14-Alexandrite

Add dropdown list in activity

Hi Comunity;

I need to bring the fields in the red box below as a list, how can I do this?

smcvr_0-1677570704408.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
HelesicPetr
21-Topaz II
(To:smcvr)

Hi @smcvr 

You need to learn how to use IDE with annotations (Eclipse, NetBeans, InteliJIdea atc...)

"_HataAltSinifi" is autogenerated class by annotations. 

 

PTC Supports Eclipse as a IDE that can be used directly with Windchill. 

 

Windchill PLM - Customization with Eclipse IDE

CS63697: How to install Eclipse IDE for Windchill PLM

Using Eclipse

Example Create Pet Class

 

PetrH

View solution in original post

8 REPLIES 8
avillanueva
22-Sapphire I
(To:smcvr)

My solution was rather complex to this same problem. I was showing a team input as a drop down. Required a custom JSP template and data utility to format the drop down list. Have you tried making the variable something other than text? Possibly a vector or List object?

smcvr
14-Alexandrite
(To:avillanueva)

I tried wt.fc.EnumeratedType but no result

HelesicPetr
21-Topaz II
(To:smcvr)

Hello @smcvr 

I did it several years ago, and it is not easy as you can think. 

 

PTC Article CS36017 describes how to achieve the dropdown list in the task page.

 

hope this can help.

 

PetrH

smcvr
14-Alexandrite
(To:HelesicPetr)

Screenshot_3.png

Screenshot_4.png

Screenshot_5.png

  I tried the steps but I'm having trouble adding the java file do you have any information about it? 

HelesicPetr
21-Topaz II
(To:smcvr)

Hi @smcvr 

You need to define path to class

the value <path_to_class> is not correct

PetrH

@smcvr 

 

additional information. The Article mentions that Information Modeler is needed. 
InformationModeler is not normally installed with Windchill and it is licensed.

As a workaround you need some IDE as a Eclipse to compile the class with annotations.

 

PetrH 

smcvr
14-Alexandrite
(To:HelesicPetr)

smcvr_0-1677745079757.png

What should I do for the _HataAltSinifi and how can I create it?  

HelesicPetr
21-Topaz II
(To:smcvr)

Hi @smcvr 

You need to learn how to use IDE with annotations (Eclipse, NetBeans, InteliJIdea atc...)

"_HataAltSinifi" is autogenerated class by annotations. 

 

PTC Supports Eclipse as a IDE that can be used directly with Windchill. 

 

Windchill PLM - Customization with Eclipse IDE

CS63697: How to install Eclipse IDE for Windchill PLM

Using Eclipse

Example Create Pet Class

 

PetrH

Top Tags