Customize the response of external event callback


I have just wrote code for to get data from local db in the ExternalEvent.

The db data need to send back to where the request is called from.

Sample code here:

  renderData(null, data)

Expected response is:

 data: {
        id: 34

But we got like:

     success: true

Thank you.

Good Day!

I think we can’t use renderData on the ExternalEvents
Hope it helps


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.