RTC 6.2: How to execute server plugin from client side
Accepted answer
You can't for all I know.
Comments
And I should add, the question is, what is supposed to be achieved here and why.
Why would be difficult for me as i also don't know.
I have been asked to Explore the possibility to set the work item attributes when user click on Tab in web client and these values will be set by web service. The idea is, instead of value coming from RTC should come from the web service in the work item attribute each time user open to tab.
1. It can only be done something with Scripting support to invoke the server side plugin that will set the attribute value.
In general, there is something extremely wrong in an approach, where someone is asked to explore solutions and does not know why and for what purpose these "Solutions" are. I have seen the approach taken here in the past and it is never working but leading to frustration on all sides, because you will never get anywhere and we will waste our time telling you it is not working after finding out what you try to do.
This whole approach is doomed. I would strongly suggest to get a capable consultant that knows how RTC works involved.
Instead of dreaming up how to implement something that will never work in RTC discuss the requirements with them and find out if these are possible implement in RTC and if so which approaches are likely possible and working.
Please see a very similar discussion in the comments on the answer here: https://jazz.net/forum/questions/233466/design-question-linktypes-vs-attributes
1 vote
One other answer
The idea is, instead of value coming from RTC should come from the web service in the work item attribute each time user open to tab.
1. It can only be done something with Scripting support to invoke the server side plugin that will set the attribute value.
This whole approach completely ignores how the RTC UI's work and what they support in terms of extending. It also ignores that RTC has also an Eclipse UI and how that works and what it allows.
The only built in mechanism I am aware of to get external values from a web Service is the HTTP filtered value set. The only way to set values dependent on some change event is calculated values or follow up actions. The only extension point I am aware for attribute values and editor presentations is custom editor presentations where you could create some custom attribute value picker for a cost.
You can do nothing based on changing a tab, because there is no extension point.
If you want a reasonable insight into what you can do to extend RTC see