Scenario:
We all know that the default views in the Compound Layout of OBIEE (10g & 11g) are Title and Table. But i would like to have Title and Chart as default views in the compound layout. The following can explain how to get this requirement.
Step 1:
Create a custom xml message file called compoundlayout.xml and save it under the custom messages folder.
Note: If you don’t find the CustomMessages folder in {MW_Home}
\Oracle_BI1\bifoundation\web\msgdb path then create a folder with name “CustomMessages”.
Step2:
Then create one xml file with the below code and save it in the same path.
Folder location-
{MW_Home}\Oracle_BI1\bifoundation\web\msgdb\customMessages
If you have not done any customization you have to create this folder under msgdb.
<?xml version="1.0" encoding="utf-8"?>
<WebMessageTables xmlns:sawm="com.siebel.analytics.web.messageSystem">
<WebMessageTable system="Answers" table="ViewDefaults">
<WebMessage name="kuiCriteriaDefaultViewElements" translate="no"><HTML>
<view signature="compoundView" ><cv signature="titleView" />
<cv signature="dvtchart" />
</view>
</HTML>
</WebMessage>
</WebMessageTable>
</WebMessageTables>
Note that the views will be created in the same order as you define in your xml file.
As per our XML file first Title View will be created and then Chart view.
In the same way you can add multiple views like Narrative,View Selector,Table etc...
You can use the following html tags for those views
<cv signature="narrativeView" />
<cv signature="viewSelector" />
<cv signature="tableView" />
Step3:
Restart BI Services and start building reports with new default layout.
We all know that the default views in the Compound Layout of OBIEE (10g & 11g) are Title and Table. But i would like to have Title and Chart as default views in the compound layout. The following can explain how to get this requirement.
Step 1:
Create a custom xml message file called compoundlayout.xml and save it under the custom messages folder.
Note: If you don’t find the CustomMessages folder in {MW_Home}
\Oracle_BI1\bifoundation\web\msgdb path then create a folder with name “CustomMessages”.
Step2:
Then create one xml file with the below code and save it in the same path.
Folder location-
{MW_Home}\Oracle_BI1\bifoundation\web\msgdb\customMessages
If you have not done any customization you have to create this folder under msgdb.
<?xml version="1.0" encoding="utf-8"?>
<WebMessageTables xmlns:sawm="com.siebel.analytics.web.messageSystem">
<WebMessageTable system="Answers" table="ViewDefaults">
<WebMessage name="kuiCriteriaDefaultViewElements" translate="no"><HTML>
<view signature="compoundView" ><cv signature="titleView" />
<cv signature="dvtchart" />
</view>
</HTML>
</WebMessage>
</WebMessageTable>
</WebMessageTables>
Note that the views will be created in the same order as you define in your xml file.
As per our XML file first Title View will be created and then Chart view.
In the same way you can add multiple views like Narrative,View Selector,Table etc...
You can use the following html tags for those views
<cv signature="narrativeView" />
<cv signature="viewSelector" />
<cv signature="tableView" />
Step3:
Restart BI Services and start building reports with new default layout.
Nice Article.. Thanks for posting..
ReplyDelete