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

How to physically embed a workitem word attachment with RPE

Hi, i have word attachments in my workitems and i'm trying to extract them with RPE to physically embed them in a generated document.
I'm using an include file element with the content "workitem/workItem/auditableLinks/targetRef/referencedItem/href" but it result in xml text in the generated document instead of the content of the word attachment.
Anybody knows how to do this ?
Thx.

0 votes

Comments

Note that i found how to do this with RQM attachments using a new Attachment datasource which gave me the right url for my include file. But with RTC it seems different. However i also tried to extract image attachments of a workitem using an image element in RPE but i didn't succeed.


Accepted answer

Permanent link
Instead of showing the content from Word attachment, RPE output seems to display the xml response. You should set "Accept Header" property for the data source to application/xml,*/*
David BOURDON selected this answer as the correct answer

0 votes

Comments

Wow thank you it works!

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: Sep 01 '20, 4:57 a.m.

Question was seen: 1,073 times

Last updated: Sep 01 '20, 5:54 a.m.

Confirmation Cancel Confirm