It's all about the answers!

Ask a question

#RPE #DNG Why does RPE generate an empty Word document?


Emely Pi (1539) | asked May 07 '18, 2:45 p.m.

I try to read out a DNG module with RPE. When I have to configure the data source before generating the document I either use the search function provided by RPE or generate the path myself with: https://server:port/rm/publish/resources?resourceURI=ID; where the ID is copied from DNG's "share link from artifact". But with both methods I get an empty Word document back.

(I just try to read out the title with: "dataSource/artifact/title" as value)

Thanks in advance!



One answer



permanent link
Kenji Sarai (96039) | answered May 07 '18, 10:11 p.m.

Hi Emely,

I understand it is a bit tricky to generate DNG documents from RPE for the first time. Here are some advice.

1. Templete
1-1. Is this template created by you? To obtain "dataSource/artifact/title", you need to set query "dataSource/artifact" in parent element such as Container. If you do not know what I mean, then open [RPE_INST_DIR]\templates\DNG\DNG_Module.dta and see how it is designed.
1-2. Try to generate using DNG_Module.dta. This template should work fine.

2. Data source
Make sure "share link from artifact" is obtained from Module artifact, not artifact inside of module. Also you do not need ?oslc_config.context=... parameter in URI.

3. Configuration
If your DNG project is configuration enabled, then set "Configuration Context" to choose the configuration. See
https://rpeactual.com/2016/10/21/configuration-aware-document-generation/

Your answer


Register or 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.