It's all about the answers!

Ask a question

Select an artifact from a client extension


0
1
Stephan Leutenmayr (2329) | asked Jan 25 '17, 7:49 a.m.

Is it possible to programmatically (JS) open the detail view of an artifact from within a client extension? Is it possible to change the displayed artifact programmatically in general?

Thank you in advance

Stephan

One answer



permanent link
Ralph Schoon (63.5k33646) | answered Jan 25 '17, 8:29 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 Here is the documentation for all versions: https://jazz.net/wiki/bin/view/Main/RMExtensionsMain 

I think it is possible.


Comments
Stephan Leutenmayr commented Jan 25 '17, 8:39 a.m.

What I learned from the documentation is that RM.Client.setSelection can be used to set the selected artifact, ONLY if the referenced artifact is already within the view, e.g. in a list view of artifacts. However, I need to be able to open arbitrary artifacts from within a widget. For this, I could not find any functionality.


Ralph Schoon commented Jan 25 '17, 8:48 a.m. | edited Jan 25 '17, 8:48 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 I have not looked very deep into that  API. https://jazz.net/wiki/bin/view/Main/RMExtensionsModuleExplorerSample602 seems to indicate you can iterate through a module for example. I am not sure. You might want to ask a more specific question. Especially what you want to achieve. 

Your answer


Register or 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.