Deleting a Task Form Template Using a Loader
You can delete task form templates using a loader only in the development environment. This loader file is located in the <Windchill> folder and is run from the Windchill shell. The loader can be run in two modes:
1. ALL — Deletes all iterations of the task form templates.
2. LATEST_ITERATION — Deletes only the latest iteration of the task form templates.
Below is an example of the loader file:
<?xml version="1.0"?>
<!DOCTYPE NmLoader SYSTEM "standard13_0.dtd">
<NmLoader>
<csvDeleteTaskformTemplate
handler="com.ptc.netmarkets.workflow.taskformtemplates.LoadTaskformTemplate.deleteTaskformTemplate">
<csvTemplateName>02_TFT</csvTemplateName>
<csvcontainerPath>/wt.inf.container.OrgContainer=Demo Organization/wt.pdmlink.PDMLinkProduct=GOLF_CART</csvcontainerPath>
<csvPboClass>com.ptc.swlink.WTSoftwareIssue</csvPboClass>
<csvTaskType>WfTask</csvTaskType>
<csvTypeFormat>Native</csvTypeFormat>
<csvdeleteOption>ALL</csvdeleteOption>
</csvDeleteTaskformTemplate>
</NmLoader>
The following are the possible values for <csvTaskType>: WfTask (Default), WfAugment (Set up participants), review (Review), promote (Promote), observe (Observe), and submit (Submit).
To run the loader from the Windchill shell, use the following command:
windchill wt.load.LoadFromFile -d ../LoadTFT_DeleteTaskFormTemplate.xml -u wcadmin -p wcadmin
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?