It's all about the answers!

Ask a question

Does anyone have sample code to Adopt Operation Behaviour in Web UI?


Nikhil Raut (114) | asked Jul 09, 11:52 p.m.
edited Jul 10, 1:56 a.m.

https://jazz.net/wiki/bin/view/Main/ContributeOperationBehaviorWebEditor

when the associated precondition/follow-up action is selected then it should open a Specific configuration options on right side. the way how it opens for built in IBM RTC Precondiions.
i have this link but. not sure how to implement.

One answer



permanent link
Ralph Schoon (63.3k33646) | answered Jul 10, 1:55 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Hi,


unfortunately I am not aware of a customer consumable documentation how to write your own web based aspect editor to configure operation behavior. 
I have some experience in writing aspect editors, see https://jazz.net/library/article/1000 for how to. Also see my blog for examples and code, https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/. I usually post updates on the extensions workshop across the versions.

The link you refer to above is a document in our developers team wiki. They sometimes lack detail and context and are hard to understand without a lot more information. Sometimes they refer to internal tools as well.

I have written several advisors (pre-conditions) and participants (follow-up actions) for EWM, including for customers. I usually suggested the customers to use the process XML to configure the operation behavior. The aspect editor just adds so much complexity and can become as much work as the operation behavior itself. Another issue that suggests this to be the best approach is an issue with launching the debug Eclipse client to test the custom aspect editor. See https://rsjazz.wordpress.com/2024/02/09/ewm-rational-team-concert-extensions-workshop-changes-for-7-0-3/ section Defects. This applies to all 7.x versions of the SDK. 

I hope this helps a bit.


Comments
Nikhil Raut commented Jul 10, 1:59 a.m.

Add "com.ibm.team.process.web.showBehavior=true" to your server launch config or your build startup file.

i need to add this. so can you help me which file is that?

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.