EMA - How do I reset view to get all fields?

I'm using EMA Java API. I use EmaFactory.createReqMsg().payload(view) to get a list of fields, how do I reset the view so that all fields could be returned? I've tried reissue(EmaFactory.createReqMsg(), handle), it doesn't seem to have any effect.

Best Answer

  • wasin.w
    wasin.w admin
    Answer ✓

    Hello @ahmire.kailer

    I have a quick test with EMA Java 3.5.0 (ESDK 1.5.0L1) example360_view, the application can change a "set of fields" by create a new View payload as ElementList object and pass it to the OmmCosnumer.reissue() function.

    However, if the application reissue with all field request message (example: _ommConsumer.reissue(EmaFactory.createReqMsg(), event.handle()); statement), the view subscription fields are unchanged.

    I suggest you submit this issue to the ESDK Development team directly via ESDK GitHub Issue page. In the meantime, you workaround it by unsubscribing that item and re-subscribe it again as all fields request.

Answers