It's all about the answers!

Ask a question

Is there an xml template for event handler extension?


Michele Pegoraro (1.8k14118103) | asked Apr 14 '15, 10:38 a.m.
 Hi,
is there an event handler xml template for schema definition (in order to configure an event handler extension) like that ones for preconditions and follow up?

Thanks,
Michele.

Comments
Martha (Ruby) Andrews commented Apr 14 '15, 2:26 p.m.
JAZZ DEVELOPER

Hi Michele,
Can you point to the precondition xml template you are referring to, so I can see if we have the same for event handler?
Thanks,
Ruby

Martha (Ruby) Andrews
Jazz Foundation L3 Development Team Lead


Michele Pegoraro commented Apr 15 '15, 2:56 a.m.

3 answers



permanent link
Ralph Schoon (63.1k33645) | answered Apr 15 '15, 6:22 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
 I am not aware of any template.
You can create the necessary entries from the Extensionpoint however and also
  • Browse references to that extension point
  • Look at the schema from there
Here is what I got:



Note, I did not get it working yet for some unknown reason.

Comments
Michele Pegoraro commented Apr 15 '15, 8:12 a.m.

 Ralph, I've already created many event handler extensions without problem. I'm referring to the schema file you can add to extensions in order to configure the extension itself by process configuration source or by a client extension: 


permanent link
Ralph Schoon (63.1k33645) | answered Apr 15 '15, 8:31 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Apr 15 '15, 8:32 a.m.
As that schema file is completely dependent on the need of the custom extension, there is no such template I am aware of. You have to create it on your own.

The format of this schema file is the same for all extensions, as this is a mechanism that is used for all operational behavior. 

Comments
Michele Pegoraro commented Apr 15 '15, 8:37 a.m.

 Ok, but as in preconditions an follow-up some values are different I suppose that there are specific value to be used for event handler. There are 3 values, these are the example from precondition:


<xsd:restriction base="process:preconditionType">
    
<xsd:element name="precondition" substitutionGroup="process:precondition" type="YOUR_DERIVED_TYPE_NAME"/>
    


permanent link
Ralph Schoon (63.1k33645) | answered Apr 15 '15, 8:46 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I found no example in the handlers that are shipped with the RTC SDK. I found one that I got with another example. No guarantees. I clipped the content in the category element.


Your answer


Register or to post your answer.