Home
TeamSite
Auto Generate DCR from DCT during workflow
mindy1
Hi All,
In my workflow there is a need to generate DCR from the existing DCT(datacapture.cfg) once the workflow is invoked...
seems I should use an IPL to do so...but how?
ny suggetions?
thx in advance,
Find more posts tagged with
Comments
Adam Stoller
What I've done in the past is to create a DCR through the GUI, save it, edit it at the code-level and turn it into a "template" of the DCR (either by removing all values, or replacing them with "tokens" that you can easily find and replace) - then have your workflow copy this "template" (from a pre-defined location) to the location where you want the DCR, with the name you want on the DCR, attach it to the job, and allow the user to edit it.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
kshitiz
Which version of TS are you using?
From where the values of the DCR comes at the time of its generation?
Kshitiz Sharma
BT Wholesale | CMS
Mahindra British Telecom
Adam Stoller
My previous response was based on the notion that you want to pre-set some of the values in the DCR, based on input gathered in the workflow, before allowing the user to edit it.
If you just want to create an empty DCR (with name and location) and then have the user edit it - it's even simpler - you create the DCR by creating a file like:
<!DOCTYPE record SYSTEM "dcr4.5.dtd">
<record name="
dct-name
" type="content">
</record>
Set the EA on the file to indicate it's a DCR of the DCT-type, and then use the CCI URL to edit the DCR. In fact, you might be able to use the CCI URL
newform
to do this without pre-creating the file. Information on the CCI URLs is in the UI Customization Guide (6.5SP1, look at page 100)
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com