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.
|
Accepted answer
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
|
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.
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.