cancel
Showing results for 
Search instead for 
Did you mean: 

Invoking openUI WPF on button click

former_member199619
Participant
0 Kudos

Hi Experts,

I have placed a button in transaction screen. I given the classname of WPF openUI in External field as shown below. Copied the required dlls into CustomControls folder in Agentry client installation folder. But when I click on button in transaction screen, my .net code is not getting invoked.

My .net class is public class BaseAgentryCustomControl : Control, ICustomAgentryControl

What could be the issue ?

Regards,

Shyam

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member208808
Active Participant
0 Kudos

Hello shyam prasad,

Button action is not supported in Transaction screen.

Transaction screens will only support actions those are defined by standard transaction buttons.

To get an idea of this, just go to Button's Action field and see if you can add any action to the same or not ?

,

AK K

former_member199619
Participant
0 Kudos

Hi AK,

Yeah, button action is not supported in transaction screen. I am not calling any agentry actions on button click on transaction screen.

I followed below example and made the agentry changes for WPF. When I click on the button, it has to invoke the openUI code. In WPF, it is not happening. Is there any limitation with WPF?

https://blogs.sap.com/2014/12/05/smp-30-custom-agentry-android-client-supporting-native-nfc-rfid-sca...

-Shyam