It's all about the answers!

Ask a question

How to Print/get Module Book content along with Table of contents into the word document using rest API query


Krishna Veni Manukonda (1336) | asked Nov 02 '17, 11:09 a.m.
edited Nov 02 '17, 4:02 p.m. by Geoffrey Clemm (30.1k33035)

I am able to get the all list of artifacts within a module (in the same order shown in RDNG) using API query but when I try to export the content to word document using .net code, table of contents are not generated properly in it.

But in current RDNG flat-form there is an option "Generate the document style report" to print the module content into a word document along with the table of contents.

so I would like to get this functionality using REST API in order to generate the proper reports.

Thank you very much in advance.

 

One answer



permanent link
Benjamin Silverman (4.1k610) | answered Nov 02 '17, 3:06 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Hi Krishna,

Document generation is not supported via any REST API's, only retrieving the data is.  If you're just exporting the REST API output (ie - /rm/publish/text?resourceURI=..) to a Word doc programmatically, the TOC will not be present as that part is handled by the RPE template.

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.