3 Replies Latest reply on May 23, 2018 5:48 PM by Shay Shmeltzer-Oracle

    Is it possible to programatically change the format or process data coming from external data providers before displaying into the VBCS page?

    3027281

      It started out as a simple requirement: that of changing the format of some dates coming from a REST DBCS connection. I would just like to use the default JavaScript Date.toLocaleString(..) function before the dates show up in the UI.

       

      Is there any way of programmatically accessing the data provider rows / values before rendering the UI? That would be ideal, since it could serve other use-cases as well.

       

      Another option I've tried was using an oj-table with a custom columns provider and a custom renderer. However, the usual $context object appears to be out of scope while generating the table, so there is no value to pass to a converter function.

       

       

       

      I appreciate any advice on this topic.

       

       

      Thank you,

      Cosmin.