Display an Image on UI Using Binary Data on Oracle Visual Builder
In this article, we’ll walk through how to display an image in a UI component using binary data fetched from a REST API. This is a common scenario in many applications.
Imagine you have an external REST endpoint that returns image data in binary format. When a user clicks a button, you want to call this API, retrieve the image, and immediately display it in your application — for example, in a Visual Builder component.
Follow these steps to begin:
-
Create a REST-based integration using an FTP adapter that returns an image file in binary format.
-
Register this endpoint in the VBCS application.
-
Use a JavaScript function to consume the response and convert the binary file into Base64.
-
Use the Base64 data to display the image in the UI component.
To start creating this end-to-end solution, follow the video given below:
If you liked the article, please like, comment, and share
Further Readings
Upload/Download Documents Using Oracle Integration and VBCS
Building a new Redwood extension in Oracle Fusion using Visual Builder Studio
Embedding custom VBCS application in Oracle SaaS
Enabling Column Personalization in Dynamic Tables in Oracle Visual Builder
Customizing User Journey page using Visual Builder Studio | Oracle SaaS | Oracle VBCS