Skip to main content
1-Visitor
August 28, 2014
Question

How to remove the default tabs"Structure" for a subtype of WTdocument.

  • August 28, 2014
  • 4 replies
  • 2406 views

Hi,colleagues,

Could you help me in this case ?

I need to remove this default Tab"Structure" in the object"Reference Document"


WCTYPE|wt.doc.WTDocument|com.ptc.ReferenceDocument

1.jpg

Thanks,


4 replies

12-Amethyst
August 29, 2014

I believe this can only be done via customization. Are you willing to go down that road?

We have done something similar for Document tabs.

When you create additional custom tabs for CAD doc info pages in UI, my colleague informs me that they are both CAD type (model/assembly/drawing) and CAD app specific. Something to bear in mind at least.

1-Visitor
September 15, 2014
  • update -file docsb-actions

<?xml version="1.0"?>

<listofactions> <objecttype name="docsb" resourceBundle="com.ptc.windchill.enterprise.doc.docsb.docsbActionsRB"> <action name="docStructureGWT"> <command url="netmarkets/jsp/docsb/docsb.jsp"/> <includeFilter name="HideHistoryTab" />

</action>

  • create HideHistoryTab.java and class
  • create servive HideHistoryTab in the file service.properties.

briefly that way I could do.

Thanks,

1-Visitor
January 8, 2015

Hi Ezio,

I am very new on windchill customization, would you mind giving me some step on this requirment. We use windchill for document management and have different document subtypes defined. This requirment is need to hide some of the tabs based on the subtype.

1) which ootb file I have to modify

2) Code example if you don't mind sharing the code

Thanks

Tem