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

#RPE #DNG How can I display embedded images in the primary text column in a word document?

Hi,
I have attributes in my primary text column which include an embedded image or diagram. So far, everytime I try to read out this column I get back nothing. Not even an attribute which just consists of text. I think that there might be an issue with the configuration of my data sources.
This is my URI: https://myserver:myport/rm/publish/resources?moduleURI=_BWG9gVj6Eei-rPLJSd9w-A&maximiseEmbeds=true

I can read out any attribute from any column but from the primary text and the content columns. There I get nothing.

Thank in advance!

0 votes


Accepted answer

Permanent link

You should use "text" (instead of "resources") schema. To get richtTextBody, the data source URI should be
https://myserver:myport/rm/publish/text?moduleURI=_BWG9gVj6Eei-rPLJSd9w-A&maximiseEmbeds=true

Emely Pi selected this answer as the correct answer

0 votes

Comments

Ok, thanks


2 other answers

Permanent link

Emely -


Try using "dataSource/artifact/content/text/richtTextBody/div". This should be documented in one of the example templates provided with the installation of RPE: DNG_Resources.dta.

I don't know what you mean by Primary Text column in a word document. With more details, I'm sure myself or someone else on the forum would be willing to help. 

David

0 votes

Comments
Hi,
thanks for the answer. I tried using "dataSource/artifact/content/text/richtTextBody/div" and nothing was printed into my word document. I also tried "dataSource/artifact/primaryText" with the same result. This is why I am thinking something is wrong with my URI.


Permanent link

Are you using Data Source Configuration element in the template to configure data source URI dynamically? If so, appending maximiseEmbeds=true parameter to the "URI" (of Data Source Configuration element) should work.

0 votes

Comments

No, I don't use the data source configuration element. I just use the data source from the data source view.

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,033

Question asked: Jun 01 '18, 5:44 a.m.

Question was seen: 3,809 times

Last updated: Jun 01 '18, 11:13 a.m.

Confirmation Cancel Confirm