Deleting a Client Tab Using a Loader
Using a Windchill loader, you can delete client tabs that are created by site or organization administrators and set as public, so users access only those tabs that are relevant to them.
Perform the following procedure to delete a client tab using a loader:
1. Create a load file using the element csvClientTab.
Append the element with the following handler:
<csvClientTab handler="com.ptc.core.ui.tab.LoadClientTab.deleteClientTab">
2. Add the following attributes in the load file:
csvobjtype: Specify the type of the object where the client tab appears. This is a required attribute.
Example: <csvobjtype>wt.part.WTPart</csvobjtype>
For the Public tab on Windchill home page, specify the object type as home-page.
csvtabsetkey: Specify the tabSetKey information for the client tab. This is an optional attribute.
Sample values for this attribute include infoPage, home-page, miniInfoPage.
Example: <csvtabsetkey>infoPage</csvtabsetkey>
csvname: Specify the name of the client tab to be deleted. This is a required attribute.
Example: <csvname>U1</csvname>
For the Public tab on Windchill home page, specify the name as homepage.
csvparentContainerPath: Specify the path of the container where the client tab is created. This is an optional attribute.
Example: <csvparentContainerPath>/wt.inf.container.OrgContainer=Org1</csvparentContainerPath>
If the client tab is in the Site context, specify the path as /.
csvuser: Specify the user who created the client tab. This is an optional attribute.
Example: <csvuser>User1</csvuser>
Refer to the sample load file:
<?xml version="1.0"?>
<!DOCTYPE NmLoader SYSTEM "standard12_1.dtd">
<NmLoader>
<csvClientTab handler="com.ptc.core.ui.tab.LoadClientTab.deleteClientTab">
<csvobjtype>wt.part.WTPart</csvobjtype>
<csvtabsetkey>infoPage</csvtabsetkey>
<csvname>U1</csvname>
<csvparentContainerPath>/wt.inf.container.OrgContainer=Org1</csvparentContainerPath>
<csvuser>User1</csvuser>
</csvClientTab>
</NmLoader>
3. Copy the XML file to the following path: <customizationRootDirectory>/configurations/loadFiles/<customFolder>.
4. Include this load file in loadFileSet. You must reference the loadFileSet as a <loadFileSet> tag in your deploy.xml file.
Refer to the given example:
<deploy>
<loadFileSet>custom/loadFileSet.xml</loadFileSet>
</deploy>
* 
It is recommended that all load files are located in the custom folder. For more information, see CCD Package Structure.
Deploy Customization on Development Environment
For information on the CCD process for deployment, see Deploy Your Customizations on Your Development Environment.
Prepare CCD Package for Promotion
For information on the CCD process for promotion, see Deploying Code and Configuration Package.
Was this helpful?