Modify an Existing Application Using the CX Extension Generator
Once you have a working application extension in Oracle Visual Builder Studio (VBS), you can use the CX Extension Generator to add additional top-level custom objects and generate smart actions for them.. To use the tool, download your workspace as a .zip file from Visual Builder Studio and then import it into the CX Extension Generator.
Prerequisites
In Application Composer:
-
Create the new custom objects and child objects that you want to add to your existing application.
Export Files from Visual Builder Studio
To update an existing application, you must first download the application from your Visual Builder Studio workspace.
In Visual Builder Studio, click the Menu icon at the top of the page, then click Export.
Import the Files in to CX Extension Generator
After you downloaded your application as a .zip file, you can then import it into the CX Extension Generator.
-
In a sandbox, navigate to
. -
Click Import Extension.
-
In the Import Application drawer, select your .zip file and click Import.
The existing objects in your application are now visible in the CX Extension Generator, but they are read only.
-
Click
. -
In the Add objects drawer, select the objects that you want to add to your application, and then click Add.
The selected objects display on the list page.
-
For each selected object, drill down to configure the object's detail page. On this page, you can configure the panels in the foldout.
-
After you've completed your changes, you can generate and download the .zip file.
Generate Files
When you're done with your application extension changes, navigate back to the CX Extension Generator list page and click Generate Files.
The CX Extension Generator generates and downloads a .zip file that includes the pages and layouts for your selected objects.
Import the Files into Visual Builder Studio
The CX Extension Generator generates a .zip file that you can import into Visual Builder Studio.
-
Use the Navigator to navigate to Visual Builder Studio:
. -
In Visual Builder Studio, navigate to the workspace that contains your existing application.
Click the Menu icon at the top of the page, then click Import.
-
In the Import Resources dialog, add your .zip file and click Import.
Your workspace is updated with the newly added objects and related artifacts, without disturbing the existing objects in the application.
Click the Preview button to see the newly added objects in the application.
-
The resulting preview link will be:
https://<servername>/fscmUI/redwood/cx-custom/<object_name>_c
-
Change the preview link as follows:
https://<servername>/fscmUI/redwood/cx-custom/application/container/<object_name>_c
Note: You must add/application/container
to the preview link. -
You can now continue to make changes to your application extension, if needed.