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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

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

DarshanT
7-Bedrock

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
7-Bedrock
7-Bedrock
(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
7-Bedrock
(To:rmk)

Thanks Ramanathan, its working.
Announcements


Top Tags