cancel
Showing results for 
Search instead for 
Did you mean: 

passing dynamic data from custom widget to sap application

02-25-2020 8:04 AM
370 views 1 comments
0 Likes
SAP Managed Tags
Subscribe

How can i pass data that is dynamic when user interacts with the custom widget to SAP application? For example, i have a text box and a button on my custom widget. when user types a text and clicks the button, on that click event, i have a click event passed to sap application however I am unable to access the text. Also, is it possible to have a return object on the events added to json file of the custom widget?

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

Bob0001
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Mohan, although this question is quite old, let me comment on this. Currently it is not possible to pass arguments along with events from the custom widget. The pattern which is also used by standard widgets is to add a script method to read such values. Example: onSelect event on Table widget and the corresponding getSelections method.