Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RPE - Output filename using template variable?

Hi,

Is it possible for tell RPE name the output file ([name].doc or [name].docx) using a variable from the document template? Like the module's name or the work item summary or the test case ID?

0 votes



One answer

Permanent link

While configuring output in RPE, you can use an environment variable/system variable, but not template variable. Suppose you have environment variable "opfilename" with value "TestCase_101.docx", providing the "Path" property for Word output as C:\${opfilename} will result in creation of output file C:\TestCase_101.docx.
If you can come up with a script to set environment variable through RPE template, you can use environment variable value in output path.

Since you get the value (of module name or WI summary) only during document generation, you cannot use Macro with parameters or Post-Command (where you should know the value beforehand).

You can go through blog https://jazz.net/blog/index.php/2020/02/03/data-driven-approach-for-generating-multiple-output-documents-with-ibm-engineering-lifecycle-optimization-publishing/ where "Document Break" element is used to dynamically set the file name (to get individual files as deliverables).

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,023

Question asked: Jan 24 '22, 4:54 p.m.

Question was seen: 1,098 times

Last updated: Jan 25 '22, 12:05 a.m.

Confirmation Cancel Confirm