Personnalisation de base > User Interface Customization > Customizing HTML Clients Using the Windchill JSP Framework > Exporting and Importing Client Tabs
  
Exporting and Importing Client Tabs
Exporting
You can export client tabs using a command line application.
1. From the Windchill shell, enter: java com.ptc.core.ui.ixb.ClientTabExport tabname
The required tabname parameter is the name of the tab to export.
For a home page, this should be the string homepage.
For other tabs, the name is that shown on the tab in the UI.
To export a tab that includes spaces in the name, double-quote the parameter: “My Custom Tab”.
2. You will be prompted for a Windchill user name and password. Enter the Site Administrator’s credentials.
3. Wildcards are added internally; the resulting query is: select * from CLIENTTAB where NAME like %tabname%;
4. The export utility reports the names of exported tabs, and the location of the .jar file it produces:
> java com.ptc.core.ui.ixb.ClientTabExport a
2011-10-14 09:55:38,377 INFO [main] com.ptc.core.ui.ixb.ClientTabExport
- Exporting tab OrgAttr
2011-10-14 09:55:38,393 INFO [main] com.ptc.core.ui.ixb.ClientTabExport
- Exporting tab my custom tab
2011-10-14 09:55:38,393 INFO [main] com.ptc.core.ui.ixb.ClientTabExport
- Exporting tab jcrpage
2011-10-14 09:55:38,393 INFO [main] com.ptc.core.ui.ixb.ClientTabExport
- Exporting tab homepage
2011-10-14 09:55:40,127 INFO [main] com.ptc.core.ui.ixb.ClientTabExport
- Exported to <WT_HOME>\Windchill\temp\IXBExpImp\1279724139377-1977404926\Export5586892419340327596.jar
Importing
Importing ClientTab records is performed from the WindchillImport/Export Management utility.
1. Log into Windchill on the destination system as the Site Administrator.
2. From the Site > Utilities > System Administration > Import/Export Management.
3. The WindchillImport/Export Management utility presents an option to import or export.
4. Choose Import. In the import dialog box, paste or browse to the path of the exported .jar file.
* 
If the container or user of an imported tab (whichever applies) is not present on the destination system, that tab is not imported. A warning will be displayed.
Customizing HTML Clients Using the Windchill JSP Framework