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

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

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.

 

0 votes



One answer

Permanent link

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.

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
× 10,954

Question asked: Nov 02 '17, 11:09 a.m.

Question was seen: 1,677 times

Last updated: Nov 02 '17, 4:02 p.m.

Confirmation Cancel Confirm