Instance_URL/fscmRestApi/resources/11.13.18.05/suppliers
- Now, we will be asked to select any Optional business objects on next screen. Let's not select any in our use case and click Next.
Alright, we all know the capabilities and benefits of Universal theme in Oracle APEX and the seamless user experience it delivers whether the application is accessed from a Desktop browser or a Smartphone browser. Due to its responsive nature, it certainly provides a native app like UI when accessed from a smartphone.
But what if we want to deliver an App to users which they can install and use just like a Native app on their phone as well as provide them additional benefits that come with a Native app such as Push notifications, some offline capabilities etc. ?
Well, look no further. Progressive Web App is here to solve all these problems. Let's take a look at that.
- Create a new Application
- Navigate to Shared Components
- Installable
Display: We can decide if the App should be displayed in a Standalone or Fullscreen mode etc.
We can even decide what should be the Orientation of the App on the mobile device. For example, if the App should operate in Landscape orientation or Portrait. 'Any' option will let you use the App baed on Device's orientation.
We also have iOS specific setting to set the Status Bar Style on iOS Device -
Let's see how we can create a subtemplate in a BI Publisher report in Oracle Fusion Cloud.
The Custom Report and Layout:
Before delving into the world of subtemplates, let’s take a moment to understand the foundation of a simple BI Publisher report. Let's assume we're working on a custom report, which includes a few key columns from the AP invoices and has some standard conditions.
When running this query, we can see an output, typically, a few invoices displaying their numbers, dates, and amounts.
Creating the Sub Template:
Step 1: Create Your RTF File
Begin with a plain Word document. You will need to save it as an RTF file, 'subtemplate.RTF', for example.
Step 2: Define the Template Tag
Within the Word document, define your template tag. Here’s how you do it:
<?template:cust_template?>... Your content here ...<?end template?>
We just named our template 'cust_template'. For illustrative purposes, let's say we add an image representing a logo within this tag.
Step 3: Uploading to BI Publisher
In BI Publisher:
Navigate to the 'New' menu.
Select 'Sub Template'
Upload your RTF file
Save it.
Now, the Subtemplate resides in the catalog and it's ready for use.
Embedding the Subtemplate into our mail RTF:
To incorporate the Subtemplate into the main RTF file, we first need to locate the Subtemplate's path in the catalog. It usually ends with an XSB extension.
Navigate to More -> Properties on the Subtemplate
Now, we need to add the import tag within our main RTF template like so:
<?import:xdoxsl:///Custom/Financials/Payables/SubTemplate.xsb?>
<?call-template:cust_template?>
Important:
- Do not include 'shared' in the path.
- Use double slashes after 'xdoxsl:' to denote the root of the path.
- Import as well Call to the SubTemplate is a must to make it work correctly.
- Remember, 'cust_template' corresponds to the template name we defined earlier.
Note: If you have multiple Subtemplates in a single XSB file, they can be included and called upon selectively, based on varying conditions.
Extending the Data Model and Subtemplate Usage:
What happens if we decide to extend the data model?
Let's say we add a 'GL_DATE' column to the model and we want to show this column in the SubTemplate ?
Could we reference this new column in our Subtemplate? Absolutely! Simply add a placeholder for 'GL_DATE' in the Subtemplate, just like any other field. Since the Subtemplate is part of the main RTF template, it automatically has access to the entire data model.
Now, let's update our SubTemplate with the modified RTF file.
Re-upload the updated 'subtemplate.RTF'.
Overwrite the existing one if prompted.
To ensure your changes are reflected, clear the BI Publisher cache.
Navigate to 'Manage BI Publisher' section under 'Administration'.
Now, you're all set to run your reports with the new changes effectively displayed!
The Final Output:
As a result of these steps, the final report would showcase the company logo and any other elements defined in the Subtemplate. For instance, the 'GL_DATE' will appear alongside other invoice details, as demonstrated:
Conclusion:
Subtemplates in Oracle Fusion Cloud's BI Publisher are incredibly versatile. They allow us to incorporate reusable elements, such as logos or standard headers, fostering consistency and saving time when running multiple reports.
In the last post, we saw how to create custom pages in Fusion Cloud.
Now, lets see how to locate the base tables related to the custom pages/objects created using Application Composer.
Option 1:
-> Navigate to Application Composer
-> Navigate to Metadata Manager
-> Click Generate under Configuration Report section
You will see a pop-up asking for selecting objects and metadata types
Select all default values and click Generate
You will see this message
Once completed, Navigate to Export option and select Excel
Open the excel file, Filter the data and look for your custom object e.g. Customer Details
Now let's click on the Object Name
This will take us to the tab associated with our custom object.
Here we will be able to see the base table and column details
Option 2: