Communicating between a client plugin and server plugin?
![]()
I have both client-side plugins (custom views, wizards, Preferences settings, etc.) and server-side plugins (work items, advisors, participants, etc.). Is there any way I can communicate (i.e., via a Java method call) more or less directly from my client plugin to some code in I have in the server plugin?
e.g., some work item advisors need to know about some of the data stored in Preferences. |
3 answers
![]()
Ralph Schoon (62.0k●3●36●43)
| answered Feb 14 '12, 3:19 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,
unless you write some custom code you can't. That is why, I think, there are server and client advisors. If the operational behavior need information only the client has, it has to be deployed in the client. If that is not the case, it can be deployed in the server. The process configuration allows to fail if a client advisor is not installed. In case of your preferences, I would rather have properties on the server that are used for a project. |
![]()
I have done this, really not too difficult
see this topic https://jazz.net/forums/viewtopic.php?p=64382#64382 and look at this one for defining parameters a the server to be accessed by a client https://jazz.net/forums/viewtopic.php?t=19332&highlight=configurationproperty sam |
![]()
Thanks, Sam, I bookmarked those. I feel your pain as far as finding docs and such to assist with customizations...I've got lots of wiki and library articles bookmarked but most only scratch the surface.
|