Innovage Cloud
Back to Blogs

How to Use the Spinner Component in Oracle Visual Builder Cloud Service (VBCS)

Ankit Gandhi
Ankit Gandhi Sr. Director of Product Management
3 min read

The Spinner component in Oracle Visual Builder Cloud Service (VBCS) provides a clear visual indication that an operation is in progress. It improves the user experience by showing that data is being loaded or processed in the background. This guide explains how to use the Spinner component effectively in VBCS.

Loading spinner component and user interface loading state in Oracle VBCS

Adding and Configuring the Spinner

Open your application in VBCS and navigate to the required page in the UI Editor. From the Component Palette, drag and drop the Spinner component onto the page. Customize its properties such as size, color, and visibility in the Properties panel.

JavaScript Control Example

// Show Spinner
$page.FindComponent('spinnerId').show();

// Hide Spinner
$page.FindComponent('spinnerId').hide();

Using the Spinner with Background Processes

01

Start the Operation

The user triggers a data request, service call, or form submission.

02

Show the Spinner

Set the Spinner visibility to true before the asynchronous operation begins.

03

Run the Process

Fetch data or complete the required background operation while keeping the interface responsive.

04

Hide the Spinner

Set visibility to false in both success and failure error-handling paths so the Spinner is always cleared.

Conclusion

Using the Spinner component in Oracle VBCS creates a smooth and professional interface by keeping users informed during background operations. Combined with event handling, it supports an intuitive and responsive application experience.

Related Insights & Articles

View All Articles →

Turn Cloud Insight Into Action

Explore our Oracle Cloud and integration services, or speak with an Innovage specialist about your enterprise digital roadmap.