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

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

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!



0 votes



One answer

Permanent link

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/

2 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

Question asked: May 07 '18, 2:45 p.m.

Question was seen: 1,868 times

Last updated: May 07 '18, 10:11 p.m.

Confirmation Cancel Confirm