<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type></HEAD>
<BODY>
<DIV>
<DIV style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif">Hey thanks on the previous issue.<BR>Also is there a way i can access WebAdmin.Html to add custom buttons and make few tweaks for personal use?<BR>I just cant find that file after using git.<BR><BR>Aditya Mamidwar</DIV></DIV>
<DIV dir=ltr>
<HR>
<SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">From: </SPAN><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif"><A href="mailto:ecohen@redhat.com">Einav Cohen</A></SPAN><BR><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">Sent: </SPAN><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif">‎14-‎03-‎2014 01:21</SPAN><BR><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">To: </SPAN><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif"><A href="mailto:aditya.mamidwar@gmail.com">aditya mamidwar</A>; <A href="mailto:vszocs@redhat.com">Vojtech Szocs</A></SPAN><BR><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">Cc: </SPAN><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif"><A href="mailto:users@ovirt.org">users@ovirt.org</A>; <A href="mailto:engine-devel@ovirt.org">engine-devel@ovirt.org</A></SPAN><BR><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">Subject: </SPAN><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif">Re: [Users] adding scripts</SPAN><BR><BR></DIV>if you are trying to hook into UI-specific events, it sounds <BR>like you will need to write an oVirt UI Plugin [1] in order to <BR>do that. However, I believe that the oVirt UI Plugins <BR>infrastructure doesn't support hooking to events such as "tab <BR>x was selected" and/or "button b was clicked". <BR>It does allow you to add new (custom) tabs/sub-tabs/buttons of <BR>your own, and there is a chance that it allows you to hook <BR>into events such as 'row x was selected in the grid'. <BR><BR>@Vojtech will know better. Vojtech?<BR><BR>if you are trying to hook into engine events (e.g. you want to <BR>run a script every time a VM is started in oVirt, no matter if <BR>the user started it by clicking the 'run' button in the oVirt-<BR>engine webadmin, or invoked a REST API request, or an SDK <BR>command), then it will require some sort of an "engine-plugin" <BR>infrastructure that we don't have at the moment AFAIK. <BR>there is a chance that for some of the events you will be able <BR>to utilize the VDSM hooks (at the Host level) [2].<BR><BR>----<BR>Thanks,<BR>Einav<BR><BR>[1] http://www.ovirt.org/Features/UIPlugins<BR><BR>[2] http://www.ovirt.org/VDSM-Hooks<BR><BR><BR>----- Original Message -----<BR>&gt; From: "aditya mamidwar" &lt;aditya.mamidwar@gmail.com&gt;<BR>&gt; To: users@ovirt.org, engine-devel@ovirt.org<BR>&gt; Sent: Thursday, March 13, 2014 11:23:35 AM<BR>&gt; Subject: [Users] adding scripts<BR>&gt; <BR>&gt; <BR>&gt; I want to commit changes to the engine by adding some bash scripts.<BR>&gt; the scripts should be invoked once a button or tab is selected in the<BR>&gt; webadmin portal by the user.<BR>&gt; <BR>&gt; can someone guide on achieving this.<BR>&gt; <BR>&gt; --<BR>&gt; -Aditya Mamidwar<BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; Users mailing list<BR>&gt; Users@ovirt.org<BR>&gt; http://lists.ovirt.org/mailman/listinfo/users<BR>&gt; <BR></BODY></HTML>