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

How to add an internal image in a html widget

Hi community,


I'd like to insert an image in a widget in the dashboard.

I don't know if I am wrong, but I added the image following the steps:

1. In RTC Client I opened a project area
2. In the Link tab I added an image in the Attachements section.
3. In the dashboard I added an HTML widget
4. Now, in the widget I need to inform the URL of the image attached, but I do not know what is the complete URL.

Does anybody can help me?

Thanks in advance.

0 votes



3 answers

Permanent link

Hi Luiz,

 You can use alternate way i.e you can use open source BIRT  to show image in RTC widgets.

0 votes

Comments

Thank you, Amruta...I still think that there's more easy way to do that.


Permanent link

Hi Luiz,

I've just done this.. if you right click select "properties" on the attachment to get the Address URL

In your HTML widget - insert Image enter URL.

Works for me

0 votes

Comments

Hi Matt,

Where exactly you click to see the "properties" option? I can't see in my screen.
See it.
Project Area Link Tab

Hi Sorry,

I used a "Work Item" in web to add the Attachment and then got the properties from that.

Rather than to attach in Eclipse and directly into the Project - please you got it.

You do have another option to investigate - using web you can add in a Process Description.

Regards

Matt


Permanent link

I got it.

After to add the image in the attachements (Link tab), I setted the URL path to

https://<hostname>:9443/ccm/service/com.ibm.team.workitem.common.internal.model.IImageContentService/processattachment/_8jFp4Px0EeeJGOazHJag2A/<imagem_name>, where "8jFp4Px0EeeJGOazHJag2A" is the identifier of the project area.

It worked, but I had luck to discover the correct path. I did not find a easy way to discover that.

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
× 12,014
× 124
× 84

Question asked: Mar 07 '18, 3:49 p.m.

Question was seen: 5,694 times

Last updated: Mar 09 '18, 3:29 a.m.

Confirmation Cancel Confirm