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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

How control part type show up in the Part creation Wizard?

DarshanT
1-Newbie

How control part type show up in the Part creation Wizard?

Hi, I'm trying to restrict the dropdown part list to show up only to what type i specified (ex: soft type or modeled type), is there a way to do it?? I tried following: Ref: com.ptc.core.components.tags.components.ConfigureTypePickerTag 1) changed basetype in createPartWizard.jsp to wt.part.WTPart|com.my.CUSTPart. 2) In defineItemWizStep.jsp i modified <components:configureTypePicker/> seedType to "com.my.CUSTPart" or "wt.part.WTPart|com.my.CUSTPart" filterType to item = "$(item)" (to filter rest of the types). showRoot to "false" type to "SOFT_TYPES" also i tried modifing the java code but didn't work out! Please help how do i restrict part type?
2 REPLIES 2
rmk
1-Newbie
1-Newbie
(To:DarshanT)

Hi 1,Change basetype in createPartWizard.jsp to WCTYPE|wt.part.WTPart|com.my.CUSTPart 2,seed type as WCTYPE|wt.part.WTPart|com.my.CUSTPart Regards MKR
DarshanT
1-Newbie
(To:rmk)

Thanks Ramanathan, its working.
Announcements

Top Tags