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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Add dropdown list in activity

smcvr
15-Moonstone

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

 

 

ACCEPTED SOLUTION

Accepted Solutions
HelesicPetr
22-Sapphire I
(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 II
(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
15-Moonstone
(To:avillanueva)

I tried wt.fc.EnumeratedType but no result

HelesicPetr
22-Sapphire I
(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
15-Moonstone
(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
22-Sapphire I
(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
15-Moonstone
(To:HelesicPetr)

smcvr_0-1677745079757.png

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

HelesicPetr
22-Sapphire I
(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

Announcements

Top Tags