Before You Begin
This 15-minute tutorial shows you how to access Oracle Visual Builder Studio from Oracle Cloud Applications, create an extension, add an App UI that includes Oracle SaaS data, and publish the extension.
Background
Visual Builder Studio (or VB Studio, for short) gives you the power to customize Oracle Cloud Applications to suit your company's specific business needs. In fact, you'll have the exact same tools—VB Studio and Oracle Javascript Extension Toolkit (JET)—that Oracle developers use to create Oracle Cloud Applications in the first place, giving you an unprecedented level of power and control over your Oracle Cloud Apps ecosystem.
Extensions are what you use to deliver new capabilities into Oracle Cloud Applications. Those capabilities may take the form of customizations you make to the App's user interface, or your extension may include things like App UIs, to deliver new pages or resources to your Oracle Cloud Applications instance. An App UI is simply an application that includes a user interface component in the form of VB Studio pages and flows.
In this tutorial, we'll create an App UI that presents employee data from an Oracle SaaS service connection, then allows users to search for a specific employee.
What Do You Need?
- Access to Oracle Cloud Applications
- Access to Visual Builder Studio
- A project that is set up for extensions. If you don't have a project available, you might need to create one.
- A supported browser
Access Visual Builder Studio
In this step, we'll see how to access Visual Builder Studio from Oracle Cloud Applications.
- Make sure that VB Studio is set up to extend Oracle applications. See Set Up VB Studio to Extend Oracle Applications.
- Log in to Oracle Applications Cloud.
- From the Configuration section of the Navigator, choose Visual Builder:
- In VB Studio, select a project that's associated with the Oracle Cloud Application environment.
- In the project Workspaces
tab, click New and choose New Application Extension:
- In the Extension Name field, enter a name for the extension. The extension name
must be unique, so you might want to use
HCMSearch
, prefaced by your initials. The Extension ID and Workspace name are automatically filled in, but you can change them if you'd like. - In the Development Environment field, choose Development.
- In the Base Oracle Cloud Application field, choose None.
- In the Git Repository section, select Create a new repository, and add names for the repository and working branch:
- Click Create.
VB Studio opens in the Designer, where you can begin creating your App UI. Your screen should look something like this:
Description of the illustration vbsea_sec1_s10.png



Create a New App UI
Now we're going to start building a simple App UI that allows users to search for an employee, based on data that we'll get from Human Capital Management (HCM).
- In the App UIs
pane, click + App UI:
- In App UI Name, enter the name of the application, perhaps something like
HCMSearch
.The App UI ID is automatically filled in, but you can change it if you'd like.
- Click Create.
- In the App UIs pane, expand the main node, and click main-start to open the page in the Designer.
- In the Components palette, enter
heading
in the filter field to locate the Heading component, then drag and drop it onto the canvas. In the Heading's Properties pane, enterEmployee Search
in the Text field: - In the Components palette, filter to find the Input Text component, then drag and drop it under the header on the canvas. Make sure you see the plus sign (+) before you drop the component, so you know you're working in a valid area:
- In the Properties pane Label Hint field, enter
Emp Name
. This will serve as placeholder text in the field. - In the Properties pane, select the Data tab. Hover over the
Value text and click the Select Variable
icon next to fx.
- Click the Create Variable link next to Page:
- In the ID field, enter
searchString
and click Create.



Now we're going to create a variable that we can map the input field to. This variable will hold the employee data that the user will be able to search.

Access Oracle SaaS Data
Below the input text field, we want to show a list of employees that the user can choose from. To do this, we need to establish a service connection to Oracle Human Capital Management (HCM) so we can get the data we need.
- Click Services
in the Navigator.
- In the Services pane, click + Service Connection:
- In the Select Source page of the Create Service Connection wizard, click Select from Catalog.
- In the Service Catalog, click the tile for Human Capital Management:
- In Create Service Connection search box, enter
work
, then select publicWorkers from the list: - Click Create.
- Click App UIs
in the Navigator and select main-start.
- Select the Data tab in the Page Designer and expand Services and site_HCMSearch:hcmRest. Drag publicWorkers onto the page underneath the Input Text component:
- You can see that we have a list of options for presenting the data, and in this case we want to choose the second List item:
- In the Add Data wizard, accept the default template in the Select Template page and click Next:
- In the Bind Data page, the Endpoint Structure panel shows all the fields that
are available for us to choose from in the publicWorkers object. Drag and drop
each of these fields from this panel to the Item Template Fields section as
specified, using the search field to help you locate them:
- Default slot: DisplayName
- Secondary slot: PhoneNumber
- Tertiary slot: LocationTownOrCity
Description of the illustration vbsea_sec3_s11.png - Click Next.



Now we can use the service connection we just created to create the list of employees we want.



Set Up Filtering
In this section, we're going to set up a filtering mechanism for our list, based on the display name of the employee. We want to compare each name to whatever the user enters as a search string, in order to find the proper match.
- In the Define Query page of the wizard, select filterCriterion from the Target panel.
- At the bottom of the page, click the Click to add condition link.
- Set up the condition by selecting the following:
- Attribute: DisplayName (Select the DisplayName attribute that's not part of the assignments list.)
- Operator: contains ($co)
- Value: $variables.searchString
- Click Done, then click Finish.

Test and Publish the Application
We will first test the page to make sure it's working correctly, then we can publish the application. After the application builds in VB Studio, we can view the published version.
- To test your App UI, click the Preview
button.
- To filter the list, enter a search criteria, like the first name
David
: - In your App UI, click the Publish button:
- In the Commit Message field, add a description of the changes, then click Publish Changes:
- If prompted, provide your user name and password for the development instance. These must be Oracle Cloud Application credentials, as opposed to Visual Builder Studio or SSO credentials:
- When the changes have finished publishing, click Close.
- Click the left arrow in the upper left corner of the application to go back to the Project Home page.
- Click the Builds
tab to check the build jobs that package and deploy the extension to your development instance. If the build job is still running, you can view its progress in the Job Queue tab. It might take a few minutes for the build to start if an executor isn't immediately available.
Description of the illustration vbsea_sec5_s8a.png To view the sequence of build jobs, click the Pipelines tab, then select View Layout under the Actions
menu for the HCMSearch-Package and Deploy job.
Description of the illustration vbsea_sec5_s8b.png - Click the Environments
tab in the Navigator and select the Deployments tab.
- In the Application Extensions section, expand the extension:
- Click Open
next to your App UI to open it in a new browser tab.

Now that you've confirmed the search is working, you're ready to publish your extension with its App UI.



Now let's check to see how our packaging and deployment jobs, which are part of the publishing action, are coming along.

Learn More
To learn more about extending App UIs, see Extending Oracle Cloud Applications With Visual Builder Studio.
Extending Oracle Cloud Apps with Visual Builder Studio
F59563-04
February 2023
Copyright © 2023, Oracle and/or its affiliates.
Learn how to create an extension for an Oracle Cloud App in Visual Builder Studio
This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs) and Oracle computer documentation or other Oracle data delivered to or accessed by U.S. Government end users are "commercial computer software" or "commercial computer software documentation" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, reproduction, duplication, release, display, disclosure, modification, preparation of derivative works, and/or adaptation of i) Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs), ii) Oracle computer documentation and/or iii) other Oracle data, is subject to the rights and limitations specified in the license contained in the applicable contract. The terms governing the U.S. Government's use of Oracle cloud services are defined by the applicable contract for such services. No other rights are granted to the U.S. Government.
This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Intel and Intel Inside are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Epyc, and the AMD logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.
This software or hardware and documentation may provide access to or information about content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services, except as set forth in an applicable agreement between you and Oracle.