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

How do I properly create a word document with Rational Publishing Engine from DNG?

 I have the link to the DNG repository correct, the Preview sort of works, it repeats the same 4 sections over and over. But when I try and create a full word document, MS Word hangs. What am I doing wrong?

At this time I am only trying to pull the headers.

here is my RPE template ( since I cannot upload an image.. here is my pseudo code
+-----------------
| container
-----------------+
+-----------------
| container  -  dataSource/artifact
|  +-----------------
|  | container - dataSource/artifact/moduleContext/contextBinding
|  |   +-----------------
|  |   | container  (isHeader == "true")
|  |    |   +-----------------
|  |    |   |  paragraph  (style=dataSource/artifact/moduleContext/contextBinding/depth)
|  |    |   |  +-----------------
|  |    |   |  | text
|  |    |   |  |  dataSource/artifact/moduleContext/contextBinding/title
|  |    |    +-----------------+
|  |    |   +-----------------+
|  |    +-----------------+
|  +-----------------+
| +-----------------
| |   container
| +-----------------
+------------------

** also, I do not see how to do the embedded style in the paragraph, I copied this from an example. Any help there would also be appreciated.

David

0 votes



2 answers

Permanent link
What version of DNG are you using? You may check rrdg log (refer http://rpeactual.com/2015/11/27/how-to-troubleshoot-document-generation-in-dng/) and check which artifact causes the document generation to fail.

0 votes

Comments

 I am not failing the generation, RPE finishes. But the resulting document is corrupt. MS Word hangs when it tries to open it.


Permanent link
 Found the problem. Multiple layers of datasource

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,019

Question asked: Feb 24 '16, 10:31 a.m.

Question was seen: 3,508 times

Last updated: Feb 24 '16, 4:19 p.m.

Confirmation Cancel Confirm