Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hello Everyone,
I am trying to restrict some softtype from dropdown list when creating new documents.
Can you please tell me how to restrict the types?
FYR :
1. File Name : createDocumentSetTypeAndAttributesWizStep.jsp
<jca:configureTypePicker>
<p:pickerParam name="filterType" value="wt.doc.WTDocument|com.ptc.InterferenceDetectionDefinition"/>
</jca:configureTypePicker>
above line will work for OOTB document type and won't show "Interference Detection Definition" document type in dropdown list.
but won't for custom type as like below example :
<jca:configureTypePicker>
<p:pickerParam name="filterType" value="wt.doc.WTDocument|com.ptc.InterferenceDetectionDefinition"/>
<p:pickerParam name="filterType" value="wt.doc.WTDocument|ext.test.softType|ext.test.softTypeTest"/>
</jca:configureTypePicker>
If someone knows please share how to achieve this?
Thanks.
Solved! Go to Solution.
Can you share what wizard do you try to customize?
Or do you create own wizard ?
The OOTB option is setting the instantiable parameter in type and attribute management and it has to work OOTB. @Fadel has described how to do so.
If the setting does not work then I guess you customize something that does not work properly.
PetrH
set that type as non-instantiable in type and attribute manager
PS this will also hide the type from policy administrator
Thanks @Fadel
Tried this to set non-instantiable, but no works.
Still the type is visible in dropdown list.
What version are you using, are you sure you have save after editing the type ?
Yes, Saved.
using Windchill Version : 10.2 M030-CPS22
Yes, i got it. Did the same from UI but no luck.
also trying to do filter in jsp file as below :
<jca:configureTypePicker>
<p:pickerParam name="filterType" value="wt.doc.WTDocument|ext.test.test123"/>
</jca:configureTypePicker>
I have set up an 10.2 system , the instantiable setting works :
Kindly share some screenshot and I join @HelesicPetr , you must have some customization that is interferingCan you share what wizard do you try to customize?
Or do you create own wizard ?
The OOTB option is setting the instantiable parameter in type and attribute management and it has to work OOTB. @Fadel has described how to do so.
If the setting does not work then I guess you customize something that does not work properly.
PetrH