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
|
2 answers
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. |
Found the problem. Multiple layers of datasource
|
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.