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?
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.