This article will explain how you can build a local OCE Sites component that uses REST API exposed by a business object in Visual Builder to display a simple public form on a site page that allows collecting contact details of your site visitors.
Create Business Object in Visual Builder
1. Configure Visual Builder
Start by enabling REST API calls from your OCE Sites pages to REST endpoints exposed by business objects that you will create in Visual Builder.
Use left navigation panel to open Settings page. In the “Allow Origins” section, click on the “New Origin” button and enter URL of your Content and Experience service as the “Origin Address”:
Configure CORS to allow OCE to interact with OVB
2. Create Visual Application
Next, create a new Visual Application in OVB – “RequestForm” – that will contain business object to store site visitor’s contact details and configure it to allow anonymous access:
Select “RequestForm” on the list of applications and click on the Settings option in the pull-down menu: Read the complete article here.
For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.