Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Is it possible to programatically change the format or process data coming from external data provid

edited May 23, 2018 7:00AM in Visual Builder 3 comments

Summary

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

Content

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!