cancel
Showing results for 
Search instead for 
Did you mean: 

OVS - intercept listener event

Former Member
0 Kudos

Hi All,

Is there any way to intercept the click event on the OVS of an Input-Field?

I am not intersted in applying the OVS++ scenario, instead I wish to run my own code.

Aviad

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Aviad,

When you click the Go button of OVS screen, the method onQuery() of IWDOVSContextNotificationListener (which you've implemented) gets called. Why not use this hook to do whatever you want?

Did I understand your question correctly?

Regards,

Rajit

Former Member
0 Kudos

Hi Rajit,

I do not want to use the OVS screen at all.

I want to use the OVS input help button attached to the input field.

Is there any way to do it?

Aviad

Former Member
0 Kudos

Aviad,

When you follow the steps for OVS, in the process you map view context to OVS custom controller. And during runtime, since this attribute is mapped to OVS context, you get the input help button for the input field.

I dont think you'll get that if you dont use OVS at all.

And the event (when you click on that input help) is handled by an internally (hidden from the developer) implementation of WDValueServices or some other class.

So, AFAIK, the short answer is no.

Sorry I couldnt be of more help.

Regards,

Rajit