Creating a New Base Theme Template
You must create a new Web template to customize the display name of the customizable product. You do this by copying an existing base theme template. Then you insert a UI property variable into the copy. Finally, you assign the new Web template as the base theme for the customizable product.
To insert a UI property variable into a base theme Web template, you must locate the od-type=”element” that governs the display of the customizable product name. The base themes have the same basic layout:
The first <Table> tag creates the page container. Additional <Table> tags partition the page vertically.
There are no od-iterator loops in the template.
Near the start of the file, refer to the first <table> tag. Within the table definition, locate the "Product Title" comment. After the comment locate the first od-type="control" element.
One of the attributes of this element is CfgFieldName = "CxObjName".
Replace CxObjName with the name of the UI Property variable. The name must be preceded with a period (.). For example: ".NewProductName".
To create a new base theme template
Navigate to the Administration - Product screen, then the Product Definitions view.
In the Products list, select and lock the desired product.
In the Structure menu, select User Interface.
Click the magnifying icon.
The Pick User Interface Style dialog opens.
In the Pick User Interface Style dialog, locate the required base theme template.
Make a note of this template name, it is required in Step 7.
In Oracle Web Tools, create a new workspace.
Open the Web Templates view, and query for the base theme template name from Step 5.
Copy this template, and rename it.
From the Type menu, select Base Theme template.
- Click the new Web template name, and make the following modifications:
Locate the od-type="control" element containing the CfgFieldName= "CxObjName" attribute.
Replace "CxObjName" with a UI property variable name and save the file.
The variable name must begin with a period (.). For example: ".NewProductName". Verify that the variable name is enclosed in quotes.
Deliver the workspace.