How can I obtain information from dashboard?
![]() Hi, is it possible to obtain information from the dashboard in order to provide them to a custom viewlet? For example in my custom viewlet I call a custom service with a parameter which is the project area name. Is it possible to obtain this information (or the project area UUID)? Thanks, Michele. |
Accepted answer
3 other answers
![]()
sorry, I do not understand your question..
|
![]() Sam, probably I was not very clear, but I think it is a very simple thing. I have created a new custom viewlet and added to my dashboard. In this viewlet I've a button which call a service I've created. This service need a parameter which is the project area (or team area) that owned the dashboard. Currently I've created a string setting so I can obtain the project area name putting it there. What I was asking to me is that probably there is a javascript method (something like the getAutenticatedContributor) that can give me the project/team area of the dashboard on which I've put the viewlet. In this way I don't have to configure the settings for the viewlet each time I create a new dashoboard. I've take a look to the WEB UI API (https://jazz.net/library/LearnItem.jsp?href=content/docs/web-ui-programming/web-ui-api.html) but I cannot find anything like this. Is it possible? Thanks, Michele. |
![]()
ok, got it.. I don't know the answer
but I agree, its probably a javascript function. I haven't seen any documented methods for determining details of the runtime from either workitems, menus or dashboards. |