Mouse over preview for attribute-based presentations (external Link)
![]()
Hello altogether,
I work with RTC 4.0.4 and need to add an URL link (being dynamically calculated via javascript) to an externally stored picture. That can be used to implement a very cool feature: http://jazzpractices.wordpress.com/2013/01/29/what-state-are-you-in-and-where-can-you-go/. I know this is supported for static URL links as can be added via a non-attribute-based Static Rich Text presentation but the thing is the link value must be calculated at runtime via javascript and thus an attribute-based presentation is required. Any idea how a mouse over preview for a dynamically linked picture can be implemented? Kind regards and thanks in advance Martin Muellenberg |
Accepted answer
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Nov 13 '13, 3:54 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Martin, I am not sure I understand your question. Are you talking about Java Script based Attribute Customization?
If yes, you might be able to calculate a URL and return it in a value provider. See https://jazz.net/library/article/1093 example 5.6. Please note, this does not create a link on the links tab. JavaScript can not be used to access subscriptions, attachments, approvals, links and other complex data on a work item as explained in the workshop above at the beginning of Lab 5. You would rely on the built in capabilities for hover. It works for e.g. work item attachments. I think the trick in 5.6 depends on an internal service implementation. It does not work with pictures stored as process attachments for example. We tried.... I don't think you can fix that, without enabling the remote service provider in certain ways. Martin Muellenberg selected this answer as the correct answer
Comments Hi Ralph,
Hi Martin,
Hello Ralph,
Martin,
|
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.