For custom links, you can specify various attributes, including the following
- The text for the link (either a static string or a message name to use for localization).
- A URL to access.
- Whether the page from the URL replaces the current page or opens in a new tab or window that you can name.
- The relative ordering of links in the header.
- An optional icon to use with the link.
To set the custom link in the Global header the following steps needs to be done
- Update the customlinks.xml File"
- Add the CustomLinks Element"
- Setting the Custom Links Privilege"
Step 1 - Open the customlinks.xml file from the following location
ORACLE_INSTANCE\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips
And change the file as shown below
<?xml version="1.0" encoding="ASCII"?>
<customLinks xmlns="com.siebel.analytics.web/customlinks/v1">
<link id="l1" name="OTN" description="OTN open in new window" src="http://www.oracle.com" target="blank" >
<locations>
<location name="header"/>
</locations>
</link>
<link id="l2" name="Google Search" description="Google open in named window" src="http://www.google.com/" target="google" iconSmall="common/info_ena.png" >
<locations>
<location name="header" insertBefore="advanced"/>
</locations>
</link>
<link id="l3" name="Yahoo" description="Yahoo" src="http://www.yahoo.com" target="yahoo" iconLarge="common/helptopics_lg_qualifier.png">
<locations>
<location name="getstarted"/>
</locations>
</link>
<link id="l5" name="Gmail" description="gmail" src="http://www.gmail.com" target="blank" iconLarge="common/gmail.png" >
<locations>
<location name="getstarted"/>
<location name="header" insertBefore="catalog"/>
</locations>
</link>
</customLinks>
Step 2 To add the CustomLinks element in instance config file
Open the instanceconfig.xml file and add the following tag anywhere inside the </ServerInstance> tag
<CustomLinks>
<Enabled>false</Enabled> <filePath>ORACLE_INSTANCE\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips\customlinks.xml</filePath>
</CustomLinks>
Step 3 Privileges
If you want users to see the customizations that you have made, then you must ensure that the Custom Links privilege is assigned to the BI Consumer role, which occurs by default. You cannot assign this privilege to individual users, groups, or roles other than BI Consumer
Thanks,
Sandeep
0 comments:
Post a Comment