Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
WCBasicAdminGuide.pdf
Скачиваний:
71
Добавлен:
23.03.2015
Размер:
3.31 Mб
Скачать

<enabled>true</enabled>

<zipEntry>CONTENTS/DEMOProductTemplate.xml</zipEntry>

</ContainerTemplate>

Note

Although the DTD element shows that you can specify the business XML file in multiple ways (through xmlText | loadPath | zipEntry), only the use of the zipEntry element is supported when you are importing a template.

To specify a project template instead of a product template, use wt.projmgmt. admin.Project2 in the containerClassName element. For a library template, use wt. inf.library.WTLibrary. For a program template, use com.ptc.Program.

Managing Context Templates

To view the set of context templates that are available from a context, view the Templates page for that context. From the view drop-down list on the Templates table, select the type of template. For example, the following picture shows the

resulting Templates table when navigate to Site Templates, and the select

Organization Templates from the drop-down list:

From the Templates table, you can perform the following tasks:

Create new templates.

Import templates that had been previously exported (all context templates except organization templates).

Filter the visibility of one or more of the templates.

Enable and disable templates.

Understanding Context Templates

403

Edit template information.

Check out and check in updated templates.

For a template to be available for use, it must be both visible and enabled.

The following sections provide some additional information about the tasks. For task details, see the online help that is available from the Templates table.

Filtering Template Visibility

You can determine a user’s ability to see the templates that are listed in the

Templates table using the show icon and hide icon that are located above the table rows or using the Show and Hide actions from the right-click actions menu on individual rows of the table.

When you hide a template’s visibility, the template is no longer displayed when creating a context of that type in the applicable context. For example, assume that you hide the Enterprise organization template from the site Templates table. Then when creating an organization context, the Enterprise template is not listed in the Template drop-down list.

If a template is hidden in a parent context, it is also hidden in all child contexts unless you explicitly change the visibility to show the template in the child context. For example, assume you have hidden an organization context template from the site Templates table. Then all product or project contexts will also show the template as hidden. However, you can navigate to a project or product context and show the template in that application context.

Enabling Templates

Enabling a template means that the template is ready for use.

All loaded templates are, by default, enabled.

When you create a new template, you can choose to enable or disable it.

Enabling or disabling a template enables or disables the template in all contexts where it is available; you cannot enable a template in one context and disable it in another.

404

PTC Windchill® Basic Administration Guide

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]