It's all about the answers!

Ask a question

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


David Clark (2341352) | asked Feb 24 '16, 10:31 a.m.
 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

2 answers



permanent link
Subramanya Prasad Pilar (4.6k16) | answered Feb 24 '16, 12:58 p.m.
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.

Comments
David Clark commented Feb 24 '16, 2:49 p.m.

 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
David Clark (2341352) | answered Feb 24 '16, 4:19 p.m.
 Found the problem. Multiple layers of datasource

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.